15 theNDigisPerLayerPlots(),
16 theNDigisPerEventPlot(
dbe_->book1D(
"CSCCLCTDigisPerEvent",
"CSC CLCT Digis per event", 100, 0, 100) )
18 for(
int i = 0;
i < 10; ++
i)
20 char title1[200], title2[200];
21 sprintf(title1,
"CSCCLCTDigiTimeType%d",
i+1);
22 sprintf(title2,
"CSCCLCTDigisPerLayerType%d",
i+1);
52 unsigned nDigisPerEvent = 0;
55 std::vector<CSCCLCTDigi>::const_iterator beginDigi = (*j).second.first;
56 std::vector<CSCCLCTDigi>::const_iterator endDigi = (*j).second.second;
60 int nDigis = endDigi-beginDigi;
61 nDigisPerEvent += nDigis;
64 for( std::vector<CSCCLCTDigi>::const_iterator digiItr = beginDigi;
65 digiItr != endDigi; ++digiItr)
edm::InputTag theInputTag
MonitorElement * theNDigisPerLayerPlots[10]
void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * theTimeBinPlots[10]
CSCCLCTDigiValidation(DQMStore *dbe, const edm::InputTag &inputTag)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
unsigned short iChamberType()