CMS 3D CMS Logo

DQMSourceEleCalib.h
Go to the documentation of this file.
1 #ifndef DQMSourceEleCalib_H
2 #define DQMSourceEleCalib_H
3 
18 
24 
25 
26 
27 class DQMStore;
28 class MonitorElement;
29 
31 
32 public:
33 
35  ~DQMSourceEleCalib() override;
36 
37 protected:
38 
39  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
40 
41  void analyze(const edm::Event& e, const edm::EventSetup& c) override ;
42 
43 
44 
45 
46 private:
47 
49  DetId findMaxHit (const std::vector<std::pair<DetId, float> >&,
50  const EcalRecHitCollection*,
51  const EcalRecHitCollection*
52  );
54  void fillAroundBarrel (const EcalRecHitCollection *, int, int);
55  void fillAroundEndcap (const EcalRecHitCollection *, int, int);
56 
58 
71 
74 
77 
82 
84  unsigned int prescaleFactor_;
85 
88 
91 
94 
95 };
96 
97 #endif
98 
MonitorElement * ESCoP_
ESCoP.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void analyze(const edm::Event &e, const edm::EventSetup &c) override
MonitorElement * LocalOccupancyEE_
std::string fileName_
Output file name if required.
~DQMSourceEleCalib() override
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEE_
object to monitor
MonitorElement * OccupancyEEM_
bool saveToFile_
Write to file.
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEB_
object to monitor
MonitorElement * HitsVsAssociatedHits_
recHits over associated recHits
std::string folderName_
DQM folder name.
MonitorElement * OccupancyEEP_
DQMSourceEleCalib(const edm::ParameterSet &)
void fillAroundEndcap(const EcalRecHitCollection *, int, int)
MonitorElement * recHitsPerElectron_
Number of recHits per electron.
unsigned int prescaleFactor_
Monitor every prescaleFactor_ events.
void fillAroundBarrel(const EcalRecHitCollection *, int, int)
fills local occupancy graphs
Definition: DetId.h:18
MonitorElement * OccupancyEB_
Occupancy.
DetId findMaxHit(const std::vector< std::pair< DetId, float > > &, const EcalRecHitCollection *, const EcalRecHitCollection *)
find the MOX
MonitorElement * ElectronsNumber_
Number of electrons.
Definition: Run.h:44
MonitorElement * LocalOccupancyEB_
edm::EDGetTokenT< reco::GsfElectronCollection > productMonitoredElectrons_
electrons to monitor