91 cout <<
"[DTOccupancyEfficiency] Analyze #Run: " <<
event.id().run() <<
" #Event: " <<
event.id().event() << endl;
97 int numberOfDigis = 0;
98 std::map<int, std::map<int, int>> numberOfDigisPerRing;
101 for (dtLayerId_It = dtdigis->begin(); dtLayerId_It != dtdigis->end(); ++dtLayerId_It) {
103 digiIt != ((*dtLayerId_It).second).
second;
106 int wheelId = ((*dtLayerId_It).first).
wheel();
107 int stationId = ((*dtLayerId_It).first).
station();
108 (numberOfDigisPerRing[stationId])[wheelId] += 1;
139 unsigned int nHits = (segment->hasPhi() ? (segment->phiSegment())->
recHits().size() : 0);
140 nHits += (segment->hasZed() ? (segment->zSegment())->
recHits().size() : 0);
143 if (segment->hasPhi()) {
144 double segmentPhiT0 = segment->phiSegment()->t0();
145 if (segment->phiSegment()->ist0Valid())
148 if (segment->hasZed()) {
149 double segmentZT0 = segment->zSegment()->t0();
150 if (segment->zSegment()->ist0Valid())
MonitorElement * timeBoxesPerEvent
std::map< int, std::map< int, MonitorElement * > > digisPerRing
MonitorElement * recHitsPer4DSegment
std::map< int, std::map< int, MonitorElement * > > timeBoxesPerRing
MonitorElement * t0From4DPhiSegment
U second(std::pair< T, U > const &p)
C::const_iterator const_iterator
constant access iterator type
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
edm::EDGetTokenT< DTRecHitCollection > recHitToken_
edm::EDGetTokenT< DTDigiCollection > dtDigiToken_
MonitorElement * digisPerEvent
MonitorElement * recHitsPerEvent
std::vector< DigiType >::const_iterator const_iterator
MonitorElement * segments4DPerEvent
edm::EDGetTokenT< DTRecSegment4DCollection > recHits4DToken_
TupleMultiplicity< TrackerTraits > const *__restrict__ uint32_t nHits
MonitorElement * t0From4DZSegment