#include <DQMSourceEleCalib.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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 30 of file DQMSourceEleCalib.h.
DQMSourceEleCalib::DQMSourceEleCalib | ( | const edm::ParameterSet & | ps | ) |
Definition at line 40 of file DQMSourceEleCalib.cc.
References fileName_, folderName_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), prescaleFactor_, productMonitoredEB_, productMonitoredEE_, productMonitoredElectrons_, and saveToFile_.
DQMSourceEleCalib::~DQMSourceEleCalib | ( | ) |
Definition at line 55 of file DQMSourceEleCalib.cc.
|
protectedvirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 88 of file DQMSourceEleCalib.cc.
References DetId::det(), EcalBarrel, EcalEndcap, ElectronsNumber_, ESCoP_, eventCounter_, MonitorElement::Fill(), fillAroundBarrel(), fillAroundEndcap(), findMaxHit(), edm::Event::getByToken(), HitsVsAssociatedHits_, EBDetId::ieta(), EBDetId::iphi(), edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), Max(), OccupancyEB_, OccupancyEEM_, OccupancyEEP_, edm::Handle< T >::product(), productMonitoredEB_, productMonitoredEE_, productMonitoredElectrons_, recHitsPerElectron_, DetId::subdetId(), and ecaldqm::zside().
|
protectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 81 of file DQMSourceEleCalib.cc.
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 60 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().
|
protectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 161 of file DQMSourceEleCalib.cc.
|
private |
fills local occupancy graphs
Definition at line 221 of file DQMSourceEleCalib.cc.
References edm::SortedCollection< T, SORT >::begin(), HTMLExport::elem(), edm::SortedCollection< T, SORT >::end(), eta, MonitorElement::Fill(), EBDetId::ieta(), EBDetId::iphi(), LocalOccupancyEB_, phi, and mathSSE::return().
Referenced by analyze().
|
private |
Definition at line 243 of file DQMSourceEleCalib.cc.
References edm::SortedCollection< T, SORT >::begin(), HTMLExport::elem(), edm::SortedCollection< T, SORT >::end(), MonitorElement::Fill(), h2_mapping_cfi::ics, EEDetId::ix(), EEDetId::iy(), LocalOccupancyEE_, and mathSSE::return().
Referenced by analyze().
|
private |
find the MOX
Definition at line 169 of file DQMSourceEleCalib.cc.
References EcalBarrel, edm::SortedCollection< T, SORT >::end(), and edm::SortedCollection< T, SORT >::find().
Referenced by analyze().
|
private |
Number of electrons.
Definition at line 66 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
ESCoP.
Definition at line 68 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 61 of file DQMSourceEleCalib.h.
Referenced by analyze().
|
private |
Output file name if required.
Definition at line 97 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().
|
private |
DQM folder name.
Definition at line 91 of file DQMSourceEleCalib.h.
Referenced by bookHistograms(), and DQMSourceEleCalib().
|
private |
recHits over associated recHits
Definition at line 77 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 73 of file DQMSourceEleCalib.h.
Referenced by bookHistograms(), and fillAroundBarrel().
|
private |
Definition at line 74 of file DQMSourceEleCalib.h.
Referenced by bookHistograms(), and fillAroundEndcap().
|
private |
Occupancy.
Definition at line 70 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 72 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 71 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Monitor every prescaleFactor_ events.
Definition at line 88 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().
|
private |
object to monitor
Definition at line 80 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
object to monitor
Definition at line 83 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
electrons to monitor
Definition at line 85 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
Number of recHits per electron.
Definition at line 64 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Write to file.
Definition at line 94 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().