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 
20 
21 class DQMStore;
22 class MonitorElement;
23 
25 
26 public:
27 
30 
31 protected:
32 
33  void beginJob();
34 
35  void beginRun(const edm::Run& r, const edm::EventSetup& c);
36 
37  void analyze(const edm::Event& e, const edm::EventSetup& c) ;
38 
39  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
40  const edm::EventSetup& context) ;
41 
42  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
43  const edm::EventSetup& c);
44 
45  void endRun(const edm::Run& r, const edm::EventSetup& c);
46 
47  void endJob();
48 
49 private:
50 
52  DetId findMaxHit (const std::vector<std::pair<DetId, float> >&,
53  const EcalRecHitCollection*,
54  const EcalRecHitCollection*
55  );
57  void fillAroundBarrel (const EcalRecHitCollection *, int, int);
58  void fillAroundEndcap (const EcalRecHitCollection *, int, int);
59 
62 
75 
78 
81 
86 
88  unsigned int prescaleFactor_;
89 
91  std::string folderName_;
92 
95 
97  std::string fileName_;
98 
99 };
100 
101 #endif
102 
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::InputTag productMonitoredElectrons_
electrons to monitor
edm::InputTag productMonitoredEE_
object to monitor
MonitorElement * OccupancyEEM_
bool saveToFile_
Write to file.
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.
edm::InputTag productMonitoredEB_
object to monitor
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:20
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:33
MonitorElement * LocalOccupancyEB_