15 theNDigisPerLayerPlots(),
16 theNDigisPerEventPlot(
dbe_->book1D(
"CSCALCTDigisPerEvent",
"CSC ALCT Digis per event", 100, 0, 100) )
18 for(
int i = 0;
i < 10; ++
i)
20 char title1[200], title2[200];
21 sprintf(title1,
"CSCALCTDigiTimeType%d",
i+1);
22 sprintf(title2,
"CSCALCTDigisPerLayerType%d",
i+1);
49 unsigned nDigisPerEvent = 0;
52 std::vector<CSCALCTDigi>::const_iterator beginDigi = (*j).second.first;
53 std::vector<CSCALCTDigi>::const_iterator endDigi = (*j).second.second;
56 int nDigis = endDigi-beginDigi;
57 nDigisPerEvent += nDigis;
60 for( std::vector<CSCALCTDigi>::const_iterator digiItr = beginDigi;
61 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.
CSCALCTDigiValidation(DQMStore *dbe, const edm::InputTag &inputTag)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
unsigned short iChamberType()
MonitorElement * theNDigisPerLayerPlots[10]
void analyze(const edm::Event &, const edm::EventSetup &)