#include <RecoEgamma/PhotonIdentification/test/PatPhotonSimpleAnalyzer.cc>
Classes | |
struct | struct_recPhoton |
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
PatPhotonSimpleAnalyzer (const edm::ParameterSet &) | |
~PatPhotonSimpleAnalyzer () | |
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 Attributes | |
bool | createPhotonTTree_ |
TH1F * | h_ebeeGap_ |
TH1F * | h_ebgap_ |
TH1F * | h_eeGap_ |
TH1F * | h_hadoverem_ |
TH1F * | h_isoEcalRecHit_ |
TH1F * | h_isoHcalRecHit_ |
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::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) |
Description: Generate various histograms for cuts and important photon ID parameters using a data sample of photons in QCD events.
Implementation: <Notes on="" implementation>="">
Description: Analyzer to make a load of histograms for the improvement of the PhotonID object
Implementation: \
Definition at line 37 of file PatPhotonSimpleAnalyzer.h.
|
explicit |
Definition at line 44 of file PatPhotonSimpleAnalyzer.cc.
References edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
PatPhotonSimpleAnalyzer::~PatPhotonSimpleAnalyzer | ( | ) |
Definition at line 69 of file PatPhotonSimpleAnalyzer.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 130 of file PatPhotonSimpleAnalyzer.cc.
References pat::Photon::ecalIso(), reco::Photon::ecalRecHitSumEtConeDR04(), reco::LeafCandidate::et(), reco::LeafCandidate::eta(), HcalObjRepresent::Fill(), edm::Event::getByLabel(), reco::Photon::hadronicOverEm(), pat::Photon::hcalIso(), reco::Photon::hcalTowerSumEtConeDR04(), i, reco::Photon::isEB(), reco::Photon::isEBEEGap(), reco::Photon::isEBGap(), reco::Photon::isEE(), reco::Photon::isEEGap(), reco::Photon::nTrkHollowConeDR04(), reco::Photon::nTrkSolidConeDR04(), reco::LeafCandidate::phi(), interactiveExample::photons, reco::Photon::r9(), pat::Photon::superCluster(), pat::Photon::trackIso(), reco::Photon::trkSumPtHollowConeDR04(), and reco::Photon::trkSumPtSolidConeDR04().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 83 of file PatPhotonSimpleAnalyzer.cc.
References Pi.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 245 of file PatPhotonSimpleAnalyzer.cc.
|
private |
Definition at line 54 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 94 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 92 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 93 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 101 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 86 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 87 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 111 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 112 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 91 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 90 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 98 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 99 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 110 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 100 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 104 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 105 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 107 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 106 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 95 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 89 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 88 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 51 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 53 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 50 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 49 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 52 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 48 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 78 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 81 of file PatPhotonSimpleAnalyzer.h.
|
private |
Definition at line 115 of file PatPhotonSimpleAnalyzer.h.