16 theNDigisPerLayerPlots(),
17 theNDigisPerEventPlot(
dbe_->book1D(
"CSCCLCTDigisPerEvent",
"CSC CLCT Digis per event", 100, 0, 100) )
21 for(
int i = 0;
i < 10; ++
i)
23 char title1[200], title2[200];
24 sprintf(title1,
"CSCCLCTDigiTimeType%d",
i+1);
25 sprintf(title2,
"CSCCLCTDigisPerLayerType%d",
i+1);
55 unsigned nDigisPerEvent = 0;
58 std::vector<CSCCLCTDigi>::const_iterator beginDigi = (*j).second.first;
59 std::vector<CSCCLCTDigi>::const_iterator endDigi = (*j).second.second;
63 int nDigis = endDigi-beginDigi;
64 nDigisPerEvent += nDigis;
67 for( std::vector<CSCCLCTDigi>::const_iterator digiItr = beginDigi;
68 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.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * theTimeBinPlots[10]
CSCCLCTDigiValidation(DQMStore *dbe, const edm::InputTag &inputTag, edm::ConsumesCollector &&iC)
unsigned short iChamberType()
edm::EDGetTokenT< CSCCLCTDigiCollection > clcts_Token_