1#include "DQM/EcalRecHitDQM.h"
4#include "Ecal/Event/EcalHit.h"
27 for (
const auto& hit : hits) {
Class that defines an ECal detector ID with a cell number.
#define DECLARE_ANALYZER(CLASS)
Macro which allows the framework to construct an analyzer given its name during configuration.
Histograms of ECal rec hits that need no simulation truth, e.g.
void configure(framework::config::Parameters ¶meters) override
configure the input names
double mip_si_energy_
Si energy of one MIP [MeV], converts the hit amplitude to MIPs.
std::string rec_hit_coll_
name of the rec hit collection
void analyze(const framework::Event &event) override
fill the histograms
std::string rec_hit_pass_
pass of the rec hits
void onProcessStart() override
create the histograms
HistogramPool histograms_
helper object for making and filling histograms
TDirectory * getHistoDirectory()
Access/create a directory in the histogram file for this event processor to create histograms and ana...
Implements an event buffer system for storing event data.
void create(const config::Parameters &p)
Create a histogram from the input configuration parameters.
void fill(const std::string &name, const T &val)
Fill a 1D histogram.
Class encapsulating parameters for configuring a processor.
const T & get(const std::string &name) const
Retrieve the parameter of the given name.
Stores reconstructed hit information from the ECAL.
Extension of DetectorID providing access to ECal layers and cell numbers in a hex grid.