#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 | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 20 of file MCElectronAnalyzer.h.
|
explicit |
Definition at line 41 of file MCElectronAnalyzer.cc.
|
override |
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 120 of file MCElectronAnalyzer.cc.
References gather_cfg::cout, MillePedeFileConverter_cfg::e, ElectronMCTruthFinder::find(), 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 47 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 183 of file MCElectronAnalyzer.cc.
References gather_cfg::cout, fOutputFile_, and nEvt_.
|
private |
Definition at line 67 of file MCElectronAnalyzer.cc.
References funct::abs(), ETA, etaBarrelEndcap, dqm-mbProfile::log, PI, R_ECAL, funct::tan(), Z_Endcap, and ZEcal.
|
private |
Definition at line 104 of file MCElectronAnalyzer.cc.
|
private |
Definition at line 40 of file MCElectronAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 39 of file MCElectronAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 58 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 57 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 54 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 55 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 56 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 49 of file MCElectronAnalyzer.h.
|
private |
Definition at line 47 of file MCElectronAnalyzer.h.
|
private |
global variable for the MC photon
Definition at line 46 of file MCElectronAnalyzer.h.
|
private |
Definition at line 42 of file MCElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 43 of file MCElectronAnalyzer.h.
|
private |
Definition at line 61 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 60 of file MCElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 52 of file MCElectronAnalyzer.h.
|
private |
Definition at line 50 of file MCElectronAnalyzer.h.
|
private |
Definition at line 51 of file MCElectronAnalyzer.h.
|
private |
Definition at line 35 of file MCElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and ~MCElectronAnalyzer().
|
private |
Definition at line 37 of file MCElectronAnalyzer.h.