CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQMSourceEleCalib.h
Go to the documentation of this file.
1 #ifndef DQMSourceEleCalib_H
2 #define DQMSourceEleCalib_H
3 
18 
21 
22 
23 class DQMStore;
24 class MonitorElement;
25 
27 
28 public:
29 
32 
33 protected:
34 
35  void beginJob();
36 
37  void beginRun(const edm::Run& r, const edm::EventSetup& c);
38 
39  void analyze(const edm::Event& e, const edm::EventSetup& c) ;
40 
41  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
42  const edm::EventSetup& context) ;
43 
44  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
45  const edm::EventSetup& c);
46 
47  void endRun(const edm::Run& r, const edm::EventSetup& c);
48 
49  void endJob();
50 
51 private:
52 
54  DetId findMaxHit (const std::vector<std::pair<DetId, float> >&,
55  const EcalRecHitCollection*,
56  const EcalRecHitCollection*
57  );
59  void fillAroundBarrel (const EcalRecHitCollection *, int, int);
60  void fillAroundEndcap (const EcalRecHitCollection *, int, int);
61 
64 
77 
80 
83 
88 
90  unsigned int prescaleFactor_;
91 
94 
97 
100 
101 };
102 
103 #endif
104 
MonitorElement * ESCoP_
ESCoP.
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
MonitorElement * LocalOccupancyEE_
std::string fileName_
Output file name if required.
void beginRun(const edm::Run &r, const edm::EventSetup &c)
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.
void endRun(const edm::Run &r, const edm::EventSetup &c)
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 analyze(const edm::Event &e, const edm::EventSetup &c)
void fillAroundBarrel(const EcalRecHitCollection *, int, int)
fills local occupancy graphs
Definition: DetId.h:18
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
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:41
MonitorElement * LocalOccupancyEB_
edm::EDGetTokenT< reco::GsfElectronCollection > productMonitoredElectrons_
electrons to monitor