#include <MCPizeroAnalyzer.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
MCPizeroAnalyzer (const edm::ParameterSet &) | |
virtual | ~MCPizeroAnalyzer () |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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_ |
TH2F * | h_EleEvsPhoE_ |
TH1F * | h_MCConvPhoE_ |
TH1F * | h_MCConvPhoEta_ |
TH1F * | h_MCConvPhoPhi_ |
TH1F * | h_MCConvPhoR_ |
TH1F * | h_MCEleE_ |
TH1F * | h_MCEleEta_ |
TH1F * | h_MCElePhi_ |
TH1F * | h_MCPhoE_ |
TH1F * | h_MCPhoEta_ |
TH1F * | h_MCPhoPhi_ |
TH1F * | h_MCPiz1ConEta_ |
TH1F * | h_MCPiz2ConEta_ |
TH1F * | h_MCPizE_ |
TH1F * | h_MCPizEta_ |
TH1F * | h_MCPizMass1_ |
TH1F * | h_MCPizMass2_ |
TH1F * | h_MCPizPhi_ |
TH1F * | h_MCPizUnEta_ |
std::string | HepMCLabel |
double | mcEta_ |
double | mcPhi_ |
global variable for the MC photon More... | |
int | nEvt_ |
int | nMatched_ |
std::string | SimHitLabel |
std::string | SimTkLabel |
std::string | SimVtxLabel |
PizeroMCTruthFinder * | thePizeroMCTruthFinder_ |
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 MCPizeroAnalyzer.h.
|
explicit |
Definition at line 45 of file MCPizeroAnalyzer.cc.
|
virtual |
Definition at line 55 of file MCPizeroAnalyzer.cc.
References thePizeroMCTruthFinder_.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 162 of file MCPizeroAnalyzer.cc.
References gather_cfg::cout, PizeroMCTruthFinder::find(), edm::Event::getByLabel(), h_BremEnergy_, h_BremFrac_, h_EleEvsPhoE_, h_MCConvPhoE_, h_MCConvPhoEta_, h_MCConvPhoPhi_, h_MCConvPhoR_, h_MCEleE_, h_MCEleEta_, h_MCElePhi_, h_MCPhoE_, h_MCPhoEta_, h_MCPhoPhi_, h_MCPiz1ConEta_, h_MCPiz2ConEta_, h_MCPizE_, h_MCPizEta_, h_MCPizMass1_, h_MCPizPhi_, h_MCPizUnEta_, edm::EventBase::id(), nEvt_, mathSSE::sqrt(), and thePizeroMCTruthFinder_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 63 of file MCPizeroAnalyzer.cc.
References fOutputFile_, fOutputFileName_, h_BremEnergy_, h_BremFrac_, h_EleEvsPhoE_, h_MCConvPhoE_, h_MCConvPhoEta_, h_MCConvPhoPhi_, h_MCConvPhoR_, h_MCEleE_, h_MCEleEta_, h_MCElePhi_, h_MCPhoE_, h_MCPhoEta_, h_MCPhoPhi_, h_MCPiz1ConEta_, h_MCPiz2ConEta_, h_MCPizE_, h_MCPizEta_, h_MCPizMass1_, h_MCPizMass2_, h_MCPizPhi_, h_MCPizUnEta_, nEvt_, mathSSE::return(), and thePizeroMCTruthFinder_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 279 of file MCPizeroAnalyzer.cc.
References gather_cfg::cout, fOutputFile_, nEvt_, and mathSSE::return().
|
private |
Definition at line 108 of file MCPizeroAnalyzer.cc.
References ETA, etaBarrelEndcap, cmsBatch::log, PI, R_ECAL, funct::tan(), and Z_Endcap.
|
private |
Definition at line 143 of file MCPizeroAnalyzer.cc.
References phi, PI, and TWOPI.
|
private |
Definition at line 50 of file MCPizeroAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 49 of file MCPizeroAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 81 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 80 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 83 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 88 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 89 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 90 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 91 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 77 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 78 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 85 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 86 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 87 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 71 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 72 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 68 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 69 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 74 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 75 of file MCPizeroAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 73 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 70 of file MCPizeroAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 62 of file MCPizeroAnalyzer.h.
|
private |
Definition at line 60 of file MCPizeroAnalyzer.h.
|
private |
global variable for the MC photon
Definition at line 59 of file MCPizeroAnalyzer.h.
|
private |
Definition at line 55 of file MCPizeroAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 56 of file MCPizeroAnalyzer.h.
|
private |
Definition at line 65 of file MCPizeroAnalyzer.h.
|
private |
Definition at line 63 of file MCPizeroAnalyzer.h.
|
private |
Definition at line 64 of file MCPizeroAnalyzer.h.
|
private |
Definition at line 45 of file MCPizeroAnalyzer.h.
Referenced by analyze(), beginJob(), and ~MCPizeroAnalyzer().