![]() |
![]() |
#include <SimplePhotonAnalyzer.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
SimplePhotonAnalyzer (const edm::ParameterSet &) | |
~SimplePhotonAnalyzer () | |
![]() | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
float | etaTransformation (float a, float b) |
Private Attributes | |
edm::InputTag | barrelEcalHits_ |
TProfile * | effEta_ |
TProfile * | effPhi_ |
edm::InputTag | endcapEcalHits_ |
TH1F * | h1_deltaEta_ |
TH1F * | h1_deltaEtaSC_ |
TH1F * | h1_deltaPhi_ |
TH1F * | h1_pho_E_ |
TH1F * | h1_pho_ecalIsoBarrel_ |
TH1F * | h1_pho_ecalIsoEndcap_ |
TH1F * | h1_pho_Et_ |
TH1F * | h1_pho_Eta_ |
TH1F * | h1_pho_hcalIsoBarrel_ |
TH1F * | h1_pho_hcalIsoEndcap_ |
TH1F * | h1_pho_hOverEBarrel_ |
TH1F * | h1_pho_hOverEEndcap_ |
TH1F * | h1_pho_Phi_ |
TH1F * | h1_pho_R9Barrel_ |
TH1F * | h1_pho_R9Endcap_ |
TH1F * | h1_pho_sigmaIetaIetaBarrel_ |
TH1F * | h1_pho_sigmaIetaIetaEndcap_ |
TH1F * | h1_pho_trkIsoBarrel_ |
TH1F * | h1_pho_trkIsoEndcap_ |
TH1F * | h1_recEoverTrueEBarrel_ |
TH1F * | h1_recEoverTrueEEndcap_ |
TH1F * | h1_scEta_ |
std::string | mcCollection_ |
std::string | mcProducer_ |
std::string | photonCollection_ |
std::string | photonCollectionProducer_ |
float | sample_ |
edm::ESHandle< CaloTopology > | theCaloTopo_ |
std::string | vertexProducer_ |
Additional Inherited Members | |
![]() | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
![]() | |
CurrentProcessingContext const * | currentContext () const |
Description: Get Photon collection from the event and make very basic histos
Definition at line 36 of file SimplePhotonAnalyzer.h.
|
explicit |
Definition at line 30 of file SimplePhotonAnalyzer.cc.
References barrelEcalHits_, endcapEcalHits_, edm::ParameterSet::getParameter(), mcProducer_, photonCollection_, photonCollectionProducer_, sample_, and vertexProducer_.
SimplePhotonAnalyzer::~SimplePhotonAnalyzer | ( | ) |
Definition at line 51 of file SimplePhotonAnalyzer.cc.
|
virtual |
Match reconstructed photon candidates with the nearest generated photonPho;
Plot kinematic disctributions for matched photons
Implements edm::EDAnalyzer.
Definition at line 148 of file SimplePhotonAnalyzer.cc.
References delta, Geom::deltaPhi(), reco::Photon::ecalRecHitSumEtConeDR04(), effEta_, effPhi_, reco::LeafCandidate::energy(), reco::LeafCandidate::et(), eta(), reco::LeafCandidate::eta(), etaTransformation(), configurableAnalysis::GenParticle, edm::EventSetup::get(), edm::Event::getByLabel(), h1_deltaEta_, h1_deltaEtaSC_, h1_deltaPhi_, h1_pho_E_, h1_pho_ecalIsoBarrel_, h1_pho_ecalIsoEndcap_, h1_pho_Et_, h1_pho_Eta_, h1_pho_hcalIsoBarrel_, h1_pho_hcalIsoEndcap_, h1_pho_hOverEBarrel_, h1_pho_hOverEEndcap_, h1_pho_Phi_, h1_pho_R9Barrel_, h1_pho_R9Endcap_, h1_pho_sigmaIetaIetaBarrel_, h1_pho_sigmaIetaIetaEndcap_, h1_pho_trkIsoBarrel_, h1_pho_trkIsoEndcap_, h1_recEoverTrueEBarrel_, h1_recEoverTrueEEndcap_, h1_scEta_, reco::Photon::hadronicOverEm(), reco::Photon::hcalTowerSumEtConeDR04(), edm::EventBase::id(), getHLTprescales::index, mcProducer_, L1TEmulatorMonitor_cff::p, parents, reco::LeafCandidate::phi(), photonCollection_, photonCollectionProducer_, pi, funct::pow(), reco::Photon::r9(), reco::Photon::sigmaIetaIeta(), mathSSE::sqrt(), reco::Photon::superCluster(), theCaloTopo_, and reco::Photon::trkSumPtSolidConeDR04().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 60 of file SimplePhotonAnalyzer.cc.
References dPhi(), effEta_, effPhi_, h1_deltaEta_, h1_deltaEtaSC_, h1_deltaPhi_, h1_pho_E_, h1_pho_ecalIsoBarrel_, h1_pho_ecalIsoEndcap_, h1_pho_Et_, h1_pho_Eta_, h1_pho_hcalIsoBarrel_, h1_pho_hcalIsoEndcap_, h1_pho_hOverEBarrel_, h1_pho_hOverEEndcap_, h1_pho_Phi_, h1_pho_R9Barrel_, h1_pho_R9Endcap_, h1_pho_sigmaIetaIetaBarrel_, h1_pho_sigmaIetaIetaEndcap_, h1_pho_trkIsoBarrel_, h1_pho_trkIsoEndcap_, h1_recEoverTrueEBarrel_, h1_recEoverTrueEEndcap_, h1_scEta_, ExpressReco_HICollisions_FallBack::hiRes, TFileDirectory::make(), and sample_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 341 of file SimplePhotonAnalyzer.cc.
|
private |
Definition at line 301 of file SimplePhotonAnalyzer.cc.
References ETA, etaBarrelEndcap, funct::log(), PI, R_ECAL, funct::tan(), and Z_Endcap.
Referenced by analyze().
|
private |
Definition at line 54 of file SimplePhotonAnalyzer.h.
Referenced by SimplePhotonAnalyzer().
|
private |
Definition at line 63 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 64 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 55 of file SimplePhotonAnalyzer.h.
Referenced by SimplePhotonAnalyzer().
|
private |
Definition at line 89 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 67 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 90 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 68 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 78 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 69 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 70 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 80 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 81 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 76 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 77 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 71 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 72 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 73 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 74 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 75 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 82 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 83 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 87 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 88 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 66 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 50 of file SimplePhotonAnalyzer.h.
|
private |
Definition at line 49 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and SimplePhotonAnalyzer().
|
private |
Definition at line 52 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and SimplePhotonAnalyzer().
|
private |
Definition at line 51 of file SimplePhotonAnalyzer.h.
Referenced by analyze(), and SimplePhotonAnalyzer().
|
private |
Definition at line 60 of file SimplePhotonAnalyzer.h.
Referenced by beginJob(), and SimplePhotonAnalyzer().
|
private |
Definition at line 57 of file SimplePhotonAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 59 of file SimplePhotonAnalyzer.h.
Referenced by SimplePhotonAnalyzer().