#include <MCElectronAnalyzer.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
MCElectronAnalyzer (const edm::ParameterSet &) | |
virtual | ~MCElectronAnalyzer () |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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_, mathSSE::return(), and theElectronMCTruthFinder_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
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 abs, ETA, etaBarrelEndcap, funct::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.