#include <TopElectronHLTOfflineSource.h>
Classes | |
class | EleMEs |
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
virtual void | endJob () |
virtual void | endRun (const edm::Run &run, const edm::EventSetup &c) |
void | fill (EleMEs &eleMEs, const edm::Event &iEvent, size_t eleIndex, const std::vector< const trigger::TriggerObject * > &triggerJets, const std::vector< const trigger::TriggerObject * > &triggerElectrons, const reco::Vertex::Point &vertexPoint) |
virtual void | setupHistos (const std::vector< EleMEs >) |
TopElectronHLTOfflineSource (const edm::ParameterSet &conf) | |
virtual | ~TopElectronHLTOfflineSource () |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
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 (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
Definition at line 30 of file TopElectronHLTOfflineSource.h.
TopElectronHLTOfflineSource::TopElectronHLTOfflineSource | ( | const edm::ParameterSet & | conf | ) |
Definition at line 25 of file TopElectronHLTOfflineSource.cc.
References addExtraId_, dbe_, dirName_, electronIdNames_, electronLabel_, electronMaxEta_, electronMinEt_, electronTriggerNames_, excludeCloseJets_, extraIdCutsDzPV_, extraIdCutsSigmaEta_, extraIdCutsSigmaPhi_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hltTag_, cppFunctionSkipper::operator, primaryVertexLabel_, requireTriggerMatch_, DQMStore::setVerbose(), AlCaHLTBitMon_QueryRunRegistry::string, superTriggerNames_, triggerElectronFilterLabel_, triggerJetFilterLabel_, triggerResultsLabel_, and triggerSummaryLabel_.
|
virtual |
Definition at line 65 of file TopElectronHLTOfflineSource.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 105 of file TopElectronHLTOfflineSource.cc.
References funct::abs(), accept(), beamSpot_, dbe_, electronLabel_, electronMaxEta_, electronMinEt_, electronTriggerNames_, eleHandle_, eleMEs_, reco::LeafCandidate::et(), reco::LeafCandidate::eta(), fill(), edm::Event::getByToken(), hltConfig_, hltConfigValid_, JetPDSkim_cfg::hltResults, i, cmsHarvester::index, j, reco::Vertex::position(), primaryVertexLabel_, edm::Handle< T >::product(), findQualityFiles::size, superTriggerNames_, triggerElectronFilterLabel_, triggerEvent_, HLTConfigProvider::triggerIndex(), triggerJetFilterLabel_, triggerResultsLabel_, and triggerSummaryLabel_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 69 of file TopElectronHLTOfflineSource.cc.
References addExtraId_, edm::EDConsumerBase::consumes(), dbe_, dirName_, electronIdNames_, electronTriggerNames_, eleIdTokenCollection_, eleMEs_, i, j, DQMStore::setCurrentFolder(), and superTriggerNames_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 97 of file TopElectronHLTOfflineSource.cc.
References hltConfig_, hltConfigChanged_, hltConfigValid_, hltTag_, and HLTConfigProvider::init().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 94 of file TopElectronHLTOfflineSource.cc.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 101 of file TopElectronHLTOfflineSource.cc.
void TopElectronHLTOfflineSource::fill | ( | EleMEs & | eleMEs, |
const edm::Event & | iEvent, | ||
size_t | eleIndex, | ||
const std::vector< const trigger::TriggerObject * > & | triggerJets, | ||
const std::vector< const trigger::TriggerObject * > & | triggerElectrons, | ||
const reco::Vertex::Point & | vertexPoint | ||
) |
Definition at line 269 of file TopElectronHLTOfflineSource.cc.
References funct::abs(), addExtraId_, deltaR(), HWWFunctions::dzPV(), eleHandle_, TopElectronHLTOfflineSource::EleMEs::eleIdNames(), eleIdTokenCollection_, TopElectronHLTOfflineSource::EleMEs::eleMENames(), trigger::TriggerObject::et(), excludeCloseJets_, extraIdCutsDzPV_, extraIdCutsSigmaEta_, extraIdCutsSigmaPhi_, TopElectronHLTOfflineSource::EleMEs::fill(), edm::Event::getByToken(), TopElectronHLTOfflineSource::EleMEs::getMESet(), reco::GsfElectron::gsfTrack(), i, reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), reco::GsfElectron::isGap(), j, metsig::jet, reco::GsfElectron::p4(), requireTriggerMatch_, and reco::Candidate::size.
Referenced by analyze().
|
virtual |
Definition at line 87 of file TopElectronHLTOfflineSource.cc.
|
private |
Definition at line 175 of file TopElectronHLTOfflineSource.h.
Referenced by beginJob(), fill(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 159 of file TopElectronHLTOfflineSource.h.
Referenced by analyze().
|
private |
Definition at line 141 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), beginJob(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 143 of file TopElectronHLTOfflineSource.h.
Referenced by beginJob(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 147 of file TopElectronHLTOfflineSource.h.
Referenced by beginJob(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 157 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 172 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 171 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 151 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), beginJob(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 164 of file TopElectronHLTOfflineSource.h.
|
private |
Definition at line 160 of file TopElectronHLTOfflineSource.h.
Referenced by beginJob(), and fill().
|
private |
Definition at line 145 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), beginJob(), and setupHistos().
|
private |
Definition at line 167 of file TopElectronHLTOfflineSource.h.
Referenced by fill(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 180 of file TopElectronHLTOfflineSource.h.
Referenced by fill(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 178 of file TopElectronHLTOfflineSource.h.
Referenced by fill(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 179 of file TopElectronHLTOfflineSource.h.
Referenced by fill(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 184 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 182 of file TopElectronHLTOfflineSource.h.
Referenced by beginRun().
|
private |
Definition at line 183 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 148 of file TopElectronHLTOfflineSource.h.
Referenced by beginRun(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 158 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 169 of file TopElectronHLTOfflineSource.h.
Referenced by fill(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 150 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), beginJob(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 156 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 162 of file TopElectronHLTOfflineSource.h.
Referenced by analyze().
|
private |
Definition at line 155 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 154 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), and TopElectronHLTOfflineSource().
|
private |
Definition at line 153 of file TopElectronHLTOfflineSource.h.
Referenced by analyze(), and TopElectronHLTOfflineSource().