20 for (
int channel = 1; channel < 6; channel++ ) {
23 histoname =
"EM_P_" + std::to_string(channel) +
"_1";
35 histoname =
"EM_M_" + std::to_string(channel) +
"_1";
46 for (
int channel = 1; channel < 5; channel++ ) {
49 histoname =
"HAD_P_" + std::to_string(channel) +
"_" + std::to_string(channel+2);
61 histoname =
"HAD_M_" + std::to_string(channel) +
"_" + std::to_string(channel+2);
72 for (
int channel = 1; channel < 17; channel++ ) {
75 histoname =
"RPD_P_" + std::to_string(channel) +
"_2";
87 histoname =
"RPD_M_" + std::to_string(channel) +
"_2";
105 edm::LogError(
"Collection QIE10DigiCollection for ZDC isn't available" 108 for (
auto it = digis->
begin(); it != digis->
end(); it++ ) {
int adc(sample_type sample)
get the ADC sample (12 bits)
int samples() const
total number of samples in the digi
T getUntrackedParameter(std::string const &, T const &) const
std::map< uint32_t, MonitorElement * > _cADC_vs_TS_EChannel
bool getByToken(EDGetToken token, Handle< PROD > &result) const
ZDCQIE10Task(edm::ParameterSet const &)
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
const_iterator begin() const
std::map< uint32_t, MonitorElement * > _cADC_EChannel
void setCurrentFolder(std::string const &fullpath)
MonitorElement * book1D(Args &&...args)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
DetId detid() const
Get the detector id.
const_iterator end() const
void analyze(edm::Event const &, edm::EventSetup const &) override