CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
PatElectronAnalyzer Class Reference
Inheritance diagram for PatElectronAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

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

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)
 

Detailed Description

Definition at line 15 of file PatElectronAnalyzer.cc.

Constructor & Destructor Documentation

PatElectronAnalyzer::PatElectronAnalyzer ( const edm::ParameterSet cfg)
explicit

Definition at line 78 of file PatElectronAnalyzer.cc.

PatElectronAnalyzer::~PatElectronAnalyzer ( )

Definition at line 109 of file PatElectronAnalyzer.cc.

Member Function Documentation

void PatElectronAnalyzer::analyze ( const edm::Event evt,
const edm::EventSetup setup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 114 of file PatElectronAnalyzer.cc.

void PatElectronAnalyzer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 202 of file PatElectronAnalyzer.cc.

void PatElectronAnalyzer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 206 of file PatElectronAnalyzer.cc.

Member Data Documentation

TH1F* PatElectronAnalyzer::deltaPhi_
private

Definition at line 73 of file PatElectronAnalyzer.cc.

TH1F* PatElectronAnalyzer::deltaR_
private

Definition at line 70 of file PatElectronAnalyzer.cc.

std::string PatElectronAnalyzer::electronID_
private

Definition at line 46 of file PatElectronAnalyzer.cc.

edm::EDGetTokenT<std::vector<pat::Electron> > PatElectronAnalyzer::electronSrcToken_
private

Definition at line 49 of file PatElectronAnalyzer.cc.

TH1F* PatElectronAnalyzer::eta_
private

Definition at line 65 of file PatElectronAnalyzer.cc.

TH1F* PatElectronAnalyzer::genEta_
private

Definition at line 68 of file PatElectronAnalyzer.cc.

edm::ParameterSet PatElectronAnalyzer::genMatchMode_
private

Definition at line 53 of file PatElectronAnalyzer.cc.

TH1F* PatElectronAnalyzer::genPhi_
private

Definition at line 69 of file PatElectronAnalyzer.cc.

TH1F* PatElectronAnalyzer::genPt_
private

Definition at line 67 of file PatElectronAnalyzer.cc.

TH1F* PatElectronAnalyzer::invMass_
private

Definition at line 72 of file PatElectronAnalyzer.cc.

TH1F* PatElectronAnalyzer::isoTag_
private

Definition at line 71 of file PatElectronAnalyzer.cc.

double PatElectronAnalyzer::maxDeltaM_
private

Definition at line 59 of file PatElectronAnalyzer.cc.

double PatElectronAnalyzer::maxDeltaR_
private

Definition at line 58 of file PatElectronAnalyzer.cc.

double PatElectronAnalyzer::maxEta_
private

Definition at line 31 of file PatElectronAnalyzer.cc.

double PatElectronAnalyzer::maxTagIso_
private

Definition at line 60 of file PatElectronAnalyzer.cc.

double PatElectronAnalyzer::minPt_
private

Definition at line 30 of file PatElectronAnalyzer.cc.

unsigned int PatElectronAnalyzer::mode_
private

Definition at line 36 of file PatElectronAnalyzer.cc.

TH1I* PatElectronAnalyzer::nr_
private

Definition at line 63 of file PatElectronAnalyzer.cc.

edm::EDGetTokenT<reco::GenParticleCollection> PatElectronAnalyzer::particleSrcToken_
private

Definition at line 51 of file PatElectronAnalyzer.cc.

TH1F* PatElectronAnalyzer::phi_
private

Definition at line 66 of file PatElectronAnalyzer.cc.

TH1F* PatElectronAnalyzer::pt_
private

Definition at line 64 of file PatElectronAnalyzer.cc.

edm::ParameterSet PatElectronAnalyzer::tagAndProbeMode_
private

Definition at line 54 of file PatElectronAnalyzer.cc.