#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::ProducerBase | |
ProducesCollector | producesCollector () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 DQMEDAnalyzer | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
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 23 of file DQMSourceEleCalib.h.
DQMSourceEleCalib::DQMSourceEleCalib | ( | const edm::ParameterSet & | ps | ) |
Definition at line 36 of file DQMSourceEleCalib.cc.
References fileName_, folderName_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), prescaleFactor_, productMonitoredEB_, productMonitoredEE_, productMonitoredElectrons_, and saveToFile_.
|
override |
Definition at line 47 of file DQMSourceEleCalib.cc.
|
overrideprotected |
Definition at line 72 of file DQMSourceEleCalib.cc.
References edm::SortedCollection< T, SORT >::begin(), DetId::det(), EcalBarrel, EcalEndcap, ElectronsNumber_, edm::SortedCollection< T, SORT >::end(), ESCoP_, eventCounter_, dqm::impl::MonitorElement::Fill(), fillAroundBarrel(), fillAroundEndcap(), findMaxHit(), edm::Event::getByToken(), HitsVsAssociatedHits_, triggerObjects_cff::id, EBDetId::ieta(), LEDCalibrationChannels::ieta, EBDetId::iphi(), LEDCalibrationChannels::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 50 of file DQMSourceEleCalib.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), ElectronsNumber_, ESCoP_, folderName_, HitsVsAssociatedHits_, LocalOccupancyEB_, LocalOccupancyEE_, OccupancyEB_, OccupancyEEM_, OccupancyEEP_, recHitsPerElectron_, and dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().
|
private |
fills local occupancy graphs
Definition at line 178 of file DQMSourceEleCalib.cc.
References edm::SortedCollection< T, SORT >::begin(), HTMLExport::elem(), edm::SortedCollection< T, SORT >::end(), PVValHelper::eta, dqm::impl::MonitorElement::Fill(), EBDetId::ieta(), EBDetId::iphi(), LocalOccupancyEB_, and phi.
Referenced by analyze().
|
private |
Definition at line 188 of file DQMSourceEleCalib.cc.
References edm::SortedCollection< T, SORT >::begin(), HTMLExport::elem(), edm::SortedCollection< T, SORT >::end(), dqm::impl::MonitorElement::Fill(), Ecal07UnpackerData_cfi::ics, EEDetId::ix(), EEDetId::iy(), and LocalOccupancyEE_.
Referenced by analyze().
|
private |
find the MOX
Definition at line 142 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 47 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
ESCoP.
Definition at line 49 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 42 of file DQMSourceEleCalib.h.
Referenced by analyze().
|
private |
Output file name if required.
Definition at line 78 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().
|
private |
DQM folder name.
Definition at line 72 of file DQMSourceEleCalib.h.
Referenced by bookHistograms(), and DQMSourceEleCalib().
|
private |
recHits over associated recHits
Definition at line 58 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 54 of file DQMSourceEleCalib.h.
Referenced by bookHistograms(), and fillAroundBarrel().
|
private |
Definition at line 55 of file DQMSourceEleCalib.h.
Referenced by bookHistograms(), and fillAroundEndcap().
|
private |
Occupancy.
Definition at line 51 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 53 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 52 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Monitor every prescaleFactor_ events.
Definition at line 69 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().
|
private |
object to monitor
Definition at line 61 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
object to monitor
Definition at line 64 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
electrons to monitor
Definition at line 66 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
Number of recHits per electron.
Definition at line 45 of file DQMSourceEleCalib.h.
Referenced by analyze(), and bookHistograms().
|
private |
Write to file.
Definition at line 75 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().