#include <RecoEgamma/PhotonIdentification/test/PhotonIDSimpleAnalyzer.cc>
Classes | |
struct | struct_recPhoton |
Private Attributes | |
bool | createPhotonTTree_ |
TH1F * | h_ebeeGap_ |
TH1F * | h_ebetagap_ |
TH1F * | h_ebphigap_ |
TH1F * | h_eedeeGap_ |
TH1F * | h_eeringGap_ |
TH1F * | h_hadoverem_ |
TH1F * | h_isoEcalRecHit_ |
TH1F * | h_isoHcalRecHit_ |
TH1F * | h_nPassEM_ |
TH1F * | h_nPassingPho_ |
TH1F * | h_nPho_ |
TH1F * | h_ntrk_hollow_ |
TH1F * | h_ntrk_solid_ |
TH1F * | h_photonEt_ |
TH1F * | h_photonEta_ |
TH1F * | h_photonInAnyGap_ |
TH1F * | h_photonPhi_ |
TH1F * | h_photonScEt_ |
TH1F * | h_photonScEta_ |
TH1F * | h_photonScEtaWidth_ |
TH1F * | h_photonScPhi_ |
TH1F * | h_r9_ |
TH1F * | h_trk_pt_hollow_ |
TH1F * | h_trk_pt_solid_ |
double | maxPhotonAbsEta_ |
double | maxPhotonHoverE_ |
double | minPhotonAbsEta_ |
double | minPhotonEt_ |
double | minPhotonR9_ |
std::string | outputFile_ |
struct_recPhoton | recPhoton |
TFile * | rootFile_ |
TTree * | tree_PhotonAll_ |
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) |
Description: Generate various histograms for cuts and important photon ID parameters using a data sample of photons in QCD events.
Implementation: <Notes on="" implementation>="">
Definition at line 73 of file PhotonIDSimpleAnalyzer.cc.
|
explicit |
Definition at line 160 of file PhotonIDSimpleAnalyzer.cc.
References createPhotonTTree_, edm::ParameterSet::getParameter(), maxPhotonAbsEta_, maxPhotonHoverE_, minPhotonAbsEta_, minPhotonEt_, minPhotonR9_, outputFile_, rootFile_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
|
override |
Definition at line 245 of file PhotonIDSimpleAnalyzer.cc.
References createPhotonTTree_, PhotonIDSimpleAnalyzer::struct_recPhoton::et, PhotonIDSimpleAnalyzer::struct_recPhoton::eta, edm::Event::getByLabel(), h_ebeeGap_, h_ebetagap_, h_ebphigap_, h_eedeeGap_, h_eeringGap_, h_hadoverem_, h_isoEcalRecHit_, h_isoHcalRecHit_, h_nPassEM_, h_nPassingPho_, h_nPho_, h_ntrk_hollow_, h_ntrk_solid_, h_photonEt_, h_photonEta_, h_photonInAnyGap_, h_photonPhi_, h_photonScEt_, h_photonScEta_, h_photonScEtaWidth_, h_photonScPhi_, h_r9_, h_trk_pt_hollow_, h_trk_pt_solid_, PhotonIDSimpleAnalyzer::struct_recPhoton::hadronicOverEm, PhotonIDSimpleAnalyzer::struct_recPhoton::isEBEEGap, PhotonIDSimpleAnalyzer::struct_recPhoton::isEBEtaGap, PhotonIDSimpleAnalyzer::struct_recPhoton::isEBPhiGap, PhotonIDSimpleAnalyzer::struct_recPhoton::isEEDeeGap, PhotonIDSimpleAnalyzer::struct_recPhoton::isEERingGap, PhotonIDSimpleAnalyzer::struct_recPhoton::isolationEcalRecHit, PhotonIDSimpleAnalyzer::struct_recPhoton::isolationHcalRecHit, PhotonIDSimpleAnalyzer::struct_recPhoton::isolationHollowTrkCone, PhotonIDSimpleAnalyzer::struct_recPhoton::isolationSolidTrkCone, maxPhotonAbsEta_, maxPhotonHoverE_, minPhotonAbsEta_, minPhotonEt_, minPhotonR9_, PhotonIDSimpleAnalyzer::struct_recPhoton::nTrkHollowCone, PhotonIDSimpleAnalyzer::struct_recPhoton::nTrkSolidCone, PhotonIDSimpleAnalyzer::struct_recPhoton::phi, BPHMonitor_cfi::photons, edm::Handle< T >::product(), PhotonIDSimpleAnalyzer::struct_recPhoton::r9, recPhoton, and tree_PhotonAll_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 194 of file PhotonIDSimpleAnalyzer.cc.
References createPhotonTTree_, h_ebeeGap_, h_ebetagap_, h_ebphigap_, h_eedeeGap_, h_eeringGap_, h_hadoverem_, h_isoEcalRecHit_, h_isoHcalRecHit_, h_nPassEM_, h_nPassingPho_, h_nPho_, h_ntrk_hollow_, h_ntrk_solid_, h_photonEt_, h_photonEta_, h_photonInAnyGap_, h_photonPhi_, h_photonScEt_, h_photonScEta_, h_photonScEtaWidth_, h_photonScPhi_, h_r9_, h_trk_pt_hollow_, h_trk_pt_solid_, PhotonIDSimpleAnalyzer::struct_recPhoton::isolationEcalRecHit, Pi, recPhoton, rootFile_, and tree_PhotonAll_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 367 of file PhotonIDSimpleAnalyzer.cc.
References DEFINE_FWK_MODULE, h_ebeeGap_, h_ebetagap_, h_ebphigap_, h_eedeeGap_, h_eeringGap_, h_hadoverem_, h_isoEcalRecHit_, h_isoHcalRecHit_, h_nPassEM_, h_nPassingPho_, h_nPho_, h_ntrk_hollow_, h_ntrk_solid_, h_photonEt_, h_photonEta_, h_photonInAnyGap_, h_photonPhi_, h_photonScEt_, h_photonScEta_, h_photonScEtaWidth_, h_photonScPhi_, h_r9_, h_trk_pt_hollow_, h_trk_pt_solid_, and rootFile_.
|
private |
Definition at line 89 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and PhotonIDSimpleAnalyzer().
|
private |
Definition at line 130 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 126 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 127 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 129 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 128 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 137 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 120 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 121 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 148 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 147 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 149 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 125 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 124 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 134 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 135 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 146 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 136 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 140 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 141 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 143 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 142 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 131 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 123 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 122 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 86 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), and PhotonIDSimpleAnalyzer().
|
private |
Definition at line 88 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), and PhotonIDSimpleAnalyzer().
|
private |
Definition at line 85 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), and PhotonIDSimpleAnalyzer().
|
private |
Definition at line 84 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), and PhotonIDSimpleAnalyzer().
|
private |
Definition at line 87 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), and PhotonIDSimpleAnalyzer().
|
private |
Definition at line 83 of file PhotonIDSimpleAnalyzer.cc.
Referenced by PhotonIDSimpleAnalyzer().
|
private |
Definition at line 112 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 115 of file PhotonIDSimpleAnalyzer.cc.
Referenced by beginJob(), endJob(), PhotonIDSimpleAnalyzer(), and ~PhotonIDSimpleAnalyzer().
|
private |
Definition at line 152 of file PhotonIDSimpleAnalyzer.cc.
Referenced by analyze(), and beginJob().