#include <DQMSourceEleCalib.h>
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 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... | |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
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_.
|
override |
Definition at line 55 of file DQMSourceEleCalib.cc.
|
overrideprotected |
Definition at line 84 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().
|
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().
|
private |
fills local occupancy graphs
Definition at line 214 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_, phi, and mathSSE::return().
Referenced by analyze().
|
private |
Definition at line 236 of file DQMSourceEleCalib.cc.
References edm::SortedCollection< T, SORT >::begin(), HTMLExport::elem(), edm::SortedCollection< T, SORT >::end(), MonitorElement::Fill(), EEDetId::ix(), EEDetId::iy(), LocalOccupancyEE_, and mathSSE::return().
Referenced by analyze().
|
private |
find the MOX
Definition at line 162 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 62 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
ESCoP.
Definition at line 64 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 57 of file DQMSourceEleCalib.h.
Referenced by analyze().
|
private |
Output file name if required.
Definition at line 93 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().
|
private |
DQM folder name.
Definition at line 87 of file DQMSourceEleCalib.h.
Referenced by bookHistograms(), and DQMSourceEleCalib().
|
private |
recHits over associated recHits
Definition at line 73 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 69 of file DQMSourceEleCalib.h.
Referenced by bookHistograms(), and fillAroundBarrel().
|
private |
Definition at line 70 of file DQMSourceEleCalib.h.
Referenced by bookHistograms(), and fillAroundEndcap().
|
private |
Occupancy.
Definition at line 66 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 68 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 67 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Monitor every prescaleFactor_ events.
Definition at line 84 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().
|
private |
object to monitor
Definition at line 76 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
object to monitor
Definition at line 79 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
electrons to monitor
Definition at line 81 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
Number of recHits per electron.
Definition at line 60 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Write to file.
Definition at line 90 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().