#include <PatTauAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | beginJob () |
void | endJob () |
PatTauAnalyzer (const edm::ParameterSet &) | |
~PatTauAnalyzer () | |
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 | |
std::vector< ConsumesInfo > | consumesInfo () 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 (const std::string &iProcessName, std::vector< const char * > &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 | discrByIso_ |
std::string | discrByLeadTrack_ |
std::string | discrByTaNC_ |
TH1 * | hGenTauEnergy_ |
TH1 * | hGenTauEta_ |
TH1 * | hGenTauPhi_ |
TH1 * | hGenTauPt_ |
TH1 * | hNumTauJets_ |
TH1 * | hTauDiscrAgainstElectrons_ |
TH1 * | hTauDiscrAgainstMuons_ |
TH1 * | hTauDiscrByIso_ |
TH1 * | hTauDiscrByTaNC_ |
TH1 * | hTauJetEnergy_ |
TH1 * | hTauJetEnergyIsoPassed_ |
TH1 * | hTauJetEnergyTaNCpassed_ |
TH1 * | hTauJetEta_ |
TH1 * | hTauJetEtaIsoPassed_ |
TH1 * | hTauJetEtaTaNCpassed_ |
TH1 * | hTauJetPhi_ |
TH1 * | hTauJetPhiIsoPassed_ |
TH1 * | hTauJetPhiTaNCpassed_ |
TH1 * | hTauJetPt_ |
TH1 * | hTauJetPtIsoPassed_ |
TH1 * | hTauJetPtTaNCpassed_ |
TH1 * | hTauLeadTrackPt_ |
TH1 * | hTauNumIsoConeTracks_ |
TH1 * | hTauNumSigConeTracks_ |
bool | requireGenTauMatch_ |
edm::InputTag | src_ |
edm::EDGetTokenT < pat::TauCollection > | srcToken_ |
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 16 of file PatTauAnalyzer.h.
|
explicit |
Definition at line 24 of file PatTauAnalyzer.cc.
References discrByIso_, discrByLeadTrack_, discrByTaNC_, edm::ParameterSet::getParameter(), requireGenTauMatch_, src_, srcToken_, and AlCaHLTBitMon_QueryRunRegistry::string.
PatTauAnalyzer::~PatTauAnalyzer | ( | ) |
Definition at line 48 of file PatTauAnalyzer.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 152 of file PatTauAnalyzer.cc.
References discrByIso_, discrByLeadTrack_, discrByTaNC_, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), edm::Event::getByToken(), getGenTau(), hGenTauEnergy_, hGenTauEta_, hGenTauPhi_, hGenTauPt_, hNumTauJets_, hTauDiscrAgainstMuons_, hTauDiscrByIso_, hTauDiscrByTaNC_, hTauJetEnergy_, hTauJetEnergyIsoPassed_, hTauJetEnergyTaNCpassed_, hTauJetEtaIsoPassed_, hTauJetEtaTaNCpassed_, hTauJetPhiIsoPassed_, hTauJetPhiTaNCpassed_, hTauJetPt_, hTauJetPtIsoPassed_, hTauJetPtTaNCpassed_, hTauNumIsoConeTracks_, hTauNumSigConeTracks_, tauProducer_cfi::patTaus, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), requireGenTauMatch_, and srcToken_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 86 of file PatTauAnalyzer.cc.
References hGenTauEnergy_, hGenTauEta_, hGenTauPhi_, hGenTauPt_, hNumTauJets_, hTauDiscrAgainstElectrons_, hTauDiscrAgainstMuons_, hTauDiscrByIso_, hTauDiscrByTaNC_, hTauJetEnergy_, hTauJetEnergyIsoPassed_, hTauJetEnergyTaNCpassed_, hTauJetEtaIsoPassed_, hTauJetEtaTaNCpassed_, hTauJetPhiIsoPassed_, hTauJetPhiTaNCpassed_, hTauJetPt_, hTauJetPtIsoPassed_, hTauJetPtTaNCpassed_, hTauLeadTrackPt_, hTauNumIsoConeTracks_, hTauNumSigConeTracks_, TFileService::make(), and Pi.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 258 of file PatTauAnalyzer.cc.
|
private |
Definition at line 35 of file PatTauAnalyzer.h.
Referenced by analyze(), and PatTauAnalyzer().
|
private |
Definition at line 34 of file PatTauAnalyzer.h.
Referenced by analyze(), and PatTauAnalyzer().
|
private |
Definition at line 36 of file PatTauAnalyzer.h.
Referenced by analyze(), and PatTauAnalyzer().
|
private |
Definition at line 39 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 41 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 42 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 40 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 50 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 59 of file PatTauAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 60 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 57 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 58 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 45 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 62 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 67 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 47 of file PatTauAnalyzer.h.
|
private |
Definition at line 64 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 69 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 48 of file PatTauAnalyzer.h.
|
private |
Definition at line 65 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 70 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 46 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 63 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 68 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 52 of file PatTauAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 55 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 54 of file PatTauAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 32 of file PatTauAnalyzer.h.
Referenced by analyze(), and PatTauAnalyzer().
|
private |
Definition at line 29 of file PatTauAnalyzer.h.
Referenced by PatTauAnalyzer().
|
private |
Definition at line 30 of file PatTauAnalyzer.h.
Referenced by analyze(), and PatTauAnalyzer().