18 for (
int i = 0;
i < 10; ++
i) {
19 char title1[200], title2[200];
20 sprintf(title1,
"CSCALCTDigiTimeType%d",
i + 1);
21 sprintf(title2,
"CSCALCTDigisPerLayerType%d",
i + 1);
34 unsigned nDigisPerEvent = 0;
37 std::vector<CSCALCTDigi>::const_iterator beginDigi = (*j).second.first;
38 std::vector<CSCALCTDigi>::const_iterator endDigi = (*j).second.second;
41 int nDigis = endDigi - beginDigi;
42 nDigisPerEvent += nDigis;
45 for (std::vector<CSCALCTDigi>::const_iterator digiItr = beginDigi; digiItr != endDigi; ++digiItr) {
edm::InputTag theInputTag
MonitorElement * theTimeBinPlots[10]
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void bookHistograms(DQMStore::IBooker &)
CSCALCTDigiValidation(const edm::InputTag &inputTag, edm::ConsumesCollector &&iC)
edm::EDGetTokenT< CSCALCTDigiCollection > alcts_Token_
MonitorElement * book1D(Args &&...args)
unsigned short iChamberType() const
void analyze(const edm::Event &, const edm::EventSetup &) override
~CSCALCTDigiValidation() override
MonitorElement * theNDigisPerLayerPlots[10]
MonitorElement * theNDigisPerEventPlot