CMS 3D CMS Logo

DQMSourceEleCalib.h
Go to the documentation of this file.
1 #ifndef DQMSourceEleCalib_H
2 #define DQMSourceEleCalib_H
3 
17 
23 
24 class DQMStore;
25 class MonitorElement;
26 
28 public:
30  ~DQMSourceEleCalib() override;
31 
32 protected:
33  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
34 
35  void analyze(const edm::Event &e, const edm::EventSetup &c) override;
36 
37 private:
39  DetId findMaxHit(const std::vector<std::pair<DetId, float>> &,
40  const EcalRecHitCollection *,
41  const EcalRecHitCollection *);
43  void fillAroundBarrel(const EcalRecHitCollection *, int, int);
44  void fillAroundEndcap(const EcalRecHitCollection *, int, int);
45 
47 
60 
63 
66 
71 
73  unsigned int prescaleFactor_;
74 
77 
80 
83 };
84 
85 #endif
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_
DetId findMaxHit(const std::vector< std::pair< DetId, float >> &, const EcalRecHitCollection *, const EcalRecHitCollection *)
find the MOX
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.
MonitorElement * ElectronsNumber_
Number of electrons.
Definition: Run.h:45
MonitorElement * LocalOccupancyEB_
edm::EDGetTokenT< reco::GsfElectronCollection > productMonitoredElectrons_
electrons to monitor