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
TopDiLeptonHLTValidation Class Reference

#include <HLTriggerOffline/Top/src/TopDiLeptonHLTValidation.cc>

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

Public Member Functions

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

const reco::GsfElectronelec1_
 
const reco::GsfElectronelec2_
 
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::InputTag iTrigger_
 
const reco::Jetjet_
 
unsigned int minElectrons_
 
unsigned int minJets_
 
unsigned int minMuons_
 
const reco::Muonmu1_
 
const reco::Muonmu2_
 
double ptElectrons_
 
double ptJets_
 
double ptMuons_
 
std::string sDir_
 
std::string sElectrons_
 
std::string sJets_
 
std::string sMuons_
 
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:

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

Implementation: harvesting

Definition at line 51 of file TopDiLeptonHLTValidation.h.

Constructor & Destructor Documentation

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

Definition at line 134 of file TopDiLeptonHLTValidation.h.

TopDiLeptonHLTValidation::~TopDiLeptonHLTValidation ( )

Definition at line 165 of file TopDiLeptonHLTValidation.h.

Member Function Documentation

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

Implements edm::stream::EDAnalyzerBase.

Definition at line 46 of file TopDiLeptonHLTValidation.cc.

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

Implements DQMEDAnalyzer.

Definition at line 163 of file TopDiLeptonHLTValidation.cc.

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

Definition at line 185 of file TopDiLeptonHLTValidation.cc.

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

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

Definition at line 64 of file TopDiLeptonHLTValidation.h.

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

set configurable labels for trigger monitoring histograms

Definition at line 115 of file TopDiLeptonHLTValidation.h.

Member Data Documentation

const reco::GsfElectron* TopDiLeptonHLTValidation::elec1_
private

Definition at line 82 of file TopDiLeptonHLTValidation.h.

const reco::GsfElectron* TopDiLeptonHLTValidation::elec2_
private

Definition at line 83 of file TopDiLeptonHLTValidation.h.

double TopDiLeptonHLTValidation::etaElectrons_
private

Definition at line 87 of file TopDiLeptonHLTValidation.h.

double TopDiLeptonHLTValidation::etaJets_
private

Definition at line 104 of file TopDiLeptonHLTValidation.h.

double TopDiLeptonHLTValidation::etaMuons_
private

Definition at line 96 of file TopDiLeptonHLTValidation.h.

MonitorElement* TopDiLeptonHLTValidation::hDenJetEta
private

Definition at line 78 of file TopDiLeptonHLTValidation.h.

MonitorElement* TopDiLeptonHLTValidation::hDenJetPt
private

Definition at line 76 of file TopDiLeptonHLTValidation.h.

MonitorElement* TopDiLeptonHLTValidation::hDenLeptonEta
private

Definition at line 74 of file TopDiLeptonHLTValidation.h.

MonitorElement* TopDiLeptonHLTValidation::hDenLeptonPt
private

Definition at line 72 of file TopDiLeptonHLTValidation.h.

MonitorElement* TopDiLeptonHLTValidation::hDenTriggerMon
private

Definition at line 80 of file TopDiLeptonHLTValidation.h.

MonitorElement* TopDiLeptonHLTValidation::hNumJetEta
private

Definition at line 77 of file TopDiLeptonHLTValidation.h.

MonitorElement* TopDiLeptonHLTValidation::hNumJetPt
private

Definition at line 75 of file TopDiLeptonHLTValidation.h.

MonitorElement* TopDiLeptonHLTValidation::hNumLeptonEta
private

Definition at line 73 of file TopDiLeptonHLTValidation.h.

MonitorElement* TopDiLeptonHLTValidation::hNumLeptonPt
private

Definition at line 71 of file TopDiLeptonHLTValidation.h.

MonitorElement* TopDiLeptonHLTValidation::hNumTriggerMon
private

Definition at line 79 of file TopDiLeptonHLTValidation.h.

bool TopDiLeptonHLTValidation::isAll_ = false
private

Definition at line 111 of file TopDiLeptonHLTValidation.h.

double TopDiLeptonHLTValidation::isoElectrons_
private

Definition at line 88 of file TopDiLeptonHLTValidation.h.

double TopDiLeptonHLTValidation::isoMuons_
private

Definition at line 97 of file TopDiLeptonHLTValidation.h.

bool TopDiLeptonHLTValidation::isSel_ = false
private

Definition at line 112 of file TopDiLeptonHLTValidation.h.

edm::InputTag TopDiLeptonHLTValidation::iTrigger_
private

Definition at line 107 of file TopDiLeptonHLTValidation.h.

const reco::Jet* TopDiLeptonHLTValidation::jet_
private

Definition at line 100 of file TopDiLeptonHLTValidation.h.

unsigned int TopDiLeptonHLTValidation::minElectrons_
private

Definition at line 89 of file TopDiLeptonHLTValidation.h.

unsigned int TopDiLeptonHLTValidation::minJets_
private

Definition at line 105 of file TopDiLeptonHLTValidation.h.

unsigned int TopDiLeptonHLTValidation::minMuons_
private

Definition at line 98 of file TopDiLeptonHLTValidation.h.

const reco::Muon* TopDiLeptonHLTValidation::mu1_
private

Definition at line 91 of file TopDiLeptonHLTValidation.h.

const reco::Muon* TopDiLeptonHLTValidation::mu2_
private

Definition at line 92 of file TopDiLeptonHLTValidation.h.

double TopDiLeptonHLTValidation::ptElectrons_
private

Definition at line 86 of file TopDiLeptonHLTValidation.h.

double TopDiLeptonHLTValidation::ptJets_
private

Definition at line 103 of file TopDiLeptonHLTValidation.h.

double TopDiLeptonHLTValidation::ptMuons_
private

Definition at line 95 of file TopDiLeptonHLTValidation.h.

std::string TopDiLeptonHLTValidation::sDir_
private

Definition at line 70 of file TopDiLeptonHLTValidation.h.

std::string TopDiLeptonHLTValidation::sElectrons_
private

Definition at line 84 of file TopDiLeptonHLTValidation.h.

std::string TopDiLeptonHLTValidation::sJets_
private

Definition at line 101 of file TopDiLeptonHLTValidation.h.

std::string TopDiLeptonHLTValidation::sMuons_
private

Definition at line 93 of file TopDiLeptonHLTValidation.h.

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

Definition at line 85 of file TopDiLeptonHLTValidation.h.

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

Definition at line 102 of file TopDiLeptonHLTValidation.h.

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

Definition at line 94 of file TopDiLeptonHLTValidation.h.

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

Definition at line 108 of file TopDiLeptonHLTValidation.h.

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

Definition at line 109 of file TopDiLeptonHLTValidation.h.