CMS 3D CMS Logo

DQMSourceEleCalib.h
Go to the documentation of this file.
1 #ifndef DQMSourceEleCalib_H
2 #define DQMSourceEleCalib_H
3 
17 
22 
24 public:
26  ~DQMSourceEleCalib() override;
27 
28 protected:
29  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
30 
31  void analyze(const edm::Event &e, const edm::EventSetup &c) override;
32 
33 private:
35  DetId findMaxHit(const std::vector<std::pair<DetId, float>> &,
36  const EcalRecHitCollection *,
37  const EcalRecHitCollection *);
39  void fillAroundBarrel(const EcalRecHitCollection *, int, int);
40  void fillAroundEndcap(const EcalRecHitCollection *, int, int);
41 
43 
56 
59 
62 
67 
69  unsigned int prescaleFactor_;
70 
73 
76 
79 };
80 
81 #endif
DQMSourceEleCalib::fileName_
std::string fileName_
Output file name if required.
Definition: DQMSourceEleCalib.h:78
DQMSourceEleCalib::findMaxHit
DetId findMaxHit(const std::vector< std::pair< DetId, float >> &, const EcalRecHitCollection *, const EcalRecHitCollection *)
find the MOX
Definition: DQMSourceEleCalib.cc:142
DQMSourceEleCalib::LocalOccupancyEE_
MonitorElement * LocalOccupancyEE_
Definition: DQMSourceEleCalib.h:55
DQMSourceEleCalib::ElectronsNumber_
MonitorElement * ElectronsNumber_
Number of electrons.
Definition: DQMSourceEleCalib.h:47
DQMSourceEleCalib::~DQMSourceEleCalib
~DQMSourceEleCalib() override
Definition: DQMSourceEleCalib.cc:47
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
DQMSourceEleCalib::LocalOccupancyEB_
MonitorElement * LocalOccupancyEB_
Definition: DQMSourceEleCalib.h:54
DQMSourceEleCalib::productMonitoredEE_
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEE_
object to monitor
Definition: DQMSourceEleCalib.h:64
DQMSourceEleCalib::OccupancyEEM_
MonitorElement * OccupancyEEM_
Definition: DQMSourceEleCalib.h:53
DQMSourceEleCalib::saveToFile_
bool saveToFile_
Write to file.
Definition: DQMSourceEleCalib.h:75
edm::SortedCollection
Definition: SortedCollection.h:49
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
DQMSourceEleCalib::productMonitoredEB_
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEB_
object to monitor
Definition: DQMSourceEleCalib.h:61
EDAnalyzer.h
DQMSourceEleCalib::HitsVsAssociatedHits_
MonitorElement * HitsVsAssociatedHits_
recHits over associated recHits
Definition: DQMSourceEleCalib.h:58
DQMSourceEleCalib::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DQMSourceEleCalib.cc:50
EcalRecHitCollections.h
DQMSourceEleCalib::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: DQMSourceEleCalib.cc:72
DetId
Definition: DetId.h:17
DQMSourceEleCalib::eventCounter_
int eventCounter_
Definition: DQMSourceEleCalib.h:42
DQMSourceEleCalib::recHitsPerElectron_
MonitorElement * recHitsPerElectron_
Number of recHits per electron.
Definition: DQMSourceEleCalib.h:45
DQMSourceEleCalib::OccupancyEB_
MonitorElement * OccupancyEB_
Occupancy.
Definition: DQMSourceEleCalib.h:51
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
GsfElectronFwd.h
edm::ParameterSet
Definition: ParameterSet.h:47
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
DQMSourceEleCalib
Definition: DQMSourceEleCalib.h:23
DQMSourceEleCalib::productMonitoredElectrons_
edm::EDGetTokenT< reco::GsfElectronCollection > productMonitoredElectrons_
electrons to monitor
Definition: DQMSourceEleCalib.h:66
DQMSourceEleCalib::folderName_
std::string folderName_
DQM folder name.
Definition: DQMSourceEleCalib.h:72
DQMSourceEleCalib::DQMSourceEleCalib
DQMSourceEleCalib(const edm::ParameterSet &)
Definition: DQMSourceEleCalib.cc:36
DetId.h
Frameworkfwd.h
DQMSourceEleCalib::fillAroundEndcap
void fillAroundEndcap(const EcalRecHitCollection *, int, int)
Definition: DQMSourceEleCalib.cc:188
DQMSourceEleCalib::prescaleFactor_
unsigned int prescaleFactor_
Monitor every prescaleFactor_ events.
Definition: DQMSourceEleCalib.h:69
DQMSourceEleCalib::OccupancyEEP_
MonitorElement * OccupancyEEP_
Definition: DQMSourceEleCalib.h:52
DQMSourceEleCalib::ESCoP_
MonitorElement * ESCoP_
ESCoP.
Definition: DQMSourceEleCalib.h:49
dqm::implementation::IBooker
Definition: DQMStore.h:43
DQMSourceEleCalib::fillAroundBarrel
void fillAroundBarrel(const EcalRecHitCollection *, int, int)
fills local occupancy graphs
Definition: DQMSourceEleCalib.cc:178
edm::Event
Definition: Event.h:73
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37