Private Member Functions | |
float | etaTransformation (float a, float b) |
Private Attributes | |
std::string | convertedPhotonCollection_ |
std::string | convertedPhotonCollectionProducer_ |
TFile * | fOutputFile_ |
std::string | fOutputFileName_ |
TH2F * | h2_tk_inPtVsR_ |
TH2F * | h2_tk_nHitsVsR_ |
TH1F * | h_deltaEta_ |
TH1F * | h_deltaPhi_ |
TH1F * | h_ErecoEMC_ |
TH1F * | h_MCConvE_ |
TH1F * | h_MCConvEta_ |
TH1F * | h_MCConvPt_ |
TH1F * | h_MCphoE_ |
TH1F * | h_MCphoEta_ |
TH1F * | h_MCphoPhi_ |
TH1F * | h_phoE_ |
TH1F * | h_phoEta_ |
TH1F * | h_phoPhi_ |
TH1F * | h_scE_ |
TH1F * | h_scEta_ |
TH1F * | h_scPhi_ |
std::string | HepMCLabel |
int | nEvt_ |
int | nMatched_ |
int | nMCPho_ |
std::string | SimHitLabel |
std::string | SimTkLabel |
std::string | SimVtxLabel |
PhotonMCTruthFinder * | thePhotonMCTruthFinder_ |
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 36 of file SimpleConvertedPhotonAnalyzer.cc.
|
explicit |
Definition at line 101 of file SimpleConvertedPhotonAnalyzer.cc.
References convertedPhotonCollection_, convertedPhotonCollectionProducer_, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 109 of file SimpleConvertedPhotonAnalyzer.cc.
References thePhotonMCTruthFinder_.
|
overridevirtual |
Loop over recontructed photons
End loop over Reco particles
End loop over MC particles
Implements edm::one::EDAnalyzerBase.
Definition at line 188 of file SimpleConvertedPhotonAnalyzer.cc.
References convertedPhotonCollection_, convertedPhotonCollectionProducer_, gather_cfg::cout, dumpMFGeometry_cfg::delta, spr::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, MillePedeFileConverter_cfg::e, etaTransformation(), PhotonMCTruthFinder::find(), h2_tk_inPtVsR_, h2_tk_nHitsVsR_, h_deltaEta_, h_deltaPhi_, h_ErecoEMC_, h_MCConvEta_, h_MCphoE_, h_MCphoEta_, h_MCphoPhi_, h_scE_, h_scEta_, h_scPhi_, mps_fire::i, nEvt_, nMatched_, nMCPho_, Geom::pi(), funct::pow(), edm::Handle< T >::product(), mathSSE::sqrt(), thePhotonMCTruthFinder_, and Geom::twoPi().
|
overridevirtual |
Reco - MC
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 111 of file SimpleConvertedPhotonAnalyzer.cc.
References fOutputFile_, fOutputFileName_, h2_tk_inPtVsR_, h2_tk_nHitsVsR_, h_deltaEta_, h_deltaPhi_, h_ErecoEMC_, h_MCConvE_, h_MCConvEta_, h_MCConvPt_, h_MCphoE_, h_MCphoEta_, h_MCphoPhi_, h_phoE_, h_phoEta_, h_phoPhi_, h_scE_, h_scEta_, h_scPhi_, nEvt_, nMatched_, nMCPho_, and thePhotonMCTruthFinder_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 324 of file SimpleConvertedPhotonAnalyzer.cc.
References gather_cfg::cout, fOutputFile_, and nEvt_.
|
private |
Definition at line 151 of file SimpleConvertedPhotonAnalyzer.cc.
References ETA, etaBarrelEndcap, dqm-mbProfile::log, PI, R_ECAL, funct::tan(), Z_Endcap, and ZEcal.
Referenced by analyze().
|
private |
Definition at line 65 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and SimpleConvertedPhotonAnalyzer().
|
private |
Definition at line 64 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and SimpleConvertedPhotonAnalyzer().
|
private |
Definition at line 53 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 52 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 93 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 91 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 69 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 68 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 67 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 77 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 79 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 78 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 72 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 74 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 73 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 86 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 87 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 88 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 82 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 83 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 84 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 59 of file SimpleConvertedPhotonAnalyzer.cc.
|
private |
Definition at line 55 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 57 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 56 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 62 of file SimpleConvertedPhotonAnalyzer.cc.
|
private |
Definition at line 60 of file SimpleConvertedPhotonAnalyzer.cc.
|
private |
Definition at line 61 of file SimpleConvertedPhotonAnalyzer.cc.
|
private |
Definition at line 50 of file SimpleConvertedPhotonAnalyzer.cc.
Referenced by analyze(), beginJob(), and ~SimpleConvertedPhotonAnalyzer().