#include <Photon.h>
Classes | |
struct | EnergyCorrections |
struct | FiducialFlags |
struct | IsolationVariables |
struct | MIPVariables |
struct | PflowIDVariables |
struct | PflowIsolationVariables |
struct | ShowerShape |
Public Types | |
enum | ConversionProvenance { egamma =0, pflow =1, both =2 } |
enum | P4type { undefined =-1, ecal_standard =0, ecal_photons =1, regression1 =2, regression2 = 3 } |
Public Types inherited from reco::RecoCandidate | |
enum | TrackType { noTrackType, recoTrackType, gsfTrackType } |
track type More... | |
Public Types inherited from reco::LeafCandidate | |
typedef int | Charge |
electric charge type More... | |
typedef CandidateCollection | daughters |
collection of daughter candidates More... | |
typedef unsigned int | index |
typedef math::XYZTLorentzVector | LorentzVector |
Lorentz vector. More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. More... | |
typedef math::XYZVector | Vector |
point in the space More... | |
Public Types inherited from reco::Candidate | |
enum | { dimension = 3 } |
enum | { size = dimension * (dimension + 1)/2 } |
matix size More... | |
typedef int | Charge |
electric charge type More... | |
typedef candidate::const_iterator | const_iterator |
typedef math::Error< dimension > ::type | CovarianceMatrix |
covariance error matrix (3x3) More... | |
typedef unsigned int | index |
index type More... | |
typedef candidate::iterator | iterator |
typedef math::XYZTLorentzVector | LorentzVector |
Lorentz vector. More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. More... | |
typedef size_t | size_type |
typedef math::XYZVector | Vector |
point in the space More... | |
Public Member Functions | |
math::XYZPointF | caloPosition () const |
position in ECAL: this is th SC position if r9<0.93. If r8>0.93 is position of seed BasicCluster taking shower depth for unconverted photon More... | |
float | chargedHadronIso () const |
Accessors for Particle Flow Isolation variables. More... | |
float | chargedHadronIsoWrongVtx () const |
virtual Photon * | clone () const |
returns a clone of the candidate More... | |
reco::ConversionRefVector | conversions () const |
vector of references to Conversion's More... | |
reco::ConversionRefVector | conversionsOneLeg () const |
vector of references to one leg Conversion's More... | |
int | conversionTrackProvenance (const edm::RefToBase< reco::Track > &convTrack) const |
float | e1x5 () const |
Shower shape variables. More... | |
float | e2x5 () const |
float | e3x3 () const |
float | e5x5 () const |
float | ecalRecHitSumEtConeDR03 () const |
Isolation variables in cone dR=0.3. More... | |
float | ecalRecHitSumEtConeDR04 () const |
reco::ElectronSeedRefVector | electronPixelSeeds () const |
reference to electron Pixel seed More... | |
const EnergyCorrections & | energyCorrections () const |
float | etOutsideMustache () const |
float | full5x5_e1x5 () const |
full5x5 Shower shape variables More... | |
float | full5x5_e2x5 () const |
float | full5x5_e3x3 () const |
float | full5x5_e5x5 () const |
float | full5x5_maxEnergyXtal () const |
float | full5x5_r1x5 () const |
float | full5x5_r2x5 () const |
float | full5x5_r9 () const |
void | full5x5_setShowerShapeVariables (const ShowerShape &a) |
const ShowerShape & | full5x5_showerShapeVariables () const |
float | full5x5_sigmaEtaEta () const |
float | full5x5_sigmaIetaIeta () const |
P4type | getCandidateP4type () const |
float | getCorrectedEnergy (P4type type) const |
float | getCorrectedEnergyError (P4type type) const |
float | hadronicDepth1OverEm () const |
the hadronic release in depth1 over electromagnetic fraction More... | |
float | hadronicDepth2OverEm () const |
the hadronic release in depth2 over electromagnetic fraction More... | |
float | hadronicOverEm () const |
the total hadronic over electromagnetic fraction More... | |
float | hadTowDepth1OverEm () const |
the ration of hadronic energy in towers depth1 behind the BCs in the SC and the SC energy More... | |
float | hadTowDepth2OverEm () const |
the ration of hadronic energy in towers depth2 behind the BCs in the SC and the SC energy More... | |
float | hadTowOverEm () const |
the ration of hadronic energy in towers behind the BCs in the SC and the SC energy More... | |
bool | hasConversionTracks () const |
Bool flagging photons with a vector of refereces to conversions with size >0. More... | |
bool | hasPixelSeed () const |
Bool flagging photons having a non-zero size vector of Ref to electornPixel seeds. More... | |
float | hcalDepth1TowerSumEtBcConeDR03 () const |
Hcal-Depth1 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC. More... | |
float | hcalDepth1TowerSumEtBcConeDR04 () const |
Hcal-Depth1 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC. More... | |
float | hcalDepth1TowerSumEtConeDR03 () const |
Hcal-Depth1 isolation sum. More... | |
float | hcalDepth1TowerSumEtConeDR04 () const |
Hcal-Depth1 isolation sum. More... | |
float | hcalDepth2TowerSumEtBcConeDR03 () const |
Hcal-Depth2 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC. More... | |
float | hcalDepth2TowerSumEtBcConeDR04 () const |
Hcal-Depth2 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC. More... | |
float | hcalDepth2TowerSumEtConeDR03 () const |
Hcal-Depth2 isolation sum. More... | |
float | hcalDepth2TowerSumEtConeDR04 () const |
Hcal-Depth2 isolation sum. More... | |
const std::vector < CaloTowerDetId > & | hcalTowersBehindClusters () const |
float | hcalTowerSumEtBcConeDR03 () const |
Hcal isolation sum subtracting the hadronic energy in towers behind the BCs in the SC. More... | |
float | hcalTowerSumEtBcConeDR04 () const |
Hcal isolation sum subtracting the hadronic energy in towers behind the BCs in the SC. More... | |
float | hcalTowerSumEtConeDR03 () const |
Hcal isolation sum. More... | |
float | hcalTowerSumEtConeDR04 () const |
Hcal isolation sum. More... | |
bool | isEB () const |
bool | isEBEEGap () const |
true if photon is in boundary between EB and EE More... | |
bool | isEBEtaGap () const |
bool | isEBGap () const |
true if photon is in EB, and inside the boundaries in super crystals/modules More... | |
bool | isEBPhiGap () const |
bool | isEE () const |
bool | isEEDeeGap () const |
bool | isEEGap () const |
true if photon is in EE, and inside the boundaries in supercrystal/D More... | |
bool | isEERingGap () const |
bool | isPFlowPhoton () const |
Retrieve photonCore attributes. More... | |
bool | isPhoton () const |
Implement Candidate method for particle species. More... | |
bool | isStandardPhoton () const |
float | maxEnergyXtal () const |
float | mipChi2 () const |
MIP variables. More... | |
float | mipIntercept () const |
bool | mipIsHalo () const |
int | mipNhitCone () const |
float | mipSlope () const |
float | mipTotEnergy () const |
int | nClusterOutsideMustache () const |
float | neutralHadronIso () const |
int | nTrkHollowConeDR03 () const |
int | nTrkHollowConeDR04 () const |
int | nTrkSolidConeDR03 () const |
int | nTrkSolidConeDR04 () const |
const LorentzVector & | p4 (P4type type) const |
reco::SuperClusterRef | parentSuperCluster () const |
Ref to PFlow SuperCluster. More... | |
float | pfMVA () const |
Photon () | |
default constructor More... | |
Photon (const Photon &) | |
copy constructor More... | |
Photon (const LorentzVector &p4, const Point &caloPos, const PhotonCoreRef &core, const Point &vtx=Point(0, 0, 0)) | |
constructor from values More... | |
reco::PhotonCoreRef | photonCore () const |
returns a reference to the core photon object More... | |
float | photonIso () const |
float | r1x5 () const |
float | r2x5 () const |
float | r9 () const |
void | setCandidateP4type (const P4type type) |
void | setCorrectedEnergy (P4type type, float E, float dE, bool toCand=true) |
void | setEnergyCorrections (const EnergyCorrections &e) |
void | setFiducialVolumeFlags (const FiducialFlags &a) |
set flags for photons in the ECAL fiducial volume More... | |
void | setIsolationVariables (const IsolationVariables &isolInDr04, const IsolationVariables &isolInDr03) |
set relevant isolation variables More... | |
void | setMIPVariables (const MIPVariables &mipVar) |
set mip Variables More... | |
void | setP4 (P4type type, const LorentzVector &p4, float p4Error, bool setToRecoCandidate) |
void | setPflowIDVariables (const PflowIDVariables &pfid) |
void | setPflowIsolationVariables (const PflowIsolationVariables &pfisol) |
Set Particle Flow Isolation variables. More... | |
void | setPhotonCore (const reco::PhotonCoreRef &photonCore) |
void | setShowerShapeVariables (const ShowerShape &a) |
void | setVertex (const Point &vertex) |
set primary event vertex used to define photon direction More... | |
const ShowerShape & | showerShapeVariables () const |
float | sigmaEtaEta () const |
float | sigmaIetaIeta () const |
float | sumChargedParticlePt () const |
float | sumNeutralHadronEtHighThreshold () const |
float | sumPhotonEtHighThreshold () const |
float | sumPUPt () const |
reco::SuperClusterRef | superCluster () const |
Ref to SuperCluster. More... | |
float | trkSumPtHollowConeDR03 () const |
float | trkSumPtHollowConeDR04 () const |
float | trkSumPtSolidConeDR03 () const |
float | trkSumPtSolidConeDR04 () const |
virtual | ~Photon () |
destructor More... | |
Public Member Functions inherited from reco::RecoCandidate | |
virtual const Track * | bestTrack () const |
best track pointer More... | |
virtual TrackBaseRef | bestTrackRef () const |
best track RefToBase More... | |
virtual TrackType | bestTrackType () const |
track type More... | |
virtual CaloTowerRef | caloTower () const |
reference to a CaloTower More... | |
virtual reco::TrackRef | combinedMuon () const |
reference to a stand-alone muon Track More... | |
virtual float | dxyError () const |
uncertainty on dxy More... | |
virtual float | dzError () const |
uncertainty on dz More... | |
virtual reco::GsfTrackRef | gsfTrack () const |
reference to a GsfTrack More... | |
virtual size_t | numberOfTracks () const |
number of multiple Tracks More... | |
RecoCandidate () | |
default constructor More... | |
template<typename P4 > | |
RecoCandidate (Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0) | |
constructor from values More... | |
virtual reco::TrackRef | standAloneMuon () const |
reference to a stand-alone muon Track More... | |
virtual reco::TrackRef | track () const |
reference to a Track More... | |
virtual reco::TrackRef | track (size_t) const |
reference to one of multiple Tracks More... | |
virtual | ~RecoCandidate () |
destructor More... | |
Public Member Functions inherited from reco::LeafCandidate | |
virtual Vector | boostToCM () const |
virtual int | charge () const |
electric charge More... | |
void | construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status) |
virtual const Candidate * | daughter (size_type) const |
return daughter at a given position (throws an exception) More... | |
virtual Candidate * | daughter (size_type) |
return daughter at a given position (throws an exception) More... | |
virtual Candidate * | daughter (const std::string &s) |
return daughter with a specified role name More... | |
virtual const Candidate * | daughter (const std::string &s) const |
return daughter with a specified role name More... | |
virtual double | energy () const |
energy More... | |
virtual double | et () const |
transverse energy More... | |
virtual double | et2 () const |
transverse energy squared (use this for cut!) More... | |
virtual double | eta () const |
momentum pseudorapidity More... | |
virtual void | fillVertexCovariance (CovarianceMatrix &v) const |
fill SMatrix More... | |
template<typename T > | |
T | get () const |
get a component More... | |
template<typename T , typename Tag > | |
T | get () const |
get a component More... | |
template<typename T > | |
T | get (size_type i) const |
get a component More... | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component More... | |
virtual bool | hasMasterClone () const |
virtual bool | hasMasterClonePtr () const |
virtual bool | isCaloMuon () const |
virtual bool | isConvertedPhoton () const |
virtual bool | isElectron () const |
virtual bool | isGlobalMuon () const |
virtual bool | isJet () const |
virtual bool | isMuon () const |
virtual bool | isStandAloneMuon () const |
virtual bool | isTrackerMuon () const |
LeafCandidate () | |
LeafCandidate (const Candidate &c) | |
template<typename... Args> | |
LeafCandidate (Args &&...args) | |
LeafCandidate (LeafCandidate &rh) | |
LeafCandidate (LeafCandidate &&)=default | |
LeafCandidate (LeafCandidate const &)=default | |
virtual bool | longLived () const |
is long lived? More... | |
virtual double | mass () const |
mass More... | |
virtual bool | massConstraint () const |
do mass constraint? More... | |
virtual double | massSqr () const |
mass squared More... | |
virtual const CandidateBaseRef & | masterClone () const |
virtual const CandidatePtr & | masterClonePtr () const |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
virtual Vector | momentum () const |
spatial momentum vector More... | |
virtual const Candidate * | mother (size_type) const |
return mother at a given position (throws an exception) More... | |
virtual double | mt () const |
transverse mass More... | |
virtual double | mtSqr () const |
transverse mass squared More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
virtual size_t | numberOfDaughters () const |
number of daughters More... | |
virtual size_t | numberOfMothers () const |
number of mothers More... | |
virtual size_t | numberOfSourceCandidatePtrs () const |
LeafCandidate & | operator= (LeafCandidate &&)=default |
LeafCandidate & | operator= (LeafCandidate const &)=default |
virtual double | p () const |
magnitude of momentum vector More... | |
virtual const LorentzVector & | p4 () const |
four-momentum Lorentz vector More... | |
virtual int | pdgId () const |
PDG identifier. More... | |
virtual double | phi () const |
momentum azimuthal angle More... | |
virtual const PolarLorentzVector & | polarP4 () const |
four-momentum Lorentz vector More... | |
virtual double | pt () const |
transverse momentum More... | |
virtual double | px () const |
x coordinate of momentum vector More... | |
virtual double | py () const |
y coordinate of momentum vector More... | |
virtual double | pz () const |
z coordinate of momentum vector More... | |
virtual double | rapidity () const |
rapidity More... | |
virtual void | setCharge (Charge q) |
set electric charge More... | |
virtual void | setLongLived () |
virtual void | setMass (double m) |
set particle mass More... | |
virtual void | setMassConstraint () |
virtual void | setP4 (const LorentzVector &p4) |
set 4-momentum More... | |
virtual void | setP4 (const PolarLorentzVector &p4) |
set 4-momentum More... | |
virtual void | setPdgId (int pdgId) |
virtual void | setPz (double pz) |
virtual void | setStatus (int status) |
set status word More... | |
virtual void | setThreeCharge (Charge qx3) |
set electric charge More... | |
virtual CandidatePtr | sourceCandidatePtr (size_type i) const |
virtual int | status () const |
status word More... | |
virtual double | theta () const |
momentum polar angle More... | |
virtual int | threeCharge () const |
electric charge More... | |
virtual const Point & | vertex () const |
vertex position (overwritten by PF...) More... | |
virtual double | vertexChi2 () const |
chi-squares More... | |
virtual double | vertexCovariance (int i, int j) const |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | vertexCovariance () const |
return SMatrix More... | |
virtual double | vertexNdof () const |
virtual double | vertexNormalizedChi2 () const |
chi-squared divided by n.d.o.f. More... | |
virtual double | vx () const |
x coordinate of vertex position More... | |
virtual double | vy () const |
y coordinate of vertex position More... | |
virtual double | vz () const |
z coordinate of vertex position More... | |
virtual double | y () const |
rapidity More... | |
virtual | ~LeafCandidate () |
destructor More... | |
Public Member Functions inherited from reco::Candidate | |
const_iterator | begin () const |
first daughter const_iterator More... | |
iterator | begin () |
first daughter iterator More... | |
Candidate () | |
default constructor More... | |
const_iterator | end () const |
last daughter const_iterator More... | |
iterator | end () |
last daughter iterator More... | |
template<typename T > | |
T | get () const |
get a component More... | |
template<typename T , typename Tag > | |
T | get () const |
get a component More... | |
template<typename T > | |
T | get (size_type i) const |
get a component More... | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component More... | |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
virtual void | setSourceCandidatePtr (const CandidatePtr &ptr) |
Set the ptr to the source Candidate. More... | |
virtual | ~Candidate () |
destructor More... | |
Private Member Functions | |
virtual bool | overlap (const Candidate &) const |
check overlap with another candidate More... | |
Private Attributes | |
math::XYZPointF | caloPosition_ |
position of seed BasicCluster for shower depth of unconverted photon More... | |
EnergyCorrections | eCorrections_ |
FiducialFlags | fiducialFlagBlock_ |
ShowerShape | full5x5_showerShapeBlock_ |
IsolationVariables | isolationR03_ |
IsolationVariables | isolationR04_ |
MIPVariables | mipVariableBlock_ |
PflowIDVariables | pfID_ |
PflowIsolationVariables | pfIsolation_ |
reco::PhotonCoreRef | photonCore_ |
reference to the PhotonCore More... | |
bool | pixelSeed_ |
ShowerShape | showerShapeBlock_ |
Additional Inherited Members | |
Protected Member Functions inherited from reco::RecoCandidate | |
template<typename R > | |
bool | checkOverlap (const R &r1, const R &r2) const |
check if two components overlap More... | |
Enumerator | |
---|---|
egamma | |
pflow | |
both |
enum reco::Photon::P4type |
Enumerator | |
---|---|
undefined | |
ecal_standard | |
ecal_photons | |
regression1 | |
regression2 |
Definition at line 215 of file Photon.h.
|
inline |
reco::Photon::Photon | ( | const Photon & | ) |
copy constructor
reco::Photon::Photon | ( | const LorentzVector & | p4, |
const Point & | caloPos, | ||
const PhotonCoreRef & | core, | ||
const Point & | vtx = Point(0, 0, 0) |
||
) |
constructor from values
|
virtual |
destructor
Reimplemented in pat::Photon.
|
inline |
position in ECAL: this is th SC position if r9<0.93. If r8>0.93 is position of seed BasicCluster taking shower depth for unconverted photon
Definition at line 80 of file Photon.h.
References caloPosition_.
Referenced by FWPhotonDetailView::addSceneInfo(), and FWPhotonDetailView::build().
|
inline |
Accessors for Particle Flow Isolation variables.
Definition at line 437 of file Photon.h.
References reco::Photon::PflowIsolationVariables::chargedHadronIso, and pfIsolation_.
Referenced by Lepton.Lepton::absIso(), Lepton.Lepton::absIsoFromEA(), pat::Photon::chargedHadronIso(), and Photon.Photon::passPhotonID().
|
inline |
Definition at line 438 of file Photon.h.
References reco::Photon::PflowIsolationVariables::chargedHadronIsoWrongVtx, and pfIsolation_.
|
virtual |
returns a clone of the candidate
Reimplemented from reco::RecoCandidate.
Reimplemented in pat::Photon.
Referenced by GammaJetAnalysis::pfEcalIso(), and GammaJetAnalysis::pfTkIsoWithVertex().
|
inline |
vector of references to Conversion's
Definition at line 63 of file Photon.h.
References photonCore().
Referenced by PhotonValidator::analyze(), hasConversionTracks(), and ReducedEGProducer::produce().
|
inline |
vector of references to one leg Conversion's
Definition at line 69 of file Photon.h.
References photonCore().
Referenced by hasConversionTracks(), and ReducedEGProducer::produce().
int reco::Photon::conversionTrackProvenance | ( | const edm::RefToBase< reco::Track > & | convTrack | ) | const |
|
inline |
Shower shape variables.
Definition at line 189 of file Photon.h.
References reco::Photon::ShowerShape::e1x5, and showerShapeBlock_.
Referenced by egHLT::OffHelper::fillClusShapeData().
|
inline |
Definition at line 190 of file Photon.h.
References reco::Photon::ShowerShape::e2x5, and showerShapeBlock_.
Referenced by egHLT::OffHelper::fillClusShapeData().
|
inline |
Definition at line 191 of file Photon.h.
References reco::Photon::ShowerShape::e3x3, and showerShapeBlock_.
|
inline |
Definition at line 192 of file Photon.h.
References reco::Photon::ShowerShape::e5x5, and showerShapeBlock_.
Referenced by PhotonEnergyCorrector::calculate(), EGEnergyCorrector::CorrectedEnergyWithError(), EGEnergyCorrector::CorrectedEnergyWithErrorV3(), and egHLT::OffHelper::fillClusShapeData().
|
inline |
Isolation variables in cone dR=0.3.
Definition at line 380 of file Photon.h.
References reco::Photon::IsolationVariables::ecalRecHitSumEt, and isolationR03_.
Referenced by EcalIsolationCorrector::correctForHLTDefinition(), EcalIsolationCorrector::correctForNoise(), egHLT::OffHelper::fillIsolData(), PhotonSelectorAlgo::passPhotonSelection(), and PFEGammaFilters::passPhotonSelection().
|
inline |
Egamma Isolation variables in cone dR=0.4 Ecal isolation sum calculated from recHits
Definition at line 357 of file Photon.h.
References reco::Photon::IsolationVariables::ecalRecHitSumEt, and isolationR04_.
Referenced by PatPhotonSimpleAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), PhotonValidator::analyze(), GammaJetAnalysis::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), pat::Photon::ecalIso(), GEDPhotonProducer::fillPhotonCollection(), and PhotonSelectorAlgo::passPhotonSelection().
|
inline |
reference to electron Pixel seed
Definition at line 73 of file Photon.h.
References photonCore().
Referenced by hasPixelSeed().
|
inline |
|
inline |
Definition at line 467 of file Photon.h.
References reco::Photon::PflowIDVariables::etOutsideMustache, and pfID_.
|
inline |
full5x5 Shower shape variables
Definition at line 201 of file Photon.h.
References reco::Photon::ShowerShape::e1x5, and full5x5_showerShapeBlock_.
|
inline |
Definition at line 202 of file Photon.h.
References reco::Photon::ShowerShape::e2x5, and full5x5_showerShapeBlock_.
|
inline |
Definition at line 203 of file Photon.h.
References reco::Photon::ShowerShape::e3x3, and full5x5_showerShapeBlock_.
|
inline |
Definition at line 204 of file Photon.h.
References reco::Photon::ShowerShape::e5x5, and full5x5_showerShapeBlock_.
|
inline |
Definition at line 205 of file Photon.h.
References full5x5_showerShapeBlock_, and reco::Photon::ShowerShape::maxEnergyXtal.
|
inline |
Definition at line 208 of file Photon.h.
References reco::Photon::ShowerShape::e1x5, reco::Photon::ShowerShape::e5x5, and full5x5_showerShapeBlock_.
|
inline |
Definition at line 209 of file Photon.h.
References reco::Photon::ShowerShape::e2x5, reco::Photon::ShowerShape::e5x5, and full5x5_showerShapeBlock_.
|
inline |
Definition at line 210 of file Photon.h.
References reco::Photon::ShowerShape::e3x3, full5x5_showerShapeBlock_, and superCluster().
|
inline |
Definition at line 171 of file Photon.h.
References a, and full5x5_showerShapeBlock_.
Referenced by EGFull5x5ShowerShapeModifierFromValueMaps::modifyObject().
|
inline |
Definition at line 168 of file Photon.h.
References full5x5_showerShapeBlock_.
Referenced by EGFull5x5ShowerShapeModifierFromValueMaps::modifyObject().
|
inline |
Definition at line 206 of file Photon.h.
References full5x5_showerShapeBlock_, and reco::Photon::ShowerShape::sigmaEtaEta.
|
inline |
Definition at line 207 of file Photon.h.
References full5x5_showerShapeBlock_, and reco::Photon::ShowerShape::sigmaIetaIeta.
Referenced by Photon.Photon::passPhotonID(), and Photon.Photon::photonIDCSA14().
|
inline |
Definition at line 259 of file Photon.h.
References reco::Photon::EnergyCorrections::candidateP4type, and eCorrections_.
float reco::Photon::getCorrectedEnergy | ( | P4type | type | ) | const |
float reco::Photon::getCorrectedEnergyError | ( | P4type | type | ) | const |
|
inline |
the hadronic release in depth1 over electromagnetic fraction
Definition at line 176 of file Photon.h.
References reco::Photon::ShowerShape::hcalDepth1OverEcal, and showerShapeBlock_.
|
inline |
the hadronic release in depth2 over electromagnetic fraction
Definition at line 178 of file Photon.h.
References reco::Photon::ShowerShape::hcalDepth2OverEcal, and showerShapeBlock_.
|
inline |
the total hadronic over electromagnetic fraction
Definition at line 174 of file Photon.h.
References reco::Photon::ShowerShape::hcalDepth1OverEcal, reco::Photon::ShowerShape::hcalDepth2OverEcal, and showerShapeBlock_.
Referenced by PatPhotonSimpleAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), PhotonValidator::analyze(), GammaJetAnalysis::analyze(), EGEnergyCorrector::CorrectedEnergyWithError(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), GEDPhotonProducer::fillPhotonCollection(), egHLT::OffPho::hOverE(), and PhotonSelectorAlgo::passPhotonSelection().
|
inline |
the ration of hadronic energy in towers depth1 behind the BCs in the SC and the SC energy
Definition at line 183 of file Photon.h.
References reco::Photon::ShowerShape::hcalDepth1OverEcalBc, and showerShapeBlock_.
|
inline |
the ration of hadronic energy in towers depth2 behind the BCs in the SC and the SC energy
Definition at line 185 of file Photon.h.
References reco::Photon::ShowerShape::hcalDepth2OverEcalBc, and showerShapeBlock_.
|
inline |
the ration of hadronic energy in towers behind the BCs in the SC and the SC energy
Definition at line 181 of file Photon.h.
References reco::Photon::ShowerShape::hcalDepth1OverEcalBc, reco::Photon::ShowerShape::hcalDepth2OverEcalBc, and showerShapeBlock_.
Referenced by GammaJetAnalysis::analyze(), EGEnergyCorrector::CorrectedEnergyWithErrorV3(), and PFEGammaFilters::passPhotonSelection().
|
inline |
Bool flagging photons with a vector of refereces to conversions with size >0.
Definition at line 71 of file Photon.h.
References conversions(), conversionsOneLeg(), photonCore(), and reco::Candidate::size.
Referenced by SimplePi0DiscAnalyzer::analyze().
|
inline |
Bool flagging photons having a non-zero size vector of Ref to electornPixel seeds.
Definition at line 75 of file Photon.h.
References electronPixelSeeds(), photonCore(), and reco::Candidate::size.
Referenced by GammaJetAnalysis::analyze(), and pat::PATPhotonProducer::produce().
|
inline |
Hcal-Depth1 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC.
Definition at line 390 of file Photon.h.
References reco::Photon::IsolationVariables::hcalDepth1TowerSumEtBc, and isolationR03_.
|
inline |
Hcal-Depth1 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC.
Definition at line 367 of file Photon.h.
References reco::Photon::IsolationVariables::hcalDepth1TowerSumEtBc, and isolationR04_.
|
inline |
Hcal-Depth1 isolation sum.
Definition at line 384 of file Photon.h.
References reco::Photon::IsolationVariables::hcalDepth1TowerSumEt, and isolationR03_.
|
inline |
Hcal-Depth1 isolation sum.
Definition at line 361 of file Photon.h.
References reco::Photon::IsolationVariables::hcalDepth1TowerSumEt, and isolationR04_.
|
inline |
Hcal-Depth2 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC.
Definition at line 392 of file Photon.h.
References reco::Photon::IsolationVariables::hcalDepth2TowerSumEtBc, and isolationR03_.
|
inline |
Hcal-Depth2 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC.
Definition at line 369 of file Photon.h.
References reco::Photon::IsolationVariables::hcalDepth2TowerSumEtBc, and isolationR04_.
|
inline |
Hcal-Depth2 isolation sum.
Definition at line 386 of file Photon.h.
References reco::Photon::IsolationVariables::hcalDepth2TowerSumEt, and isolationR03_.
|
inline |
Hcal-Depth2 isolation sum.
Definition at line 363 of file Photon.h.
References reco::Photon::IsolationVariables::hcalDepth2TowerSumEt, and isolationR04_.
|
inline |
Definition at line 186 of file Photon.h.
References reco::Photon::ShowerShape::hcalTowersBehindClusters, and showerShapeBlock_.
Referenced by PhotonIsolationCalculator::calculateHcalTowerIso().
|
inline |
Hcal isolation sum subtracting the hadronic energy in towers behind the BCs in the SC.
Definition at line 388 of file Photon.h.
References reco::Photon::IsolationVariables::hcalTowerSumEtBc, and isolationR03_.
|
inline |
Hcal isolation sum subtracting the hadronic energy in towers behind the BCs in the SC.
Definition at line 365 of file Photon.h.
References reco::Photon::IsolationVariables::hcalTowerSumEtBc, and isolationR04_.
|
inline |
Hcal isolation sum.
Definition at line 382 of file Photon.h.
References reco::Photon::IsolationVariables::hcalTowerSumEt, and isolationR03_.
Referenced by egHLT::OffHelper::fillIsolData(), PhotonSelectorAlgo::passPhotonSelection(), and PFEGammaFilters::passPhotonSelection().
|
inline |
Hcal isolation sum.
Definition at line 359 of file Photon.h.
References reco::Photon::IsolationVariables::hcalTowerSumEt, and isolationR04_.
Referenced by PatPhotonSimpleAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), PhotonValidator::analyze(), GammaJetAnalysis::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), GEDPhotonProducer::fillPhotonCollection(), pat::Photon::hcalIso(), and PhotonSelectorAlgo::passPhotonSelection().
|
inline |
Ritrievs fiducial flags true if photon is in ECAL barrel
Definition at line 120 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEB.
Referenced by PatPhotonSimpleAnalyzer::analyze(), EcalIsolationCorrector::correctForHLTDefinition(), EcalIsolationCorrector::correctForNoise(), PFEGammaFilters::passPhotonSelection(), GammaJetAnalysis::pfEcalIso(), and GammaJetAnalysis::pfTkIsoWithVertex().
|
inline |
true if photon is in boundary between EB and EE
Definition at line 132 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEBEEGap.
Referenced by PatPhotonSimpleAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and egHLT::OffPho::isGap().
|
inline |
Definition at line 125 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEBEtaGap.
Referenced by CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and isEBGap().
|
inline |
true if photon is in EB, and inside the boundaries in super crystals/modules
Definition at line 124 of file Photon.h.
References isEBEtaGap(), and isEBPhiGap().
Referenced by PatPhotonSimpleAnalyzer::analyze(), and egHLT::OffPho::isGap().
|
inline |
Definition at line 126 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEBPhiGap.
Referenced by CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and isEBGap().
|
inline |
Definition at line 122 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEE.
Referenced by PatPhotonSimpleAnalyzer::analyze().
|
inline |
Definition at line 130 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEEDeeGap.
Referenced by CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and isEEGap().
|
inline |
true if photon is in EE, and inside the boundaries in supercrystal/D
Definition at line 128 of file Photon.h.
References isEEDeeGap(), and isEERingGap().
Referenced by PatPhotonSimpleAnalyzer::analyze(), and egHLT::OffPho::isGap().
|
inline |
Definition at line 129 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEERingGap.
Referenced by CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and isEEGap().
|
inline |
Retrieve photonCore attributes.
Definition at line 56 of file Photon.h.
References photonCore().
|
inlinevirtual |
Implement Candidate method for particle species.
Reimplemented from reco::LeafCandidate.
Definition at line 84 of file Photon.h.
References funct::true.
|
inline |
Definition at line 57 of file Photon.h.
References photonCore().
|
inline |
Definition at line 193 of file Photon.h.
References reco::Photon::ShowerShape::maxEnergyXtal, and showerShapeBlock_.
|
inline |
MIP variables.
Definition at line 289 of file Photon.h.
References reco::Photon::MIPVariables::mipChi2, and mipVariableBlock_.
|
inline |
Definition at line 292 of file Photon.h.
References reco::Photon::MIPVariables::mipIntercept, and mipVariableBlock_.
|
inline |
Definition at line 294 of file Photon.h.
References reco::Photon::MIPVariables::mipIsHalo, and mipVariableBlock_.
|
inline |
Definition at line 293 of file Photon.h.
References reco::Photon::MIPVariables::mipNhitCone, and mipVariableBlock_.
|
inline |
Definition at line 291 of file Photon.h.
References reco::Photon::MIPVariables::mipSlope, and mipVariableBlock_.
|
inline |
Definition at line 290 of file Photon.h.
References reco::Photon::MIPVariables::mipTotEnergy, and mipVariableBlock_.
|
inline |
Definition at line 466 of file Photon.h.
References reco::Photon::PflowIDVariables::nClusterOutsideMustache, and pfID_.
|
inline |
Definition at line 439 of file Photon.h.
References reco::Photon::PflowIsolationVariables::neutralHadronIso, and pfIsolation_.
Referenced by Lepton.Lepton::absIso(), Lepton.Lepton::absIsoFromEA(), pat::Photon::neutralHadronIso(), and Photon.Photon::passPhotonID().
|
inline |
Definition at line 400 of file Photon.h.
References isolationR03_, and reco::Photon::IsolationVariables::nTrkHollowCone.
Referenced by egHLT::OffHelper::fillIsolData().
|
inline |
Definition at line 377 of file Photon.h.
References isolationR04_, and reco::Photon::IsolationVariables::nTrkHollowCone.
Referenced by PatPhotonSimpleAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and GEDPhotonProducer::fillPhotonCollection().
|
inline |
Definition at line 398 of file Photon.h.
References isolationR03_, and reco::Photon::IsolationVariables::nTrkSolidCone.
|
inline |
Definition at line 375 of file Photon.h.
References isolationR04_, and reco::Photon::IsolationVariables::nTrkSolidCone.
Referenced by PatPhotonSimpleAnalyzer::analyze(), PhotonValidator::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and GEDPhotonProducer::fillPhotonCollection().
|
privatevirtual |
check overlap with another candidate
Implements reco::RecoCandidate.
const LorentzVector& reco::Photon::p4 | ( | P4type | type | ) | const |
Referenced by Tau.Tau::dxy_approx(), Tau.Tau::dz(), Jet.Jet::jetID(), and egHLT::OffPho::p4().
|
inline |
Ref to PFlow SuperCluster.
Definition at line 61 of file Photon.h.
References photonCore().
|
inline |
|
inline |
returns a reference to the core photon object
Definition at line 49 of file Photon.h.
References photonCore_.
Referenced by conversions(), conversionsOneLeg(), electronPixelSeeds(), hasConversionTracks(), hasPixelSeed(), isPFlowPhoton(), isStandardPhoton(), parentSuperCluster(), ReducedEGProducer::produce(), and setPhotonCore().
|
inline |
Definition at line 440 of file Photon.h.
References pfIsolation_, and reco::Photon::PflowIsolationVariables::photonIso.
Referenced by Lepton.Lepton::absIso(), Lepton.Lepton::absIsoFromEA(), Photon.Photon::passPhotonID(), and pat::Photon::photonIso().
|
inline |
Definition at line 196 of file Photon.h.
References reco::Photon::ShowerShape::e1x5, reco::Photon::ShowerShape::e5x5, and showerShapeBlock_.
Referenced by PhotonValidator::analyze().
|
inline |
Definition at line 197 of file Photon.h.
References reco::Photon::ShowerShape::e2x5, reco::Photon::ShowerShape::e5x5, and showerShapeBlock_.
Referenced by PhotonValidator::analyze().
|
inline |
Definition at line 198 of file Photon.h.
References reco::Photon::ShowerShape::e3x3, showerShapeBlock_, and superCluster().
Referenced by PatPhotonSimpleAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), SimplePi0DiscAnalyzer::analyze(), PhotonValidator::analyze(), GammaJetAnalysis::analyze(), PhotonEnergyCorrector::calculate(), EGEnergyCorrector::CorrectedEnergyWithError(), EGEnergyCorrector::CorrectedEnergyWithErrorV3(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and egHLT::OffHelper::fillClusShapeData().
|
inline |
Definition at line 255 of file Photon.h.
References reco::Photon::EnergyCorrections::candidateP4type, and eCorrections_.
void reco::Photon::setCorrectedEnergy | ( | P4type | type, |
float | E, | ||
float | dE, | ||
bool | toCand = true |
||
) |
Referenced by PhotonEnergyCorrector::calculate().
|
inline |
|
inline |
set flags for photons in the ECAL fiducial volume
Definition at line 117 of file Photon.h.
References a, and fiducialFlagBlock_.
|
inline |
set relevant isolation variables
Definition at line 353 of file Photon.h.
References isolationR03_, and isolationR04_.
|
inline |
void reco::Photon::setP4 | ( | P4type | type, |
const LorentzVector & | p4, | ||
float | p4Error, | ||
bool | setToRecoCandidate | ||
) |
|
inline |
Definition at line 470 of file Photon.h.
References pfID_.
Referenced by GEDPhotonProducer::fillPhotonCollection().
|
inline |
Set Particle Flow Isolation variables.
Definition at line 447 of file Photon.h.
References pfIsolation_.
Referenced by GEDPhotonProducer::fillPhotonCollection().
|
inline |
Definition at line 50 of file Photon.h.
References photonCore(), and photonCore_.
|
inline |
|
virtual |
set primary event vertex used to define photon direction
Reimplemented from reco::LeafCandidate.
|
inline |
|
inline |
Definition at line 194 of file Photon.h.
References showerShapeBlock_, and reco::Photon::ShowerShape::sigmaEtaEta.
Referenced by egHLT::OffHelper::fillClusShapeData().
|
inline |
Definition at line 195 of file Photon.h.
References showerShapeBlock_, and reco::Photon::ShowerShape::sigmaIetaIeta.
Referenced by SimplePhotonAnalyzer::analyze(), PhotonValidator::analyze(), GammaJetAnalysis::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), egHLT::OffHelper::fillClusShapeData(), GEDPhotonProducer::fillPhotonCollection(), and PFEGammaFilters::passPhotonSelection().
|
inline |
Definition at line 441 of file Photon.h.
References pfIsolation_, and reco::Photon::PflowIsolationVariables::sumChargedParticlePt.
|
inline |
Definition at line 442 of file Photon.h.
References pfIsolation_, and reco::Photon::PflowIsolationVariables::sumNeutralHadronEtHighThreshold.
|
inline |
Definition at line 443 of file Photon.h.
References pfIsolation_, and reco::Photon::PflowIsolationVariables::sumPhotonEtHighThreshold.
|
inline |
Definition at line 444 of file Photon.h.
References pfIsolation_, and reco::Photon::PflowIsolationVariables::sumPUPt.
|
virtual |
Ref to SuperCluster.
Reimplemented from reco::RecoCandidate.
Reimplemented in pat::Photon.
Referenced by Electron.Electron::absEffAreaIso(), FWPhotonDetailView::addSceneInfo(), SimplePhotonAnalyzer::analyze(), SimplePi0DiscAnalyzer::analyze(), TkConvValidator::analyze(), PhotonValidator::analyze(), EgammaObjects::analyzePhotons(), FWPhotonDetailView::build(), FWPhotonProxyBuilder::buildViewType(), PhotonIsolationCalculator::calculate(), PhotonEnergyCorrector::calculate(), PhotonIsolationCalculator::classify(), helper::PhotonCollectionStoreManager::cloneAndStore(), EGEnergyCorrector::CorrectedEnergyWithError(), EGEnergyCorrector::CorrectedEnergyWithErrorV3(), PFCandWithSuperClusterExtractor::depositFromObject(), egHLT::OffPho::etaSC(), egHLT::OffPho::etSC(), PFIsolationEstimator::fGetIsolationInRings(), PFPhotonIsolationCalculator::fGetIsolationInRings(), egHLT::OffHelper::fillClusShapeData(), EgammaObjects::findRecoMass(), full5x5_r9(), PhotonMIPHaloTagger::GetMipTrailFit(), PhotonMIPHaloTagger::GetSeedHighestE(), PFPhotonIsolationCalculator::matchPFObject(), PFIsolationEstimator::matchPFObject(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), PhotonEqual::operator()(), GammaJetAnalysis::pfEcalIso(), GammaJetAnalysis::pfTkIsoWithVertex(), egHLT::OffPho::phiSC(), ReducedEGProducer::produce(), pat::PATPhotonProducer::produce(), and r9().
|
inline |
Definition at line 396 of file Photon.h.
References isolationR03_, and reco::Photon::IsolationVariables::trkSumPtHollowCone.
Referenced by egHLT::OffHelper::fillIsolData(), PhotonSelectorAlgo::passPhotonSelection(), and PFEGammaFilters::passPhotonSelection().
|
inline |
Definition at line 373 of file Photon.h.
References isolationR04_, and reco::Photon::IsolationVariables::trkSumPtHollowCone.
Referenced by PatPhotonSimpleAnalyzer::analyze(), GammaJetAnalysis::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), GEDPhotonProducer::fillPhotonCollection(), and PhotonSelectorAlgo::passPhotonSelection().
|
inline |
Definition at line 394 of file Photon.h.
References isolationR03_, and reco::Photon::IsolationVariables::trkSumPtSolidCone.
|
inline |
Definition at line 371 of file Photon.h.
References isolationR04_, and reco::Photon::IsolationVariables::trkSumPtSolidCone.
Referenced by PatPhotonSimpleAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), PhotonValidator::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), GEDPhotonProducer::fillPhotonCollection(), and pat::Photon::trackIso().
|
private |
position of seed BasicCluster for shower depth of unconverted photon
Definition at line 477 of file Photon.h.
Referenced by caloPosition().
|
private |
Definition at line 488 of file Photon.h.
Referenced by energyCorrections(), getCandidateP4type(), setCandidateP4type(), and setEnergyCorrections().
|
private |
Definition at line 483 of file Photon.h.
Referenced by isEB(), isEBEEGap(), isEBEtaGap(), isEBPhiGap(), isEE(), isEEDeeGap(), isEERingGap(), and setFiducialVolumeFlags().
|
private |
Definition at line 487 of file Photon.h.
Referenced by full5x5_e1x5(), full5x5_e2x5(), full5x5_e3x3(), full5x5_e5x5(), full5x5_maxEnergyXtal(), full5x5_r1x5(), full5x5_r2x5(), full5x5_r9(), full5x5_setShowerShapeVariables(), full5x5_showerShapeVariables(), full5x5_sigmaEtaEta(), and full5x5_sigmaIetaIeta().
|
private |
Definition at line 485 of file Photon.h.
Referenced by ecalRecHitSumEtConeDR03(), hcalDepth1TowerSumEtBcConeDR03(), hcalDepth1TowerSumEtConeDR03(), hcalDepth2TowerSumEtBcConeDR03(), hcalDepth2TowerSumEtConeDR03(), hcalTowerSumEtBcConeDR03(), hcalTowerSumEtConeDR03(), nTrkHollowConeDR03(), nTrkSolidConeDR03(), setIsolationVariables(), trkSumPtHollowConeDR03(), and trkSumPtSolidConeDR03().
|
private |
Definition at line 484 of file Photon.h.
Referenced by ecalRecHitSumEtConeDR04(), hcalDepth1TowerSumEtBcConeDR04(), hcalDepth1TowerSumEtConeDR04(), hcalDepth2TowerSumEtBcConeDR04(), hcalDepth2TowerSumEtConeDR04(), hcalTowerSumEtBcConeDR04(), hcalTowerSumEtConeDR04(), nTrkHollowConeDR04(), nTrkSolidConeDR04(), setIsolationVariables(), trkSumPtHollowConeDR04(), and trkSumPtSolidConeDR04().
|
private |
Definition at line 489 of file Photon.h.
Referenced by mipChi2(), mipIntercept(), mipIsHalo(), mipNhitCone(), mipSlope(), mipTotEnergy(), and setMIPVariables().
|
private |
Definition at line 491 of file Photon.h.
Referenced by etOutsideMustache(), nClusterOutsideMustache(), pfMVA(), and setPflowIDVariables().
|
private |
Definition at line 490 of file Photon.h.
Referenced by chargedHadronIso(), chargedHadronIsoWrongVtx(), neutralHadronIso(), photonIso(), setPflowIsolationVariables(), sumChargedParticlePt(), sumNeutralHadronEtHighThreshold(), sumPhotonEtHighThreshold(), and sumPUPt().
|
private |
reference to the PhotonCore
Definition at line 479 of file Photon.h.
Referenced by photonCore(), and setPhotonCore().
|
private |
|
private |
Definition at line 486 of file Photon.h.
Referenced by e1x5(), e2x5(), e3x3(), e5x5(), hadronicDepth1OverEm(), hadronicDepth2OverEm(), hadronicOverEm(), hadTowDepth1OverEm(), hadTowDepth2OverEm(), hadTowOverEm(), hcalTowersBehindClusters(), maxEnergyXtal(), r1x5(), r2x5(), r9(), setShowerShapeVariables(), showerShapeVariables(), sigmaEtaEta(), and sigmaIetaIeta().