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::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 30 of file MCElectronAnalyzer.cc.
|
explicit |
Definition at line 79 of file MCElectronAnalyzer.cc.
|
override |
Definition at line 83 of file MCElectronAnalyzer.cc.
References theElectronMCTruthFinder_.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 158 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_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 85 of file MCElectronAnalyzer.cc.
References fOutputFile_, fOutputFileName_, h_BremEnergy_, h_BremFrac_, h_MCEleE_, h_MCEleEta_, h_MCElePhi_, nEvt_, p_BremVsEta_, p_BremVsR_, and theElectronMCTruthFinder_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 221 of file MCElectronAnalyzer.cc.
References gather_cfg::cout, fOutputFile_, and nEvt_.
|
private |
Definition at line 105 of file MCElectronAnalyzer.cc.
References funct::abs(), ETA, etaBarrelEndcap, log, PI, R_ECAL, funct::tan(), Z_Endcap, and ZEcal.
|
private |
|
private |
Definition at line 50 of file MCElectronAnalyzer.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 49 of file MCElectronAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 68 of file MCElectronAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 67 of file MCElectronAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 64 of file MCElectronAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 65 of file MCElectronAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 66 of file MCElectronAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 59 of file MCElectronAnalyzer.cc.
|
private |
Definition at line 57 of file MCElectronAnalyzer.cc.
|
private |
global variable for the MC photon
Definition at line 56 of file MCElectronAnalyzer.cc.
|
private |
Definition at line 52 of file MCElectronAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 53 of file MCElectronAnalyzer.cc.
|
private |
Definition at line 71 of file MCElectronAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 70 of file MCElectronAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 62 of file MCElectronAnalyzer.cc.
|
private |
Definition at line 60 of file MCElectronAnalyzer.cc.
|
private |
Definition at line 61 of file MCElectronAnalyzer.cc.
|
private |
Definition at line 45 of file MCElectronAnalyzer.cc.
Referenced by analyze(), beginJob(), and ~MCElectronAnalyzer().
|
private |
Definition at line 47 of file MCElectronAnalyzer.cc.