15 theNDigisPerLayerPlots()
27 for(
int i = 0;
i < 10; ++
i)
29 char title1[200], title2[200], title3[200];
30 sprintf(title1,
"CSCWireDigiTimeType%d",
i+1);
31 sprintf(title2,
"CSCWireDigisPerLayerType%d",
i+1);
32 sprintf(title3,
"CSCWireDigiResolution%d",
i+1);
49 unsigned nDigisPerEvent = 0;
52 std::vector<CSCWireDigi>::const_iterator beginDigi = (*j).second.first;
53 std::vector<CSCWireDigi>::const_iterator endDigi = (*j).second.second;
54 int detId = (*j).first.rawId();
58 int nDigis = endDigi-beginDigi;
59 nDigisPerEvent += nDigis;
62 for( std::vector<CSCWireDigi>::const_iterator digiItr = beginDigi;
63 digiItr != endDigi; ++digiItr)
71 if(nDigis == 1 && simHits.size() == 1)
edm::InputTag theInputTag
MonitorElement * theNDigisPerEventPlot
MonitorElement * theResolutionPlots[10]
bool getByToken(EDGetToken token, Handle< PROD > &result) const
float yOfWireGroup(int wireGroup, float x=0.) const
const CSCChamberSpecs * specs() const
Local3DPoint localPosition() const
const PSimHitMap * theSimHitMap
edm::EDGetTokenT< CSCWireDigiCollection > wires_Token_
MonitorElement * book1D(Args &&...args)
const edm::PSimHitContainer & hits(int detId) const
MonitorElement * theNDigisPerLayerPlots[10]
CSCWireDigiValidation(const edm::InputTag &inputTag, edm::ConsumesCollector &&iC, bool doSim)
void plotResolution(const PSimHit &hit, const CSCWireDigi &digi, const CSCLayer *layer, int chamberType)
MonitorElement * theTimeBinPlots[10]
int getWireGroup() const
default
void bookHistograms(DQMStore::IBooker &)
std::vector< PSimHit > PSimHitContainer
void analyze(const edm::Event &, const edm::EventSetup &)
const CSCChamber * chamber() const
const CSCLayerGeometry * geometry() const
const CSCLayer * findLayer(int detId) const