Public Member Functions | |
PatElectronAnalyzer (const edm::ParameterSet &) | |
~PatElectronAnalyzer () | |
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 Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | endJob () override |
Private Attributes | |
TH1F * | deltaPhi_ |
TH1F * | deltaR_ |
std::string | electronID_ |
edm::EDGetTokenT< std::vector < pat::Electron > > | electronSrcToken_ |
TH1F * | eta_ |
TH1F * | genEta_ |
edm::ParameterSet | genMatchMode_ |
TH1F * | genPhi_ |
TH1F * | genPt_ |
TH1F * | invMass_ |
TH1F * | isoTag_ |
double | maxDeltaM_ |
double | maxDeltaR_ |
double | maxEta_ |
double | maxTagIso_ |
double | minPt_ |
unsigned int | mode_ |
TH1I * | nr_ |
edm::EDGetTokenT < reco::GenParticleCollection > | particleSrcToken_ |
TH1F * | phi_ |
TH1F * | pt_ |
edm::ParameterSet | tagAndProbeMode_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 15 of file PatElectronAnalyzer.cc.
|
explicit |
Definition at line 78 of file PatElectronAnalyzer.cc.
References deltaPhi_, deltaR_, eta_, genEta_, genMatchMode_, genPhi_, genPt_, edm::ParameterSet::getParameter(), invMass_, isoTag_, maxDeltaM_, maxDeltaR_, maxTagIso_, nr_, phi_, pt_, and tagAndProbeMode_.
PatElectronAnalyzer::~PatElectronAnalyzer | ( | ) |
Definition at line 109 of file PatElectronAnalyzer.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 114 of file PatElectronAnalyzer.cc.
References funct::abs(), SiPixelRawToDigiRegional_cfi::deltaPhi, deltaPhi_, deltaR(), HLT_25ns14e33_v1_cff::DeltaR, deltaR_, electronID_, HI_PhotonSkim_cff::electrons, electronSrcToken_, eta_, genEta_, genPhi_, genPt_, edm::Event::getByToken(), invMass_, isoTag_, maxDeltaM_, maxDeltaR_, maxEta_, maxTagIso_, minPt_, mode_, nr_, particleSrcToken_, phi_, and pt_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 202 of file PatElectronAnalyzer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 206 of file PatElectronAnalyzer.cc.
|
private |
Definition at line 73 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 70 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 46 of file PatElectronAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 49 of file PatElectronAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 68 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 53 of file PatElectronAnalyzer.cc.
Referenced by PatElectronAnalyzer().
|
private |
Definition at line 69 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 67 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 72 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 71 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 59 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 58 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 31 of file PatElectronAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 60 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 30 of file PatElectronAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 36 of file PatElectronAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 51 of file PatElectronAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 66 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 64 of file PatElectronAnalyzer.cc.
Referenced by analyze(), and PatElectronAnalyzer().
|
private |
Definition at line 54 of file PatElectronAnalyzer.cc.
Referenced by PatElectronAnalyzer().