#include <MCElectronAnalyzer.h>
Private Member Functions | |
float | etaTransformation (float a, float b) |
float | phiNormalization (float &a) |
Private Attributes | |
TFile * | fOutputFile_ |
std::string | fOutputFileName_ |
TH1F * | h_BremEnergy_ |
TH1F * | h_BremFrac_ |
TH1F * | h_MCEleE_ |
TH1F * | h_MCEleEta_ |
TH1F * | h_MCElePhi_ |
std::string | HepMCLabel |
double | mcEta_ |
double | mcPhi_ |
global variable for the MC photon More... | |
int | nEvt_ |
int | nMatched_ |
TProfile * | p_BremVsEta_ |
TProfile * | p_BremVsR_ |
std::string | SimHitLabel |
std::string | SimTkLabel |
std::string | SimVtxLabel |
ElectronMCTruthFinder * | theElectronMCTruthFinder_ |
const TrackerGeometry * | trackerGeom |
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 23 of file MCElectronAnalyzer.h.
|
explicit |
Definition at line 44 of file MCElectronAnalyzer.cc.
|
virtual |
Definition at line 54 of file MCElectronAnalyzer.cc.
References theElectronMCTruthFinder_.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 144 of file MCElectronAnalyzer.cc.
References gather_cfg::cout, ElectronMCTruthFinder::find(), edm::Event::getByLabel(), h_BremEnergy_, h_BremFrac_, h_MCEleE_, h_MCEleEta_, h_MCElePhi_, edm::EventBase::id(), nEvt_, p_BremVsEta_, p_BremVsR_, and theElectronMCTruthFinder_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 62 of file MCElectronAnalyzer.cc.
References fOutputFile_, fOutputFileName_, h_BremEnergy_, h_BremFrac_, h_MCEleE_, h_MCEleEta_, h_MCElePhi_, nEvt_, p_BremVsEta_, p_BremVsR_, reco::return(), and theElectronMCTruthFinder_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 222 of file MCElectronAnalyzer.cc.
References gather_cfg::cout, fOutputFile_, nEvt_, and reco::return().
|
private |
Definition at line 90 of file MCElectronAnalyzer.cc.
References funct::abs(), ETA, etaBarrelEndcap, create_public_lumi_plots::log, PI, R_ECAL, funct::tan(), and Z_Endcap.
|
private |
Definition at line 125 of file MCElectronAnalyzer.cc.
References phi, PI, and TWOPI.
|
private |
Definition at line 50 of file MCElectronAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 49 of file MCElectronAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 72 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 71 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 68 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 69 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 70 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 62 of file MCElectronAnalyzer.h.
|
private |
Definition at line 60 of file MCElectronAnalyzer.h.
|
private |
global variable for the MC photon
Definition at line 59 of file MCElectronAnalyzer.h.
|
private |
Definition at line 55 of file MCElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 56 of file MCElectronAnalyzer.h.
|
private |
Definition at line 75 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 74 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 65 of file MCElectronAnalyzer.h.
|
private |
Definition at line 63 of file MCElectronAnalyzer.h.
|
private |
Definition at line 64 of file MCElectronAnalyzer.h.
|
private |
Definition at line 45 of file MCElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and ~MCElectronAnalyzer().
|
private |
Definition at line 47 of file MCElectronAnalyzer.h.