CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
DQMSourceEleCalib Class Reference

#include <DQMSourceEleCalib.h>

Inheritance diagram for DQMSourceEleCalib:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 DQMSourceEleCalib (const edm::ParameterSet &)
 
 ~DQMSourceEleCalib ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

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

MonitorElementElectronsNumber_
 Number of electrons. More...
 
MonitorElementESCoP_
 ESCoP. More...
 
int eventCounter_
 
std::string fileName_
 Output file name if required. More...
 
std::string folderName_
 DQM folder name. More...
 
MonitorElementHitsVsAssociatedHits_
 recHits over associated recHits More...
 
MonitorElementLocalOccupancyEB_
 
MonitorElementLocalOccupancyEE_
 
MonitorElementOccupancyEB_
 Occupancy. More...
 
MonitorElementOccupancyEEM_
 
MonitorElementOccupancyEEP_
 
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...
 
MonitorElementrecHitsPerElectron_
 Number of recHits per electron. More...
 
bool saveToFile_
 Write to file. More...
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 30 of file DQMSourceEleCalib.h.

Constructor & Destructor Documentation

DQMSourceEleCalib::DQMSourceEleCalib ( const edm::ParameterSet ps)

Definition at line 40 of file DQMSourceEleCalib.cc.

DQMSourceEleCalib::~DQMSourceEleCalib ( )

Definition at line 55 of file DQMSourceEleCalib.cc.

Member Function Documentation

void DQMSourceEleCalib::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 88 of file DQMSourceEleCalib.cc.

void DQMSourceEleCalib::beginLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup context 
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 81 of file DQMSourceEleCalib.cc.

void DQMSourceEleCalib::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  irun,
edm::EventSetup const &  isetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 60 of file DQMSourceEleCalib.cc.

void DQMSourceEleCalib::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 161 of file DQMSourceEleCalib.cc.

void DQMSourceEleCalib::fillAroundBarrel ( const EcalRecHitCollection recHits,
int  eta,
int  phi 
)
private

fills local occupancy graphs

Definition at line 221 of file DQMSourceEleCalib.cc.

void DQMSourceEleCalib::fillAroundEndcap ( const EcalRecHitCollection recHits,
int  ics,
int  ips 
)
private

Definition at line 243 of file DQMSourceEleCalib.cc.

DetId DQMSourceEleCalib::findMaxHit ( const std::vector< std::pair< DetId, float > > &  v1,
const EcalRecHitCollection EBhits,
const EcalRecHitCollection EEhits 
)
private

find the MOX

Definition at line 169 of file DQMSourceEleCalib.cc.

Member Data Documentation

MonitorElement* DQMSourceEleCalib::ElectronsNumber_
private

Number of electrons.

Definition at line 66 of file DQMSourceEleCalib.h.

MonitorElement* DQMSourceEleCalib::ESCoP_
private

ESCoP.

Definition at line 68 of file DQMSourceEleCalib.h.

int DQMSourceEleCalib::eventCounter_
private

Definition at line 61 of file DQMSourceEleCalib.h.

std::string DQMSourceEleCalib::fileName_
private

Output file name if required.

Definition at line 97 of file DQMSourceEleCalib.h.

std::string DQMSourceEleCalib::folderName_
private

DQM folder name.

Definition at line 91 of file DQMSourceEleCalib.h.

MonitorElement* DQMSourceEleCalib::HitsVsAssociatedHits_
private

recHits over associated recHits

Definition at line 77 of file DQMSourceEleCalib.h.

MonitorElement* DQMSourceEleCalib::LocalOccupancyEB_
private

Definition at line 73 of file DQMSourceEleCalib.h.

MonitorElement* DQMSourceEleCalib::LocalOccupancyEE_
private

Definition at line 74 of file DQMSourceEleCalib.h.

MonitorElement* DQMSourceEleCalib::OccupancyEB_
private

Occupancy.

Definition at line 70 of file DQMSourceEleCalib.h.

MonitorElement* DQMSourceEleCalib::OccupancyEEM_
private

Definition at line 72 of file DQMSourceEleCalib.h.

MonitorElement* DQMSourceEleCalib::OccupancyEEP_
private

Definition at line 71 of file DQMSourceEleCalib.h.

unsigned int DQMSourceEleCalib::prescaleFactor_
private

Monitor every prescaleFactor_ events.

Definition at line 88 of file DQMSourceEleCalib.h.

edm::EDGetTokenT<EcalRecHitCollection> DQMSourceEleCalib::productMonitoredEB_
private

object to monitor

Definition at line 80 of file DQMSourceEleCalib.h.

edm::EDGetTokenT<EcalRecHitCollection> DQMSourceEleCalib::productMonitoredEE_
private

object to monitor

Definition at line 83 of file DQMSourceEleCalib.h.

edm::EDGetTokenT<reco::GsfElectronCollection> DQMSourceEleCalib::productMonitoredElectrons_
private

electrons to monitor

Definition at line 85 of file DQMSourceEleCalib.h.

MonitorElement* DQMSourceEleCalib::recHitsPerElectron_
private

Number of recHits per electron.

Definition at line 64 of file DQMSourceEleCalib.h.

bool DQMSourceEleCalib::saveToFile_
private

Write to file.

Definition at line 94 of file DQMSourceEleCalib.h.