2#include "DQM/HCalRawDigi.h"
4#include "DetDescr/HcalDigiID.h"
10 input_name_ = ps.
get<std::string>(
"input_name");
11 input_pass_ = ps.
get<std::string>(
"input_pass");
16 for (
unsigned int i_sample{0}; i_sample < 4; i_sample++) {
18 "Arbitrary Channel Index", 250, 0, 250,
19 "ADC Counts in Sample " + std::to_string(i_sample), 200,
33 unsigned int i_digi{1};
34 for (
auto const& digi : digis) {
35 for (
unsigned int i_sample{0}; i_sample < digis.getNumSamplesPerDigi();
38 i_digi, digi.at(i_sample).adcT());
#define DECLARE_ANALYZER(CLASS)
Macro which allows the framework to construct an analyzer given its name during configuration.
Class that represents a digitized hit in a calorimeter cell readout by an HGCROC.
void analyze(const framework::Event &event) override
Process the event and make histograms ro summaries.
void configure(framework::config::Parameters ¶meters) override
Configure the processor using the given user specified parameters.
void onProcessStart() override
Callback for the EventProcessor to take any necessary action when the processing of events starts,...
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.
Represents a collection of the digi hits readout by an HGCROC.