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 
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  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
44  const edm::EventSetup& context) override;
45 
46  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
47  const edm::EventSetup& c) override;
48 
49 
50 private:
51 
53  DetId findMaxHit (const std::vector<std::pair<DetId, float> >&,
54  const EcalRecHitCollection*,
55  const EcalRecHitCollection*
56  );
58  void fillAroundBarrel (const EcalRecHitCollection *, int, int);
59  void fillAroundEndcap (const EcalRecHitCollection *, int, int);
60 
62 
75 
78 
81 
86 
88  unsigned int prescaleFactor_;
89 
92 
95 
98 
99 };
100 
101 #endif
102 
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.
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
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
MonitorElement * ElectronsNumber_
Number of electrons.
Definition: Run.h:42
MonitorElement * LocalOccupancyEB_
edm::EDGetTokenT< reco::GsfElectronCollection > productMonitoredElectrons_
electrons to monitor
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override