CMS 3D CMS Logo

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

#include <HLTJetMETValidation.h>

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

Public Member Functions

 HLTJetMETValidation (const edm::ParameterSet &)
 
 ~HLTJetMETValidation ()
 
- 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 Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &) override
 
virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &iRun, edm::EventSetup const &iSetup) override
 
virtual void dqmBeginRun (edm::Run const &iRun, edm::EventSetup const &iSetup) override
 
void getHLTResults (const edm::TriggerResults &, const edm::TriggerNames &triggerNames)
 

Private Attributes

std::vector< MonitorElement * > _meGenJetEta
 
std::vector< MonitorElement * > _meGenJetEtaTrg
 
std::vector< MonitorElement * > _meGenJetEtaTrgLow
 
std::vector< MonitorElement * > _meGenJetEtaTrgMC
 
std::vector< MonitorElement * > _meGenJetPhi
 
std::vector< MonitorElement * > _meGenJetPhiTrg
 
std::vector< MonitorElement * > _meGenJetPhiTrgLow
 
std::vector< MonitorElement * > _meGenJetPhiTrgMC
 
std::vector< MonitorElement * > _meGenJetPt
 
std::vector< MonitorElement * > _meGenJetPtTrg
 
std::vector< MonitorElement * > _meGenJetPtTrgLow
 
std::vector< MonitorElement * > _meGenJetPtTrgMC
 
std::vector< MonitorElement * > _meGenMET
 
std::vector< MonitorElement * > _meGenMETTrg
 
std::vector< MonitorElement * > _meGenMETTrgLow
 
std::vector< MonitorElement * > _meGenMETTrgMC
 
std::vector< MonitorElement * > _meHLTJetEta
 
std::vector< MonitorElement * > _meHLTJetEtaTrg
 
std::vector< MonitorElement * > _meHLTJetEtaTrgLow
 
std::vector< MonitorElement * > _meHLTJetEtaTrgMC
 
std::vector< MonitorElement * > _meHLTJetPhi
 
std::vector< MonitorElement * > _meHLTJetPhiTrg
 
std::vector< MonitorElement * > _meHLTJetPhiTrgLow
 
std::vector< MonitorElement * > _meHLTJetPhiTrgMC
 
std::vector< MonitorElement * > _meHLTJetPt
 
std::vector< MonitorElement * > _meHLTJetPtTrg
 
std::vector< MonitorElement * > _meHLTJetPtTrgLow
 
std::vector< MonitorElement * > _meHLTJetPtTrgMC
 
std::vector< MonitorElement * > _meHLTMET
 
std::vector< MonitorElement * > _meHLTMETTrg
 
std::vector< MonitorElement * > _meHLTMETTrgLow
 
std::vector< MonitorElement * > _meHLTMETTrgMC
 
MonitorElement_triggerResults
 
edm::EDGetTokenT
< reco::CaloMETCollection
CaloMETColl
 
int evtCnt
 
edm::EDGetTokenT
< reco::GenJetCollection
GenJetAlgorithm
 
edm::EDGetTokenT
< reco::GenMETCollection
GenMETColl
 
HLTConfigProvider hltConfig_
 
bool HLTinit_
 
edm::EDGetTokenT
< edm::TriggerResults
HLTriggerResults
 
std::vector< std::string > hltTrgJet
 
std::vector< std::string > hltTrgJetLow
 
std::vector< std::string > hltTrgMet
 
std::vector< std::string > hltTrgMetLow
 
std::map< std::string, bool > hltTriggerMap
 
std::vector< bool > hlttrigs
 
std::string patternJetTrg_
 
std::string patternMetTrg_
 
std::string patternMuTrg_
 
edm::EDGetTokenT
< reco::PFJetCollection
PFJetAlgorithm
 
std::map< std::string, bool >
::iterator 
trig_iter
 
edm::EDGetTokenT
< trigger::TriggerEventWithRefs
triggerEventObject_
 InputTag of TriggerEventWithRefs to analyze. More...
 
std::string triggerTag_
 
bool writeFile_
 

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 57 of file HLTJetMETValidation.h.

Constructor & Destructor Documentation

HLTJetMETValidation::HLTJetMETValidation ( const edm::ParameterSet ps)
explicit

Definition at line 14 of file HLTJetMETValidation.cc.

HLTJetMETValidation::~HLTJetMETValidation ( )

Definition at line 30 of file HLTJetMETValidation.cc.

Member Function Documentation

void HLTJetMETValidation::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 186 of file HLTJetMETValidation.cc.

void HLTJetMETValidation::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprivatevirtual

Implements DQMEDAnalyzer.

Definition at line 126 of file HLTJetMETValidation.cc.

void HLTJetMETValidation::dqmBeginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprivatevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 40 of file HLTJetMETValidation.cc.

void HLTJetMETValidation::getHLTResults ( const edm::TriggerResults hltresults,
const edm::TriggerNames triggerNames 
)
private

Definition at line 392 of file HLTJetMETValidation.cc.

Member Data Documentation

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetEta
private

Definition at line 99 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetEtaTrg
private

Definition at line 101 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetEtaTrgLow
private

Definition at line 102 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetEtaTrgMC
private

Definition at line 100 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPhi
private

Definition at line 103 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPhiTrg
private

Definition at line 105 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPhiTrgLow
private

Definition at line 106 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPhiTrgMC
private

Definition at line 104 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPt
private

Definition at line 95 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPtTrg
private

Definition at line 97 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPtTrgLow
private

Definition at line 98 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPtTrgMC
private

Definition at line 96 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenMET
private

Definition at line 112 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenMETTrg
private

Definition at line 114 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenMETTrgLow
private

Definition at line 115 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meGenMETTrgMC
private

Definition at line 113 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTJetEta
private

Definition at line 86 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTJetEtaTrg
private

Definition at line 88 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTJetEtaTrgLow
private

Definition at line 89 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTJetEtaTrgMC
private

Definition at line 87 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTJetPhi
private

Definition at line 90 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTJetPhiTrg
private

Definition at line 92 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTJetPhiTrgLow
private

Definition at line 93 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTJetPhiTrgMC
private

Definition at line 91 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTJetPt
private

Definition at line 82 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTJetPtTrg
private

Definition at line 84 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTJetPtTrgLow
private

Definition at line 85 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTJetPtTrgMC
private

Definition at line 83 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTMET
private

Definition at line 108 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTMETTrg
private

Definition at line 110 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTMETTrgLow
private

Definition at line 111 of file HLTJetMETValidation.h.

std::vector<MonitorElement*> HLTJetMETValidation::_meHLTMETTrgMC
private

Definition at line 109 of file HLTJetMETValidation.h.

MonitorElement* HLTJetMETValidation::_triggerResults
private

Definition at line 117 of file HLTJetMETValidation.h.

edm::EDGetTokenT<reco::CaloMETCollection> HLTJetMETValidation::CaloMETColl
private

Definition at line 75 of file HLTJetMETValidation.h.

int HLTJetMETValidation::evtCnt
private

Definition at line 120 of file HLTJetMETValidation.h.

edm::EDGetTokenT<reco::GenJetCollection> HLTJetMETValidation::GenJetAlgorithm
private

Definition at line 74 of file HLTJetMETValidation.h.

edm::EDGetTokenT<reco::GenMETCollection> HLTJetMETValidation::GenMETColl
private

Definition at line 76 of file HLTJetMETValidation.h.

HLTConfigProvider HLTJetMETValidation::hltConfig_
private

Definition at line 122 of file HLTJetMETValidation.h.

bool HLTJetMETValidation::HLTinit_
private

Definition at line 133 of file HLTJetMETValidation.h.

edm::EDGetTokenT<edm::TriggerResults> HLTJetMETValidation::HLTriggerResults
private

Definition at line 77 of file HLTJetMETValidation.h.

std::vector<std::string> HLTJetMETValidation::hltTrgJet
private

Definition at line 123 of file HLTJetMETValidation.h.

std::vector<std::string> HLTJetMETValidation::hltTrgJetLow
private

Definition at line 124 of file HLTJetMETValidation.h.

std::vector<std::string> HLTJetMETValidation::hltTrgMet
private

Definition at line 125 of file HLTJetMETValidation.h.

std::vector<std::string> HLTJetMETValidation::hltTrgMetLow
private

Definition at line 126 of file HLTJetMETValidation.h.

std::map<std::string,bool> HLTJetMETValidation::hltTriggerMap
private

Definition at line 130 of file HLTJetMETValidation.h.

std::vector<bool> HLTJetMETValidation::hlttrigs
private

Definition at line 129 of file HLTJetMETValidation.h.

std::string HLTJetMETValidation::patternJetTrg_
private

Definition at line 80 of file HLTJetMETValidation.h.

std::string HLTJetMETValidation::patternMetTrg_
private

Definition at line 80 of file HLTJetMETValidation.h.

std::string HLTJetMETValidation::patternMuTrg_
private

Definition at line 80 of file HLTJetMETValidation.h.

edm::EDGetTokenT<reco::PFJetCollection> HLTJetMETValidation::PFJetAlgorithm
private

Definition at line 73 of file HLTJetMETValidation.h.

std::map<std::string,bool>::iterator HLTJetMETValidation::trig_iter
private

Definition at line 131 of file HLTJetMETValidation.h.

edm::EDGetTokenT<trigger::TriggerEventWithRefs> HLTJetMETValidation::triggerEventObject_
private

InputTag of TriggerEventWithRefs to analyze.

Definition at line 72 of file HLTJetMETValidation.h.

std::string HLTJetMETValidation::triggerTag_
private

Definition at line 80 of file HLTJetMETValidation.h.

bool HLTJetMETValidation::writeFile_
private

Definition at line 135 of file HLTJetMETValidation.h.