Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
Private Member Functions | |
void | fillAroundBarrel (const EcalRecHitCollection *, int, int) |
fills local occupancy graphs More... | |
void | fillAroundEndcap (const EcalRecHitCollection *, int, int) |
DetId | findMaxHit (const std::vector< std::pair< DetId, float >> &, const EcalRecHitCollection *, const EcalRecHitCollection *) |
find the MOX More... | |
Private Attributes | |
MonitorElement * | ElectronsNumber_ |
Number of electrons. More... | |
MonitorElement * | ESCoP_ |
ESCoP. More... | |
int | eventCounter_ |
std::string | fileName_ |
Output file name if required. More... | |
std::string | folderName_ |
DQM folder name. More... | |
MonitorElement * | HitsVsAssociatedHits_ |
recHits over associated recHits More... | |
MonitorElement * | LocalOccupancyEB_ |
MonitorElement * | LocalOccupancyEE_ |
MonitorElement * | OccupancyEB_ |
Occupancy. More... | |
MonitorElement * | OccupancyEEM_ |
MonitorElement * | OccupancyEEP_ |
unsigned int | prescaleFactor_ |
Monitor every prescaleFactor_ events. More... | |
edm::EDGetTokenT< EcalRecHitCollection > | productMonitoredEB_ |
object to monitor More... | |
edm::EDGetTokenT< EcalRecHitCollection > | productMonitoredEE_ |
object to monitor More... | |
edm::EDGetTokenT< reco::GsfElectronCollection > | productMonitoredElectrons_ |
electrons to monitor More... | |
MonitorElement * | recHitsPerElectron_ |
Number of recHits per electron. More... | |
bool | saveToFile_ |
Write to file. More... | |
Definition at line 34 of file DQMSourceEleCalib.cc.
DQMSourceEleCalib::DQMSourceEleCalib | ( | const edm::ParameterSet & | ps | ) |
Definition at line 96 of file DQMSourceEleCalib.cc.
References fileName_, folderName_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), prescaleFactor_, productMonitoredEB_, productMonitoredEE_, productMonitoredElectrons_, saveToFile_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 108 of file DQMSourceEleCalib.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 133 of file DQMSourceEleCalib.cc.
References edm::SortedCollection< T, SORT >::begin(), EcalBarrel, EcalEndcap, ElectronsNumber_, edm::SortedCollection< T, SORT >::end(), ESCoP_, eventCounter_, dqm::impl::MonitorElement::Fill(), fillAroundBarrel(), fillAroundEndcap(), findMaxHit(), HitsVsAssociatedHits_, l1ctLayer2EG_cff::id, EBDetId::ieta(), LEDCalibrationChannels::ieta, iEvent, EBDetId::iphi(), LEDCalibrationChannels::iphi, edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), METSkim_cff::Max, OccupancyEB_, OccupancyEEM_, OccupancyEEP_, edm::Handle< T >::product(), productMonitoredEB_, productMonitoredEE_, productMonitoredElectrons_, recHitsPerElectron_, edm::SortedCollection< T, SORT >::size(), and ecaldqm::zside().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 111 of file DQMSourceEleCalib.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), ElectronsNumber_, ESCoP_, folderName_, HitsVsAssociatedHits_, LocalOccupancyEB_, LocalOccupancyEE_, OccupancyEB_, OccupancyEEM_, OccupancyEEP_, recHitsPerElectron_, and dqm::implementation::NavigatorBase::setCurrentFolder().
|
private |
fills local occupancy graphs
Definition at line 239 of file DQMSourceEleCalib.cc.
References PVValHelper::eta, dqm::impl::MonitorElement::Fill(), EBDetId::ieta(), EBDetId::iphi(), LocalOccupancyEB_, phi, and FastTrackerRecHitMaskProducer_cfi::recHits.
Referenced by analyze().
|
private |
Definition at line 249 of file DQMSourceEleCalib.cc.
References dqm::impl::MonitorElement::Fill(), Ecal07UnpackerData_cfi::ics, EEDetId::ix(), EEDetId::iy(), LocalOccupancyEE_, and FastTrackerRecHitMaskProducer_cfi::recHits.
Referenced by analyze().
|
private |
find the MOX
Definition at line 203 of file DQMSourceEleCalib.cc.
References EcalBarrel, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), MTVHistoProducerAlgoForTrackerBlock_cfi::maxHit, and trackerHitRTTI::vector.
Referenced by analyze().
|
private |
Number of electrons.
Definition at line 58 of file DQMSourceEleCalib.cc.
Referenced by analyze(), and bookHistograms().
|
private |
ESCoP.
Definition at line 60 of file DQMSourceEleCalib.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 53 of file DQMSourceEleCalib.cc.
Referenced by analyze().
|
private |
Output file name if required.
Definition at line 89 of file DQMSourceEleCalib.cc.
Referenced by DQMSourceEleCalib().
|
private |
DQM folder name.
Definition at line 83 of file DQMSourceEleCalib.cc.
Referenced by bookHistograms(), and DQMSourceEleCalib().
|
private |
recHits over associated recHits
Definition at line 69 of file DQMSourceEleCalib.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 65 of file DQMSourceEleCalib.cc.
Referenced by bookHistograms(), and fillAroundBarrel().
|
private |
Definition at line 66 of file DQMSourceEleCalib.cc.
Referenced by bookHistograms(), and fillAroundEndcap().
|
private |
Occupancy.
Definition at line 62 of file DQMSourceEleCalib.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 64 of file DQMSourceEleCalib.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 63 of file DQMSourceEleCalib.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Monitor every prescaleFactor_ events.
Definition at line 80 of file DQMSourceEleCalib.cc.
Referenced by DQMSourceEleCalib().
|
private |
object to monitor
Definition at line 72 of file DQMSourceEleCalib.cc.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
object to monitor
Definition at line 75 of file DQMSourceEleCalib.cc.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
electrons to monitor
Definition at line 77 of file DQMSourceEleCalib.cc.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
Number of recHits per electron.
Definition at line 56 of file DQMSourceEleCalib.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Write to file.
Definition at line 86 of file DQMSourceEleCalib.cc.
Referenced by DQMSourceEleCalib().