CMS 3D CMS Logo

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

#include <HLTriggerOffline/B2G/src/B2GSingleLeptonHLTValidation.cc>

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

Public Member Functions

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

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- 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)
 

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
std::string monitorPath (const std::string &label) const
 
void triggerBinLabels (const std::vector< std::string > &labels)
 set configurable labels for trigger monitoring histograms More...
 

Private Attributes

edm::Ptr< reco::GsfElectronelec_
 
double etaElectrons_
 
double etaJets_
 
double etaMuons_
 
MonitorElementhDenJetEta
 
MonitorElementhDenJetPt
 
MonitorElementhDenLeptonEta
 
MonitorElementhDenLeptonPt
 
MonitorElementhDenTriggerMon
 
MonitorElementhNumJetEta
 
MonitorElementhNumJetPt
 
MonitorElementhNumLeptonEta
 
MonitorElementhNumLeptonPt
 
MonitorElementhNumTriggerMon
 
bool isAll_ = false
 
double isoElectrons_
 
double isoMuons_
 
bool isSel_ = false
 
edm::Ptr< reco::Jetjet_
 
unsigned int minElectrons_
 
unsigned int minJets_
 
unsigned int minMuons_
 
edm::Ptr< reco::Muonmu_
 
double ptElectrons_
 
double ptJets0_
 
double ptJets1_
 
double ptJets_
 
double ptMuons_
 
std::string sDir_
 
std::string sElectrons_
 
std::string sJets_
 
std::string sMuons_
 
std::string sTrigger_
 
edm::EDGetTokenT< edm::View
< reco::GsfElectron > > 
tokElectrons_
 
edm::EDGetTokenT< edm::View
< reco::Jet > > 
tokJets_
 
edm::EDGetTokenT< edm::View
< reco::Muon > > 
tokMuons_
 
edm::EDGetTokenT
< edm::TriggerResults
tokTrigger_
 
std::vector< std::string > vsPaths_
 

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

Description: compute efficiencies of trigger paths on offline reco selection with respect to pt and eta

Implementation: harvesting

Description:

Description: compute efficiencies of trigger paths on offline reco selection with respect to pt and eta

Implementation: harvesting

Definition at line 48 of file B2GSingleLeptonHLTValidation.h.

Constructor & Destructor Documentation

B2GSingleLeptonHLTValidation::B2GSingleLeptonHLTValidation ( const edm::ParameterSet iConfig)
explicit

Definition at line 132 of file B2GSingleLeptonHLTValidation.h.

B2GSingleLeptonHLTValidation::~B2GSingleLeptonHLTValidation ( )

Definition at line 165 of file B2GSingleLeptonHLTValidation.h.

Member Function Documentation

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

Implements edm::stream::EDAnalyzerBase.

Definition at line 45 of file B2GSingleLeptonHLTValidation.cc.

void B2GSingleLeptonHLTValidation::bookHistograms ( DQMStore::IBooker dbe,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprivatevirtual

Implements DQMEDAnalyzer.

Definition at line 173 of file B2GSingleLeptonHLTValidation.cc.

void B2GSingleLeptonHLTValidation::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 196 of file B2GSingleLeptonHLTValidation.cc.

std::string B2GSingleLeptonHLTValidation::monitorPath ( const std::string &  label) const
inlineprivate

deduce monitorPath from label, the label is expected to be of type 'selectionPath:monitorPath'

Definition at line 61 of file B2GSingleLeptonHLTValidation.h.

void B2GSingleLeptonHLTValidation::triggerBinLabels ( const std::vector< std::string > &  labels)
inlineprivate

set configurable labels for trigger monitoring histograms

Definition at line 113 of file B2GSingleLeptonHLTValidation.h.

Member Data Documentation

edm::Ptr<reco::GsfElectron> B2GSingleLeptonHLTValidation::elec_
private

Definition at line 79 of file B2GSingleLeptonHLTValidation.h.

double B2GSingleLeptonHLTValidation::etaElectrons_
private

Definition at line 83 of file B2GSingleLeptonHLTValidation.h.

double B2GSingleLeptonHLTValidation::etaJets_
private

Definition at line 101 of file B2GSingleLeptonHLTValidation.h.

double B2GSingleLeptonHLTValidation::etaMuons_
private

Definition at line 91 of file B2GSingleLeptonHLTValidation.h.

MonitorElement* B2GSingleLeptonHLTValidation::hDenJetEta
private

Definition at line 75 of file B2GSingleLeptonHLTValidation.h.

MonitorElement* B2GSingleLeptonHLTValidation::hDenJetPt
private

Definition at line 73 of file B2GSingleLeptonHLTValidation.h.

MonitorElement* B2GSingleLeptonHLTValidation::hDenLeptonEta
private

Definition at line 71 of file B2GSingleLeptonHLTValidation.h.

MonitorElement* B2GSingleLeptonHLTValidation::hDenLeptonPt
private

Definition at line 69 of file B2GSingleLeptonHLTValidation.h.

MonitorElement* B2GSingleLeptonHLTValidation::hDenTriggerMon
private

Definition at line 77 of file B2GSingleLeptonHLTValidation.h.

MonitorElement* B2GSingleLeptonHLTValidation::hNumJetEta
private

Definition at line 74 of file B2GSingleLeptonHLTValidation.h.

MonitorElement* B2GSingleLeptonHLTValidation::hNumJetPt
private

Definition at line 72 of file B2GSingleLeptonHLTValidation.h.

MonitorElement* B2GSingleLeptonHLTValidation::hNumLeptonEta
private

Definition at line 70 of file B2GSingleLeptonHLTValidation.h.

MonitorElement* B2GSingleLeptonHLTValidation::hNumLeptonPt
private

Definition at line 68 of file B2GSingleLeptonHLTValidation.h.

MonitorElement* B2GSingleLeptonHLTValidation::hNumTriggerMon
private

Definition at line 76 of file B2GSingleLeptonHLTValidation.h.

bool B2GSingleLeptonHLTValidation::isAll_ = false
private

Definition at line 108 of file B2GSingleLeptonHLTValidation.h.

double B2GSingleLeptonHLTValidation::isoElectrons_
private

Definition at line 84 of file B2GSingleLeptonHLTValidation.h.

double B2GSingleLeptonHLTValidation::isoMuons_
private

Definition at line 92 of file B2GSingleLeptonHLTValidation.h.

bool B2GSingleLeptonHLTValidation::isSel_ = false
private

Definition at line 109 of file B2GSingleLeptonHLTValidation.h.

edm::Ptr<reco::Jet> B2GSingleLeptonHLTValidation::jet_
private

Definition at line 95 of file B2GSingleLeptonHLTValidation.h.

unsigned int B2GSingleLeptonHLTValidation::minElectrons_
private

Definition at line 85 of file B2GSingleLeptonHLTValidation.h.

unsigned int B2GSingleLeptonHLTValidation::minJets_
private

Definition at line 102 of file B2GSingleLeptonHLTValidation.h.

unsigned int B2GSingleLeptonHLTValidation::minMuons_
private

Definition at line 93 of file B2GSingleLeptonHLTValidation.h.

edm::Ptr<reco::Muon> B2GSingleLeptonHLTValidation::mu_
private

Definition at line 87 of file B2GSingleLeptonHLTValidation.h.

double B2GSingleLeptonHLTValidation::ptElectrons_
private

Definition at line 82 of file B2GSingleLeptonHLTValidation.h.

double B2GSingleLeptonHLTValidation::ptJets0_
private

Definition at line 99 of file B2GSingleLeptonHLTValidation.h.

double B2GSingleLeptonHLTValidation::ptJets1_
private

Definition at line 100 of file B2GSingleLeptonHLTValidation.h.

double B2GSingleLeptonHLTValidation::ptJets_
private

Definition at line 98 of file B2GSingleLeptonHLTValidation.h.

double B2GSingleLeptonHLTValidation::ptMuons_
private

Definition at line 90 of file B2GSingleLeptonHLTValidation.h.

std::string B2GSingleLeptonHLTValidation::sDir_
private

Definition at line 67 of file B2GSingleLeptonHLTValidation.h.

std::string B2GSingleLeptonHLTValidation::sElectrons_
private

Definition at line 80 of file B2GSingleLeptonHLTValidation.h.

std::string B2GSingleLeptonHLTValidation::sJets_
private

Definition at line 96 of file B2GSingleLeptonHLTValidation.h.

std::string B2GSingleLeptonHLTValidation::sMuons_
private

Definition at line 88 of file B2GSingleLeptonHLTValidation.h.

std::string B2GSingleLeptonHLTValidation::sTrigger_
private

Definition at line 104 of file B2GSingleLeptonHLTValidation.h.

edm::EDGetTokenT< edm::View<reco::GsfElectron> > B2GSingleLeptonHLTValidation::tokElectrons_
private

Definition at line 81 of file B2GSingleLeptonHLTValidation.h.

edm::EDGetTokenT< edm::View<reco::Jet> > B2GSingleLeptonHLTValidation::tokJets_
private

Definition at line 97 of file B2GSingleLeptonHLTValidation.h.

edm::EDGetTokenT< edm::View<reco::Muon> > B2GSingleLeptonHLTValidation::tokMuons_
private

Definition at line 89 of file B2GSingleLeptonHLTValidation.h.

edm::EDGetTokenT<edm::TriggerResults> B2GSingleLeptonHLTValidation::tokTrigger_
private

Definition at line 105 of file B2GSingleLeptonHLTValidation.h.

std::vector<std::string> B2GSingleLeptonHLTValidation::vsPaths_
private

Definition at line 106 of file B2GSingleLeptonHLTValidation.h.