#include <DQMSourceEleCalib.h>
Public Member Functions | |
DQMSourceEleCalib (const edm::ParameterSet &) | |
~DQMSourceEleCalib () override | |
Public Member Functions inherited from one::DQMEDAnalyzer< T > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
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 |
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... | |
DQM Source for phi symmetry stream
Definition at line 27 of file DQMSourceEleCalib.h.
DQMSourceEleCalib::DQMSourceEleCalib | ( | const edm::ParameterSet & | ps | ) |
Definition at line 37 of file DQMSourceEleCalib.cc.
References fileName_, folderName_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), prescaleFactor_, productMonitoredEB_, productMonitoredEE_, productMonitoredElectrons_, and saveToFile_.
|
override |
Definition at line 48 of file DQMSourceEleCalib.cc.
|
overrideprotected |
Definition at line 73 of file DQMSourceEleCalib.cc.
References edm::SortedCollection< T, SORT >::begin(), DetId::det(), EcalBarrel, EcalEndcap, ElectronsNumber_, edm::SortedCollection< T, SORT >::end(), ESCoP_, eventCounter_, MonitorElement::Fill(), fillAroundBarrel(), fillAroundEndcap(), findMaxHit(), edm::Event::getByToken(), HitsVsAssociatedHits_, triggerObjects_cff::id, EBDetId::ieta(), EBDetId::iphi(), edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), Max(), OccupancyEB_, OccupancyEEM_, OccupancyEEP_, edm::Handle< T >::product(), productMonitoredEB_, productMonitoredEE_, productMonitoredElectrons_, recHitsPerElectron_, edm::SortedCollection< T, SORT >::size(), DetId::subdetId(), and ecaldqm::zside().
|
overrideprotected |
Definition at line 51 of file DQMSourceEleCalib.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), ElectronsNumber_, ESCoP_, folderName_, HitsVsAssociatedHits_, LocalOccupancyEB_, LocalOccupancyEE_, OccupancyEB_, OccupancyEEM_, OccupancyEEP_, recHitsPerElectron_, and DQMStore::IBooker::setCurrentFolder().
|
private |
fills local occupancy graphs
Definition at line 179 of file DQMSourceEleCalib.cc.
References edm::SortedCollection< T, SORT >::begin(), HTMLExport::elem(), edm::SortedCollection< T, SORT >::end(), PVValHelper::eta, MonitorElement::Fill(), EBDetId::ieta(), EBDetId::iphi(), LocalOccupancyEB_, and phi.
Referenced by analyze().
|
private |
Definition at line 189 of file DQMSourceEleCalib.cc.
References edm::SortedCollection< T, SORT >::begin(), HTMLExport::elem(), edm::SortedCollection< T, SORT >::end(), MonitorElement::Fill(), EEDetId::ix(), EEDetId::iy(), and LocalOccupancyEE_.
Referenced by analyze().
|
private |
find the MOX
Definition at line 143 of file DQMSourceEleCalib.cc.
References EcalBarrel, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), and MTVHistoProducerAlgoForTrackerBlock_cfi::maxHit.
Referenced by analyze().
|
private |
Number of electrons.
Definition at line 51 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
ESCoP.
Definition at line 53 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 46 of file DQMSourceEleCalib.h.
Referenced by analyze().
|
private |
Output file name if required.
Definition at line 82 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().
|
private |
DQM folder name.
Definition at line 76 of file DQMSourceEleCalib.h.
Referenced by bookHistograms(), and DQMSourceEleCalib().
|
private |
recHits over associated recHits
Definition at line 62 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 58 of file DQMSourceEleCalib.h.
Referenced by bookHistograms(), and fillAroundBarrel().
|
private |
Definition at line 59 of file DQMSourceEleCalib.h.
Referenced by bookHistograms(), and fillAroundEndcap().
|
private |
Occupancy.
Definition at line 55 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 57 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 56 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Monitor every prescaleFactor_ events.
Definition at line 73 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().
|
private |
object to monitor
Definition at line 65 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
object to monitor
Definition at line 68 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
electrons to monitor
Definition at line 70 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
Number of recHits per electron.
Definition at line 49 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Write to file.
Definition at line 79 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().