16 theNDigisPerLayerPlots(),
17 theNDigisPerEventPlot(
dbe_->book1D(
"CSCALCTDigisPerEvent",
"CSC ALCT Digis per event", 100, 0, 100) )
21 for(
int i = 0;
i < 10; ++
i)
23 char title1[200], title2[200];
24 sprintf(title1,
"CSCALCTDigiTimeType%d",
i+1);
25 sprintf(title2,
"CSCALCTDigisPerLayerType%d",
i+1);
52 unsigned nDigisPerEvent = 0;
55 std::vector<CSCALCTDigi>::const_iterator beginDigi = (*j).second.first;
56 std::vector<CSCALCTDigi>::const_iterator endDigi = (*j).second.second;
59 int nDigis = endDigi-beginDigi;
60 nDigisPerEvent += nDigis;
63 for( std::vector<CSCALCTDigi>::const_iterator digiItr = beginDigi;
64 digiItr != endDigi; ++digiItr)
edm::InputTag theInputTag
MonitorElement * theTimeBinPlots[10]
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< CSCALCTDigiCollection > alcts_Token_
unsigned short iChamberType()
MonitorElement * theNDigisPerLayerPlots[10]
CSCALCTDigiValidation(DQMStore *dbe, const edm::InputTag &inputTag, edm::ConsumesCollector &&iC)
void analyze(const edm::Event &, const edm::EventSetup &)