#include <DQMSourceEleCalib.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginJob () |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
void | endJob () |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
void | endRun (const edm::Run &r, 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 | |
DQMStore * | dbe_ |
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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
DQM Source for phi symmetry stream
Definition at line 26 of file DQMSourceEleCalib.h.
DQMSourceEleCalib::DQMSourceEleCalib | ( | const edm::ParameterSet & | ps | ) |
Definition at line 40 of file DQMSourceEleCalib.cc.
References dbe_, fileName_, folderName_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), cppFunctionSkipper::operator, prescaleFactor_, productMonitoredEB_, productMonitoredEE_, productMonitoredElectrons_, and saveToFile_.
DQMSourceEleCalib::~DQMSourceEleCalib | ( | ) |
Definition at line 56 of file DQMSourceEleCalib.cc.
|
protectedvirtual |
Implements edm::EDAnalyzer.
Definition at line 94 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(), siStripFEDMonitor_P5_cff::Max, OccupancyEB_, OccupancyEEM_, OccupancyEEP_, edm::Handle< T >::product(), productMonitoredEB_, productMonitoredEE_, productMonitoredElectrons_, recHitsPerElectron_, DetId::subdetId(), and ecaldqm::zside().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 61 of file DQMSourceEleCalib.cc.
References DQMStore::book1D(), DQMStore::book2D(), dbe_, ElectronsNumber_, ESCoP_, folderName_, HitsVsAssociatedHits_, LocalOccupancyEB_, LocalOccupancyEE_, OccupancyEB_, OccupancyEEM_, OccupancyEEP_, recHitsPerElectron_, and DQMStore::setCurrentFolder().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 87 of file DQMSourceEleCalib.cc.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 82 of file DQMSourceEleCalib.cc.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 175 of file DQMSourceEleCalib.cc.
References dbe_, fileName_, DQMStore::save(), and saveToFile_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 167 of file DQMSourceEleCalib.cc.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 171 of file DQMSourceEleCalib.cc.
|
private |
fills local occupancy graphs
Definition at line 237 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 reco::return().
Referenced by analyze().
|
private |
Definition at line 259 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 reco::return().
Referenced by analyze().
|
private |
find the MOX
Definition at line 185 of file DQMSourceEleCalib.cc.
References EcalBarrel, edm::SortedCollection< T, SORT >::end(), and edm::SortedCollection< T, SORT >::find().
Referenced by analyze().
|
private |
Definition at line 62 of file DQMSourceEleCalib.h.
Referenced by beginJob(), DQMSourceEleCalib(), and endJob().
|
private |
Number of electrons.
Definition at line 68 of file DQMSourceEleCalib.h.
Referenced by analyze(), and beginJob().
|
private |
|
private |
Definition at line 63 of file DQMSourceEleCalib.h.
Referenced by analyze().
|
private |
Output file name if required.
Definition at line 99 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib(), and endJob().
|
private |
DQM folder name.
Definition at line 93 of file DQMSourceEleCalib.h.
Referenced by beginJob(), and DQMSourceEleCalib().
|
private |
recHits over associated recHits
Definition at line 79 of file DQMSourceEleCalib.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 75 of file DQMSourceEleCalib.h.
Referenced by beginJob(), and fillAroundBarrel().
|
private |
Definition at line 76 of file DQMSourceEleCalib.h.
Referenced by beginJob(), and fillAroundEndcap().
|
private |
Occupancy.
Definition at line 72 of file DQMSourceEleCalib.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 74 of file DQMSourceEleCalib.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 73 of file DQMSourceEleCalib.h.
Referenced by analyze(), and beginJob().
|
private |
Monitor every prescaleFactor_ events.
Definition at line 90 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib().
|
private |
object to monitor
Definition at line 82 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
object to monitor
Definition at line 85 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
electrons to monitor
Definition at line 87 of file DQMSourceEleCalib.h.
Referenced by analyze(), and DQMSourceEleCalib().
|
private |
Number of recHits per electron.
Definition at line 66 of file DQMSourceEleCalib.h.
Referenced by analyze(), and beginJob().
|
private |
Write to file.
Definition at line 96 of file DQMSourceEleCalib.h.
Referenced by DQMSourceEleCalib(), and endJob().