CMS 3D CMS Logo

DTOccupancyEfficiency.h
Go to the documentation of this file.
1 #ifndef DTOccupancyEfficiency_H
2 #define DTOccupancyEfficiency_H
3 
16 
20 
21 #include <string>
22 #include <map>
23 #include <vector>
24 
26 public:
29 
31  ~DTOccupancyEfficiency() override;
32 
33  // Operations
34  void analyze(const edm::Event& event, const edm::EventSetup& setup) override;
35 
36 protected:
37  // Book the histograms
38  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
39 
40 private:
41  // Switch for verbosity
42  bool debug;
43 
44  // Label for Digis
46 
47  // Label of 4D segments in the event
49 
50  // Lable of 1D rechits in the event
52 
54 
62  // station, wheel for ints
63  std::map<int, std::map<int, MonitorElement*> > timeBoxesPerRing;
64  std::map<int, std::map<int, MonitorElement*> > digisPerRing;
65 };
66 #endif
67 
68 /* Local Variables: */
69 /* show-trailing-whitespace: t */
70 /* truncate-lines: t */
71 /* End: */
Handle.h
DTOccupancyEfficiency::recHitToken_
edm::EDGetTokenT< DTRecHitCollection > recHitToken_
Definition: DTOccupancyEfficiency.h:51
DTOccupancyEfficiency::DTOccupancyEfficiency
DTOccupancyEfficiency(const edm::ParameterSet &pset)
Constructor.
Definition: DTOccupancyEfficiency.cc:22
ESHandle.h
DTRecHitCollection.h
edm::Run
Definition: Run.h:45
DTOccupancyEfficiency::segments4DPerEvent
MonitorElement * segments4DPerEvent
Definition: DTOccupancyEfficiency.h:57
edm::EDGetTokenT< DTDigiCollection >
DTOccupancyEfficiency::recHits4DToken_
edm::EDGetTokenT< DTRecSegment4DCollection > recHits4DToken_
Definition: DTOccupancyEfficiency.h:48
DTOccupancyEfficiency::~DTOccupancyEfficiency
~DTOccupancyEfficiency() override
Destructor.
Definition: DTOccupancyEfficiency.cc:34
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
DTOccupancyEfficiency::t0From4DZSegment
MonitorElement * t0From4DZSegment
Definition: DTOccupancyEfficiency.h:61
DTOccupancyEfficiency::digisPerRing
std::map< int, std::map< int, MonitorElement * > > digisPerRing
Definition: DTOccupancyEfficiency.h:64
DTOccupancyEfficiency::dtDigiToken_
edm::EDGetTokenT< DTDigiCollection > dtDigiToken_
Definition: DTOccupancyEfficiency.h:45
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
DTOccupancyEfficiency
Definition: DTOccupancyEfficiency.h:25
DTOccupancyEfficiency::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DTOccupancyEfficiency.cc:36
Service.h
DTOccupancyEfficiency::t0From4DPhiSegment
MonitorElement * t0From4DPhiSegment
Definition: DTOccupancyEfficiency.h:60
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
edm::ParameterSet
Definition: ParameterSet.h:36
DTOccupancyEfficiency::parameters
edm::ParameterSet parameters
Definition: DTOccupancyEfficiency.h:53
DTOccupancyEfficiency::timeBoxesPerEvent
MonitorElement * timeBoxesPerEvent
Definition: DTOccupancyEfficiency.h:55
edm::EventSetup
Definition: EventSetup.h:57
DTOccupancyEfficiency::timeBoxesPerRing
std::map< int, std::map< int, MonitorElement * > > timeBoxesPerRing
Definition: DTOccupancyEfficiency.h:63
DTOccupancyEfficiency::recHitsPerEvent
MonitorElement * recHitsPerEvent
Definition: DTOccupancyEfficiency.h:58
DTOccupancyEfficiency::analyze
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
Definition: DTOccupancyEfficiency.cc:88
Frameworkfwd.h
DTOccupancyEfficiency::recHitsPer4DSegment
MonitorElement * recHitsPer4DSegment
Definition: DTOccupancyEfficiency.h:59
dqm::implementation::IBooker
Definition: DQMStore.h:43
DTDigiCollection.h
ParameterSet.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
DTOccupancyEfficiency::digisPerEvent
MonitorElement * digisPerEvent
Definition: DTOccupancyEfficiency.h:56
DTOccupancyEfficiency::debug
bool debug
Definition: DTOccupancyEfficiency.h:42
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
DTRecSegment4DCollection.h