CMS 3D CMS Logo

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

#include <EmDQMReco.h>

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

Classes

class  FourVectorMonitorElements
 

Public Member Functions

void analyze (const edm::Event &event, const edm::EventSetup &)
 
void beginJob ()
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (const edm::Run &, const edm::EventSetup &)
 
 EmDQMReco (const edm::ParameterSet &pset)
 Constructor. More...
 
void endJob ()
 
 ~EmDQMReco ()
 Destructor. More...
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 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 ()
 

Private Attributes

std::string dirname_
 
int eventnum
 
HistoFillerReco
< reco::RecoEcalCandidateCollection > * 
histoFillerClu
 
HistoFillerReco
< reco::ElectronCollection > * 
histoFillerEle
 
HistoFillerReco
< l1extra::L1EmParticleCollection > * 
histoFillerL1Iso
 
HistoFillerReco
< l1extra::L1EmParticleCollection > * 
histoFillerL1NonIso
 
HistoFillerReco
< reco::RecoEcalCandidateCollection > * 
histoFillerPho
 
HLTConfigProvider hltConfig_
 
edm::EDGetTokenT
< edm::TriggerResults
hltResultsT
 
bool isHltConfigInitialized_
 
std::vector< std::vector
< edm::InputTag > > 
isoNames
 
unsigned int numOfHLTCollectionLabels
 
int pdgGen
 
unsigned int plotBins
 
std::vector< std::pair< double,
double > > 
plotBounds
 
double plotEtaMax
 
std::vector< bool > plotiso
 
double plotPhiMax
 
double plotPtMax
 
double plotPtMin
 
std::string processNameRecoMonPath
 
GreaterByPt< reco::ParticlepTComparator_
 
GreaterByPt< reco::GsfElectronpTRecoComparator_
 
unsigned int recocut_
 
edm::EDGetTokenT
< reco::GsfElectronCollection
recoElectronsInput
 
double recoEtaAcc
 
double recoEtAcc
 
edm::EDGetTokenT< std::vector
< reco::SuperCluster > > 
recoObjectsEBT
 
edm::EDGetTokenT< std::vector
< reco::SuperCluster > > 
recoObjectsEET
 
unsigned int reqNum
 
std::vector< std::string > theHLTCollectionHumanNames
 
std::vector< edm::InputTagtheHLTCollectionLabels
 
std::string theHltName
 
std::vector< int > theHLTOutputTypes
 
MonitorElementtotalmatchreco
 
MonitorElementtotalreco
 
std::string triggerNameRecoMonPath
 
edm::EDGetTokenT
< trigger::TriggerEventWithRefs
triggerObjT
 
bool useHumanReadableHistTitles
 
boost::ptr_vector
< FourVectorMonitorElements
standardHist
 
boost::ptr_vector
< FourVectorMonitorElements
histMatchReco
 
boost::ptr_vector
< FourVectorMonitorElements
histMatchRecoMonPath
 
boost::ptr_vector
< FourVectorMonitorElements
histHltObjMatchToReco
 
std::vector< MonitorElement * > etahistiso
 
std::vector< MonitorElement * > ethistiso
 
std::vector< MonitorElement * > phiHistIso
 
std::vector< MonitorElement * > etahistisomatchreco
 
std::vector< MonitorElement * > ethistisomatchreco
 
std::vector< MonitorElement * > phiHistIsoMatchReco
 
std::vector< MonitorElement * > histEtIsoOfHltObjMatchToReco
 
std::vector< MonitorElement * > histEtaIsoOfHltObjMatchToReco
 
std::vector< MonitorElement * > histPhiIsoOfHltObjMatchToReco
 
reco histograms
boost::scoped_ptr
< FourVectorMonitorElements
histReco
 
boost::scoped_ptr
< FourVectorMonitorElements
histRecoMonpath
 
boost::scoped_ptr
< FourVectorMonitorElements
histMonpath
 

Friends

class HistoFillerReco< l1extra::L1EmParticleCollection >
 
class HistoFillerReco< reco::ElectronCollection >
 
class HistoFillerReco< reco::RecoEcalCandidateCollection >
 

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)
 
- 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)
 

Detailed Description

Definition at line 44 of file EmDQMReco.h.

Constructor & Destructor Documentation

EmDQMReco::EmDQMReco ( const edm::ParameterSet pset)
explicit

Constructor.

Definition at line 102 of file EmDQMReco.cc.

EmDQMReco::~EmDQMReco ( )

Destructor.

Definition at line 505 of file EmDQMReco.cc.

Member Function Documentation

void EmDQMReco::analyze ( const edm::Event event,
const edm::EventSetup setup 
)
virtual

NOTE: hltConfigProvider initialization has been moved to beginRun()

Implements edm::stream::EDAnalyzerBase.

Definition at line 513 of file EmDQMReco.cc.

void EmDQMReco::beginJob ( )
void EmDQMReco::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 214 of file EmDQMReco.cc.

void EmDQMReco::dqmBeginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from DQMEDAnalyzer.

Definition at line 203 of file EmDQMReco.cc.

void EmDQMReco::endJob ( void  )

Definition at line 895 of file EmDQMReco.cc.

Friends And Related Function Documentation

Definition at line 84 of file EmDQMReco.h.

friend class HistoFillerReco< reco::ElectronCollection >
friend

Definition at line 82 of file EmDQMReco.h.

Definition at line 83 of file EmDQMReco.h.

Member Data Documentation

std::string EmDQMReco::dirname_
private

Definition at line 229 of file EmDQMReco.h.

std::vector<MonitorElement*> EmDQMReco::etahistiso
private

Isolation distributions

Definition at line 189 of file EmDQMReco.h.

std::vector<MonitorElement*> EmDQMReco::etahistisomatchreco
private

Definition at line 193 of file EmDQMReco.h.

std::vector<MonitorElement*> EmDQMReco::ethistiso
private

Definition at line 190 of file EmDQMReco.h.

std::vector<MonitorElement*> EmDQMReco::ethistisomatchreco
private

Definition at line 194 of file EmDQMReco.h.

int EmDQMReco::eventnum
private

Definition at line 225 of file EmDQMReco.h.

std::vector<MonitorElement*> EmDQMReco::histEtaIsoOfHltObjMatchToReco
private

Definition at line 198 of file EmDQMReco.h.

std::vector<MonitorElement*> EmDQMReco::histEtIsoOfHltObjMatchToReco
private

Definition at line 197 of file EmDQMReco.h.

boost::ptr_vector<FourVectorMonitorElements> EmDQMReco::histHltObjMatchToReco
private

Definition at line 183 of file EmDQMReco.h.

boost::ptr_vector<FourVectorMonitorElements> EmDQMReco::histMatchReco
private

Definition at line 172 of file EmDQMReco.h.

boost::ptr_vector<FourVectorMonitorElements> EmDQMReco::histMatchRecoMonPath
private

Definition at line 177 of file EmDQMReco.h.

boost::scoped_ptr<FourVectorMonitorElements> EmDQMReco::histMonpath
private

Definition at line 222 of file EmDQMReco.h.

HistoFillerReco<reco::RecoEcalCandidateCollection>* EmDQMReco::histoFillerClu
private

Definition at line 232 of file EmDQMReco.h.

HistoFillerReco<reco::ElectronCollection>* EmDQMReco::histoFillerEle
private

Definition at line 231 of file EmDQMReco.h.

HistoFillerReco<l1extra::L1EmParticleCollection>* EmDQMReco::histoFillerL1Iso
private

Definition at line 235 of file EmDQMReco.h.

HistoFillerReco<l1extra::L1EmParticleCollection>* EmDQMReco::histoFillerL1NonIso
private

Definition at line 233 of file EmDQMReco.h.

HistoFillerReco<reco::RecoEcalCandidateCollection>* EmDQMReco::histoFillerPho
private

Definition at line 234 of file EmDQMReco.h.

std::vector<MonitorElement*> EmDQMReco::histPhiIsoOfHltObjMatchToReco
private

Definition at line 199 of file EmDQMReco.h.

boost::scoped_ptr<FourVectorMonitorElements> EmDQMReco::histReco
private

Definition at line 212 of file EmDQMReco.h.

boost::scoped_ptr<FourVectorMonitorElements> EmDQMReco::histRecoMonpath
private

Definition at line 217 of file EmDQMReco.h.

HLTConfigProvider EmDQMReco::hltConfig_
private

Definition at line 116 of file EmDQMReco.h.

edm::EDGetTokenT<edm::TriggerResults> EmDQMReco::hltResultsT
private

Definition at line 155 of file EmDQMReco.h.

bool EmDQMReco::isHltConfigInitialized_
private

Definition at line 117 of file EmDQMReco.h.

std::vector<std::vector<edm::InputTag> > EmDQMReco::isoNames
private

Definition at line 113 of file EmDQMReco.h.

unsigned int EmDQMReco::numOfHLTCollectionLabels
private

Definition at line 106 of file EmDQMReco.h.

int EmDQMReco::pdgGen
private

Definition at line 124 of file EmDQMReco.h.

std::vector<MonitorElement*> EmDQMReco::phiHistIso
private

Definition at line 191 of file EmDQMReco.h.

std::vector<MonitorElement*> EmDQMReco::phiHistIsoMatchReco
private

Definition at line 195 of file EmDQMReco.h.

unsigned int EmDQMReco::plotBins
private

number of bins to use for ALL plots (?)

Definition at line 134 of file EmDQMReco.h.

std::vector<std::pair<double,double> > EmDQMReco::plotBounds
private

Definition at line 114 of file EmDQMReco.h.

double EmDQMReco::plotEtaMax
private

Definition at line 128 of file EmDQMReco.h.

std::vector<bool> EmDQMReco::plotiso
private

Definition at line 112 of file EmDQMReco.h.

double EmDQMReco::plotPhiMax
private

Definition at line 131 of file EmDQMReco.h.

double EmDQMReco::plotPtMax
private

Definition at line 130 of file EmDQMReco.h.

double EmDQMReco::plotPtMin
private

Definition at line 129 of file EmDQMReco.h.

std::string EmDQMReco::processNameRecoMonPath
private

process name for the trigger results for events to be filled into {et,eta,phi}recomonpath

Definition at line 147 of file EmDQMReco.h.

GreaterByPt<reco::Particle> EmDQMReco::pTComparator_
private

Definition at line 238 of file EmDQMReco.h.

GreaterByPt<reco::GsfElectron> EmDQMReco::pTRecoComparator_
private

Definition at line 239 of file EmDQMReco.h.

unsigned int EmDQMReco::recocut_
private

Definition at line 138 of file EmDQMReco.h.

edm::EDGetTokenT<reco::GsfElectronCollection> EmDQMReco::recoElectronsInput
private

input tag for the reconstructed electron collection (with respect to which the HLT efficiencies are calculated ?)

Definition at line 152 of file EmDQMReco.h.

double EmDQMReco::recoEtaAcc
private

Definition at line 125 of file EmDQMReco.h.

double EmDQMReco::recoEtAcc
private

Definition at line 126 of file EmDQMReco.h.

edm::EDGetTokenT<std::vector<reco::SuperCluster> > EmDQMReco::recoObjectsEBT
private

Definition at line 153 of file EmDQMReco.h.

edm::EDGetTokenT<std::vector<reco::SuperCluster> > EmDQMReco::recoObjectsEET
private

Definition at line 154 of file EmDQMReco.h.

unsigned int EmDQMReco::reqNum
private

Definition at line 123 of file EmDQMReco.h.

boost::ptr_vector<FourVectorMonitorElements> EmDQMReco::standardHist
private

Et, eta and phi distributions (RECO) for the different HLT modules to be looked at.

Definition at line 167 of file EmDQMReco.h.

std::vector<std::string> EmDQMReco::theHLTCollectionHumanNames
private

Definition at line 109 of file EmDQMReco.h.

std::vector<edm::InputTag> EmDQMReco::theHLTCollectionLabels
private

the HLT collections to be looked at

Definition at line 104 of file EmDQMReco.h.

std::string EmDQMReco::theHltName
private

Definition at line 115 of file EmDQMReco.h.

std::vector<int> EmDQMReco::theHLTOutputTypes
private

Definition at line 111 of file EmDQMReco.h.

MonitorElement* EmDQMReco::totalmatchreco
private

Definition at line 205 of file EmDQMReco.h.

MonitorElement* EmDQMReco::totalreco
private

Plots of efficiency per step (note that these are NOT filled with four vector quantities but rather event counts)

Definition at line 204 of file EmDQMReco.h.

std::string EmDQMReco::triggerNameRecoMonPath
private

events which fire this trigger are filled into {et,eta,phi}recomonpath

Definition at line 142 of file EmDQMReco.h.

edm::EDGetTokenT<trigger::TriggerEventWithRefs> EmDQMReco::triggerObjT
private

Definition at line 156 of file EmDQMReco.h.

bool EmDQMReco::useHumanReadableHistTitles
private

Definition at line 108 of file EmDQMReco.h.