90 cout <<
"[DTOccupancyEfficiency] Analyze #Run: " <<
event.id().run() <<
" #Event: " <<
event.id().event() << endl;
96 int numberOfDigis = 0;
97 std::map<int, std::map<int, int>> numberOfDigisPerRing;
100 for (dtLayerId_It = dtdigis->begin(); dtLayerId_It != dtdigis->end(); ++dtLayerId_It) {
102 digiIt != ((*dtLayerId_It).second).
second;
105 int wheelId = ((*dtLayerId_It).first).wheel();
106 int stationId = ((*dtLayerId_It).first).
station();
107 (numberOfDigisPerRing[stationId])[wheelId] += 1;
119 for (
int wheel = -2; wheel < 3; wheel++)
138 unsigned int nHits = (segment->hasPhi() ? (segment->phiSegment())->
recHits().size() : 0);
139 nHits += (segment->hasZed() ? (segment->zSegment())->
recHits().size() : 0);
142 if (segment->hasPhi()) {
143 double segmentPhiT0 = segment->phiSegment()->t0();
144 if (segment->phiSegment()->ist0Valid())
147 if (segment->hasZed()) {
148 double segmentZT0 = segment->zSegment()->t0();
149 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
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t nHits
MonitorElement * segments4DPerEvent
edm::EDGetTokenT< DTRecSegment4DCollection > recHits4DToken_
MonitorElement * t0From4DZSegment