#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::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) |
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<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 22 of file MCElectronAnalyzer.h.
|
explicit |
Definition at line 44 of file MCElectronAnalyzer.cc.
|
override |
Definition at line 54 of file MCElectronAnalyzer.cc.
References theElectronMCTruthFinder_.
|
override |
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_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
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_, mathSSE::return(), and theElectronMCTruthFinder_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 222 of file MCElectronAnalyzer.cc.
References gather_cfg::cout, fOutputFile_, nEvt_, and mathSSE::return().
|
private |
Definition at line 90 of file MCElectronAnalyzer.cc.
References funct::abs(), ETA, etaBarrelEndcap, cmsBatch::log, PI, R_ECAL, funct::tan(), and Z_Endcap.
|
private |
|
private |
Definition at line 49 of file MCElectronAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 48 of file MCElectronAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 71 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 67 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 61 of file MCElectronAnalyzer.h.
|
private |
Definition at line 59 of file MCElectronAnalyzer.h.
|
private |
global variable for the MC photon
Definition at line 58 of file MCElectronAnalyzer.h.
|
private |
Definition at line 54 of file MCElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 55 of file MCElectronAnalyzer.h.
|
private |
Definition at line 74 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 73 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 64 of file MCElectronAnalyzer.h.
|
private |
Definition at line 62 of file MCElectronAnalyzer.h.
|
private |
Definition at line 63 of file MCElectronAnalyzer.h.
|
private |
Definition at line 44 of file MCElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and ~MCElectronAnalyzer().
|
private |
Definition at line 46 of file MCElectronAnalyzer.h.