CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
reco::Photon Class Reference

#include <Photon.h>

Inheritance diagram for reco::Photon:
reco::RecoCandidate reco::LeafCandidate reco::Candidate pat::PATObject< reco::Photon > pat::Photon

Classes

struct  EnergyCorrections
 
struct  FiducialFlags
 
struct  IsolationVariables
 
struct  MIPVariables
 
struct  PflowIDVariables
 
struct  PflowIsolationVariables
 
struct  SaturationInfo
 
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 chargedHadronPFPVIso () const
 
float chargedHadronWorstVtxGeomVetoIso () const
 
float chargedHadronWorstVtxIso () const
 
Photonclone () const override
 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 ecalPFClusterIso () 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 EnergyCorrectionsenergyCorrections () 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_hadronicOverEm (int depth=0) const
 
float full5x5_hadTowOverEm (int depth=0) const
 
float full5x5_hcalOverEcal (int depth=0) const
 the total hadronic over electromagnetic fraction More...
 
float full5x5_hcalOverEcalBc (int depth=0) const
 the ratio of total energy of hcal rechits behind the SC and the SC energy More...
 
float full5x5_maxEnergyXtal () const
 
float full5x5_r1x5 () const
 
float full5x5_r2x5 () const
 
float full5x5_r9 () const
 
void full5x5_setShowerShapeVariables (const ShowerShape &a)
 
const ShowerShapefull5x5_showerShapeVariables () const
 
float full5x5_sigmaEtaEta () const
 
float full5x5_sigmaIetaIeta () const
 
P4type getCandidateP4type () const
 
float getCorrectedEnergy (P4type type) const
 
float getCorrectedEnergyError (P4type type) const
 
const PflowIsolationVariablesgetPflowIsolationVariables () const
 Get Particle Flow Isolation variables block. More...
 
float hadronicOverEm (int depth=0) const
 
bool hadronicOverEmValid () const
 returns false if H/E is not reliably estimated (e.g. because hcal was off or masked) More...
 
float hadTowOverEm (int depth=0) const
 
bool hadTowOverEmValid () const
 
float haloTaggerMVAVal () const
 MVA based beam halo tagger - trained for EE and for pT > 200 GeV. 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 hcalOverEcal (const ShowerShape &ss, int depth) const
 the total hadronic over electromagnetic fraction More...
 
float hcalOverEcal (int depth=0) const
 
float hcalOverEcalBc (const ShowerShape &ss, int depth) const
 the ratio of total energy of hcal rechits behind the SC and the SC energy More...
 
float hcalOverEcalBc (int depth=0) const
 
float hcalPFClusterIso () const
 
void hcalToRun2EffDepth ()
 
const std::vector< CaloTowerDetId > & hcalTowersBehindClusters () const
 
float hcalTowerSumEt (const IsolationVariables &iv, int depth) const
 Hcal isolation sum for each depth excluding the region containing the rechits used for hcalOverEcal() More...
 
float hcalTowerSumEtBc (const IsolationVariables &iv, int depth) const
 Hcal isolation sum for each depth excluding the region containing the rechits used for hcalOverEcalBc() More...
 
float hcalTowerSumEtBcConeDR03 (int depth=0) const
 Hcal isolation sum for each depth excluding the region containing the rechits used for hcalOverEcalBc() More...
 
float hcalTowerSumEtBcConeDR04 (int depth=0) const
 
float hcalTowerSumEtConeDR03 (int depth=0) const
 Hcal isolation sum for each depth excluding the region containing the rechits used for hcalOverEcal() More...
 
float hcalTowerSumEtConeDR04 (int depth=0) const
 
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 override
 Implement Candidate method for particle species. More...
 
float isSeedSaturated () const
 
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
 
float nSaturatedXtals () const
 
int nTrkHollowConeDR03 () const
 
int nTrkHollowConeDR04 () const
 
int nTrkSolidConeDR03 () const
 
int nTrkSolidConeDR04 () const
 
const LorentzVectorp4 (P4type type) const
 
reco::SuperClusterRef parentSuperCluster () const
 Ref to PFlow SuperCluster. More...
 
float pfDNN () const
 
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
 
const SaturationInfosaturationInfo () 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 setHaloTaggerMVAVal (float x)
 set the haloTaggerMVAVal here 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 setSaturationInfo (const SaturationInfo &s)
 
void setShowerShapeVariables (const ShowerShape &a)
 
void setVertex (const Point &vertex) override
 set primary event vertex used to define photon direction More...
 
const ShowerShapeshowerShapeVariables () const
 
float sigmaEtaEta () const
 
float sigmaIetaIeta () const
 
reco::SuperClusterRef superCluster () const override
 Ref to SuperCluster. More...
 
float trkSumPtHollowConeDR03 () const
 
float trkSumPtHollowConeDR04 () const
 
float trkSumPtSolidConeDR03 () const
 
float trkSumPtSolidConeDR04 () const
 
 ~Photon () override
 destructor More...
 
- Public Member Functions inherited from reco::RecoCandidate
const TrackbestTrack () const override
 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...
 
RecoCandidateclone () const override
 returns a clone of the Candidate object More...
 
virtual reco::TrackRef combinedMuon () const
 reference to a stand-alone muon Track More...
 
float dxyError () const override
 uncertainty on dxy More...
 
float dzError () const override
 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...
 
 ~RecoCandidate () override
 destructor More...
 
- Public Member Functions inherited from reco::LeafCandidate
Vector boostToCM () const final
 
int charge () const final
 electric charge More...
 
void construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status)
 
const Candidatedaughter (size_type) const override
 return daughter at a given position (throws an exception) More...
 
Candidatedaughter (size_type) override
 return daughter at a given position (throws an exception) More...
 
Candidatedaughter (const std::string &s) override
 return daughter with a specified role name More...
 
const Candidatedaughter (const std::string &s) const override
 return daughter with a specified role name More...
 
double energy () const final
 energy More...
 
double et () const final
 transverse energy More...
 
double et2 () const final
 transverse energy squared (use this for cut!) More...
 
double eta () const final
 momentum pseudorapidity More...
 
void fillVertexCovariance (CovarianceMatrix &v) const override
 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...
 
bool hasMasterClone () const override
 
bool hasMasterClonePtr () const override
 
bool isCaloMuon () const override
 
bool isConvertedPhoton () const override
 
bool isElectron () const override
 
bool isGlobalMuon () const override
 
bool isJet () const override
 
bool isMuon () const override
 
bool isStandAloneMuon () const override
 
bool isTrackerMuon () const override
 
 LeafCandidate ()
 
 LeafCandidate (const Candidate &c)
 
template<typename... Args>
 LeafCandidate (Args &&... args)
 
 LeafCandidate (LeafCandidate &rh)
 
 LeafCandidate (LeafCandidate &&)=default
 
 LeafCandidate (LeafCandidate const &)=default
 
bool longLived () const final
 is long lived? More...
 
double mass () const final
 mass More...
 
bool massConstraint () const final
 do mass constraint? More...
 
double massSqr () const final
 mass squared More...
 
const CandidateBaseRefmasterClone () const override
 
const CandidatePtrmasterClonePtr () const override
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
Vector momentum () const final
 spatial momentum vector More...
 
const Candidatemother (size_type) const override
 return mother at a given position (throws an exception) More...
 
double mt () const final
 transverse mass More...
 
double mtSqr () const final
 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...
 
size_t numberOfDaughters () const override
 number of daughters More...
 
size_t numberOfMothers () const override
 number of mothers More...
 
size_t numberOfSourceCandidatePtrs () const override
 
LeafCandidateoperator= (LeafCandidate &&)=default
 
LeafCandidateoperator= (LeafCandidate const &)=default
 
double p () const final
 magnitude of momentum vector More...
 
const LorentzVectorp4 () const final
 four-momentum Lorentz vector More...
 
int pdgId () const final
 PDG identifier. More...
 
double phi () const final
 momentum azimuthal angle More...
 
const PolarLorentzVectorpolarP4 () const final
 four-momentum Lorentz vector More...
 
double pt () const final
 transverse momentum More...
 
double px () const final
 x coordinate of momentum vector More...
 
double py () const final
 y coordinate of momentum vector More...
 
double pz () const final
 z coordinate of momentum vector More...
 
double rapidity () const final
 rapidity More...
 
void setCharge (Charge q) final
 set electric charge More...
 
void setLongLived () final
 
void setMass (double m) final
 set particle mass More...
 
void setMassConstraint () final
 
void setP4 (const LorentzVector &p4) final
 set 4-momentum More...
 
void setP4 (const PolarLorentzVector &p4) final
 set 4-momentum More...
 
void setPdgId (int pdgId) final
 
void setPz (double pz) final
 
void setStatus (int status) final
 set status word More...
 
void setThreeCharge (Charge qx3) final
 set electric charge More...
 
CandidatePtr sourceCandidatePtr (size_type i) const override
 
int status () const final
 status word More...
 
double theta () const final
 momentum polar angle More...
 
int threeCharge () const final
 electric charge More...
 
const Pointvertex () const override
 vertex position (overwritten by PF...) More...
 
double vertexChi2 () const override
 chi-squares More...
 
double vertexCovariance (int i, int j) const override
 (i, j)-th element of error matrix, i, j = 0, ... 2 More...
 
CovarianceMatrix vertexCovariance () const final
 return SMatrix More...
 
double vertexNdof () const override
 
double vertexNormalizedChi2 () const override
 chi-squared divided by n.d.o.f. More...
 
double vx () const override
 x coordinate of vertex position More...
 
double vy () const override
 y coordinate of vertex position More...
 
double vz () const override
 z coordinate of vertex position More...
 
double y () const final
 rapidity More...
 
 ~LeafCandidate () override
 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...
 

Static Public Attributes

static constexpr float mvaPlaceholder = -999999999.
 

Private Member Functions

bool overlap (const Candidate &) const override
 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_
 
float haloTaggerMVAVal_
 
IsolationVariables isolationR03_
 
IsolationVariables isolationR04_
 
MIPVariables mipVariableBlock_
 
PflowIDVariables pfID_
 
PflowIsolationVariables pfIsolation_
 
reco::PhotonCoreRef photonCore_
 reference to the PhotonCore More...
 
bool pixelSeed_
 
SaturationInfo saturationInfo_
 
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...
 

Detailed Description

Author
N. Marinelli Univ. of Notre Dame Photon object built out of PhotonCore stores isolation, shower shape and additional info needed for identification

Definition at line 22 of file Photon.h.

Member Enumeration Documentation

◆ ConversionProvenance

Enumerator
egamma 
pflow 
both 

Definition at line 65 of file Photon.h.

◆ P4type

Enumerator
undefined 
ecal_standard 
ecal_photons 
regression1 
regression2 

Definition at line 317 of file Photon.h.

Constructor & Destructor Documentation

◆ Photon() [1/3]

reco::Photon::Photon ( )
inline

default constructor

Definition at line 32 of file Photon.h.

References haloTaggerMVAVal_, and pixelSeed_.

32  : RecoCandidate() {
33  pixelSeed_ = false;
34  haloTaggerMVAVal_ = 99;
35  }
bool pixelSeed_
Definition: Photon.h:599
RecoCandidate()
default constructor
Definition: RecoCandidate.h:23
float haloTaggerMVAVal_
Definition: Photon.h:611

◆ Photon() [2/3]

reco::Photon::Photon ( const Photon )

copy constructor

◆ Photon() [3/3]

reco::Photon::Photon ( const LorentzVector p4,
const Point caloPos,
const PhotonCoreRef core,
const Point vtx = Point(0, 0, 0) 
)

constructor from values

◆ ~Photon()

reco::Photon::~Photon ( )
override

destructor

Member Function Documentation

◆ caloPosition()

math::XYZPointF reco::Photon::caloPosition ( ) const
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 88 of file Photon.h.

References caloPosition_.

Referenced by FWPhotonDetailView::build().

88 { return caloPosition_; }
math::XYZPointF caloPosition_
position of seed BasicCluster for shower depth of unconverted photon
Definition: Photon.h:595

◆ chargedHadronIso()

float reco::Photon::chargedHadronIso ( ) const
inline

◆ chargedHadronPFPVIso()

float reco::Photon::chargedHadronPFPVIso ( ) const
inline

Definition at line 548 of file Photon.h.

References reco::Photon::PflowIsolationVariables::chargedHadronPFPVIso, and pfIsolation_.

PflowIsolationVariables pfIsolation_
Definition: Photon.h:609

◆ chargedHadronWorstVtxGeomVetoIso()

float reco::Photon::chargedHadronWorstVtxGeomVetoIso ( ) const
inline

◆ chargedHadronWorstVtxIso()

float reco::Photon::chargedHadronWorstVtxIso ( ) const
inline

Definition at line 546 of file Photon.h.

References reco::Photon::PflowIsolationVariables::chargedHadronWorstVtxIso, and pfIsolation_.

PflowIsolationVariables pfIsolation_
Definition: Photon.h:609

◆ clone()

Photon* reco::Photon::clone ( ) const
overridevirtual

returns a clone of the candidate

Reimplemented from reco::LeafCandidate.

Reimplemented in pat::Photon.

◆ conversions()

reco::ConversionRefVector reco::Photon::conversions ( ) const
inline

vector of references to Conversion's

Definition at line 64 of file Photon.h.

References photonCore().

Referenced by PhotonValidator::analyze(), PhotonAnalyzer::analyze(), and hasConversionTracks().

64 { return this->photonCore()->conversions(); }
reco::PhotonCoreRef photonCore() const
returns a reference to the core photon object
Definition: Photon.h:50

◆ conversionsOneLeg()

reco::ConversionRefVector reco::Photon::conversionsOneLeg ( ) const
inline

vector of references to one leg Conversion's

Definition at line 68 of file Photon.h.

References photonCore().

Referenced by hasConversionTracks().

68 { return this->photonCore()->conversionsOneLeg(); }
reco::PhotonCoreRef photonCore() const
returns a reference to the core photon object
Definition: Photon.h:50

◆ conversionTrackProvenance()

int reco::Photon::conversionTrackProvenance ( const edm::RefToBase< reco::Track > &  convTrack) const

◆ e1x5()

float reco::Photon::e1x5 ( ) const
inline

Shower shape variables.

Definition at line 267 of file Photon.h.

References reco::Photon::ShowerShape::e1x5, and showerShapeBlock_.

Referenced by PhotonAnalyzer::analyze(), and egHLT::OffHelper::fillClusShapeData().

267 { return showerShapeBlock_.e1x5; }
ShowerShape showerShapeBlock_
Definition: Photon.h:604

◆ e2x5()

float reco::Photon::e2x5 ( ) const
inline

Definition at line 268 of file Photon.h.

References reco::Photon::ShowerShape::e2x5, and showerShapeBlock_.

Referenced by PhotonAnalyzer::analyze(), and egHLT::OffHelper::fillClusShapeData().

268 { return showerShapeBlock_.e2x5; }
ShowerShape showerShapeBlock_
Definition: Photon.h:604

◆ e3x3()

float reco::Photon::e3x3 ( ) const
inline

Definition at line 269 of file Photon.h.

References reco::Photon::ShowerShape::e3x3, and showerShapeBlock_.

Referenced by PhotonAnalyzer::analyze().

269 { return showerShapeBlock_.e3x3; }
ShowerShape showerShapeBlock_
Definition: Photon.h:604

◆ e5x5()

float reco::Photon::e5x5 ( ) const
inline

◆ ecalPFClusterIso()

float reco::Photon::ecalPFClusterIso ( ) const
inline

Definition at line 553 of file Photon.h.

References pfIsolation_, and reco::Photon::PflowIsolationVariables::sumEcalClusterEt.

553 { return pfIsolation_.sumEcalClusterEt; };
PflowIsolationVariables pfIsolation_
Definition: Photon.h:609

◆ ecalRecHitSumEtConeDR03()

float reco::Photon::ecalRecHitSumEtConeDR03 ( ) const
inline

Isolation variables in cone dR=0.3.

Definition at line 504 of file Photon.h.

References reco::Photon::IsolationVariables::ecalRecHitSumEt, and isolationR03_.

Referenced by egHLT::OffHelper::fillIsolData().

504 { return isolationR03_.ecalRecHitSumEt; }
IsolationVariables isolationR03_
Definition: Photon.h:603

◆ ecalRecHitSumEtConeDR04()

float reco::Photon::ecalRecHitSumEtConeDR04 ( ) const
inline

◆ electronPixelSeeds()

reco::ElectronSeedRefVector reco::Photon::electronPixelSeeds ( ) const
inline

reference to electron Pixel seed

Definition at line 77 of file Photon.h.

References photonCore().

Referenced by hasPixelSeed().

77 { return this->photonCore()->electronPixelSeeds(); }
reco::PhotonCoreRef photonCore() const
returns a reference to the core photon object
Definition: Photon.h:50

◆ energyCorrections()

const EnergyCorrections& reco::Photon::energyCorrections ( ) const
inline

Definition at line 362 of file Photon.h.

References eCorrections_.

362 { return eCorrections_; }
EnergyCorrections eCorrections_
Definition: Photon.h:607

◆ etOutsideMustache()

float reco::Photon::etOutsideMustache ( ) const
inline

Definition at line 576 of file Photon.h.

References reco::Photon::PflowIDVariables::etOutsideMustache, and pfID_.

576 { return pfID_.etOutsideMustache; }
PflowIDVariables pfID_
Definition: Photon.h:610

◆ full5x5_e1x5()

float reco::Photon::full5x5_e1x5 ( ) const
inline

full5x5 Shower shape variables

Definition at line 279 of file Photon.h.

References reco::Photon::ShowerShape::e1x5, and full5x5_showerShapeBlock_.

ShowerShape full5x5_showerShapeBlock_
Definition: Photon.h:605

◆ full5x5_e2x5()

float reco::Photon::full5x5_e2x5 ( ) const
inline

Definition at line 280 of file Photon.h.

References reco::Photon::ShowerShape::e2x5, and full5x5_showerShapeBlock_.

ShowerShape full5x5_showerShapeBlock_
Definition: Photon.h:605

◆ full5x5_e3x3()

float reco::Photon::full5x5_e3x3 ( ) const
inline

Definition at line 281 of file Photon.h.

References reco::Photon::ShowerShape::e3x3, and full5x5_showerShapeBlock_.

ShowerShape full5x5_showerShapeBlock_
Definition: Photon.h:605

◆ full5x5_e5x5()

float reco::Photon::full5x5_e5x5 ( ) const
inline

Definition at line 282 of file Photon.h.

References reco::Photon::ShowerShape::e5x5, and full5x5_showerShapeBlock_.

ShowerShape full5x5_showerShapeBlock_
Definition: Photon.h:605

◆ full5x5_hadronicOverEm()

float reco::Photon::full5x5_hadronicOverEm ( int  depth = 0) const
inline

Definition at line 292 of file Photon.h.

References LEDCalibrationChannels::depth, and full5x5_hcalOverEcal().

292 { return full5x5_hcalOverEcal(depth); }
float full5x5_hcalOverEcal(int depth=0) const
the total hadronic over electromagnetic fraction
Definition: Photon.h:291

◆ full5x5_hadTowOverEm()

float reco::Photon::full5x5_hadTowOverEm ( int  depth = 0) const
inline

Definition at line 296 of file Photon.h.

References LEDCalibrationChannels::depth, and full5x5_hcalOverEcalBc().

296 { return full5x5_hcalOverEcalBc(depth); }
float full5x5_hcalOverEcalBc(int depth=0) const
the ratio of total energy of hcal rechits behind the SC and the SC energy
Definition: Photon.h:295

◆ full5x5_hcalOverEcal()

float reco::Photon::full5x5_hcalOverEcal ( int  depth = 0) const
inline

the total hadronic over electromagnetic fraction

Definition at line 291 of file Photon.h.

References LEDCalibrationChannels::depth, full5x5_showerShapeBlock_, and hcalOverEcal().

Referenced by full5x5_hadronicOverEm().

float hcalOverEcal(const ShowerShape &ss, int depth) const
the total hadronic over electromagnetic fraction
Definition: Photon.h:219
ShowerShape full5x5_showerShapeBlock_
Definition: Photon.h:605

◆ full5x5_hcalOverEcalBc()

float reco::Photon::full5x5_hcalOverEcalBc ( int  depth = 0) const
inline

the ratio of total energy of hcal rechits behind the SC and the SC energy

Definition at line 295 of file Photon.h.

References LEDCalibrationChannels::depth, full5x5_showerShapeBlock_, and hcalOverEcalBc().

Referenced by full5x5_hadTowOverEm().

float hcalOverEcalBc(const ShowerShape &ss, int depth) const
the ratio of total energy of hcal rechits behind the SC and the SC energy
Definition: Photon.h:239
ShowerShape full5x5_showerShapeBlock_
Definition: Photon.h:605

◆ full5x5_maxEnergyXtal()

float reco::Photon::full5x5_maxEnergyXtal ( ) const
inline

Definition at line 283 of file Photon.h.

References full5x5_showerShapeBlock_, and reco::Photon::ShowerShape::maxEnergyXtal.

ShowerShape full5x5_showerShapeBlock_
Definition: Photon.h:605

◆ full5x5_r1x5()

float reco::Photon::full5x5_r1x5 ( ) const
inline

◆ full5x5_r2x5()

float reco::Photon::full5x5_r2x5 ( ) const
inline

◆ full5x5_r9()

float reco::Photon::full5x5_r9 ( ) const
inline

Definition at line 288 of file Photon.h.

References reco::Photon::ShowerShape::e3x3, full5x5_showerShapeBlock_, and superCluster().

Referenced by PhotonValidatorMiniAOD::analyze(), PhotonMVABasedHaloTagger::calculateMVA(), EGRegressionModifierV3::getRegData(), and EGRegressionModifierV2::modifyObject().

288 { return full5x5_showerShapeBlock_.e3x3 / this->superCluster()->rawEnergy(); }
ShowerShape full5x5_showerShapeBlock_
Definition: Photon.h:605
reco::SuperClusterRef superCluster() const override
Ref to SuperCluster.

◆ full5x5_setShowerShapeVariables()

void reco::Photon::full5x5_setShowerShapeVariables ( const ShowerShape a)
inline

Definition at line 216 of file Photon.h.

References a, and full5x5_showerShapeBlock_.

Referenced by EG9X105XObjectUpdateModifier::modifyObject(), and EGFull5x5ShowerShapeModifierFromValueMaps::modifyObject().

ShowerShape full5x5_showerShapeBlock_
Definition: Photon.h:605
double a
Definition: hdecay.h:119

◆ full5x5_showerShapeVariables()

const ShowerShape& reco::Photon::full5x5_showerShapeVariables ( ) const
inline

◆ full5x5_sigmaEtaEta()

float reco::Photon::full5x5_sigmaEtaEta ( ) const
inline

Definition at line 284 of file Photon.h.

References full5x5_showerShapeBlock_, and reco::Photon::ShowerShape::sigmaEtaEta.

ShowerShape full5x5_showerShapeBlock_
Definition: Photon.h:605

◆ full5x5_sigmaIetaIeta()

float reco::Photon::full5x5_sigmaIetaIeta ( ) const
inline

◆ getCandidateP4type()

P4type reco::Photon::getCandidateP4type ( ) const
inline

◆ getCorrectedEnergy()

float reco::Photon::getCorrectedEnergy ( P4type  type) const

◆ getCorrectedEnergyError()

float reco::Photon::getCorrectedEnergyError ( P4type  type) const

◆ getPflowIsolationVariables()

const PflowIsolationVariables& reco::Photon::getPflowIsolationVariables ( ) const
inline

Get Particle Flow Isolation variables block.

Definition at line 557 of file Photon.h.

References pfIsolation_.

Referenced by EG9X105XObjectUpdateModifier::modifyObject(), and pat::PATPhotonProducer::produce().

557 { return pfIsolation_; }
PflowIsolationVariables pfIsolation_
Definition: Photon.h:609

◆ hadronicOverEm()

float reco::Photon::hadronicOverEm ( int  depth = 0) const
inline

◆ hadronicOverEmValid()

bool reco::Photon::hadronicOverEmValid ( ) const
inline

returns false if H/E is not reliably estimated (e.g. because hcal was off or masked)

Definition at line 263 of file Photon.h.

References reco::Photon::ShowerShape::invalidHcal, and showerShapeBlock_.

263 { return !showerShapeBlock_.invalidHcal; }
ShowerShape showerShapeBlock_
Definition: Photon.h:604

◆ hadTowOverEm()

float reco::Photon::hadTowOverEm ( int  depth = 0) const
inline

Definition at line 256 of file Photon.h.

References LEDCalibrationChannels::depth, and hcalOverEcalBc().

Referenced by PhotonValidatorMiniAOD::analyze(), and PhotonAnalyzer::photonSelection().

256 { return hcalOverEcalBc(depth); }
float hcalOverEcalBc(const ShowerShape &ss, int depth) const
the ratio of total energy of hcal rechits behind the SC and the SC energy
Definition: Photon.h:239

◆ hadTowOverEmValid()

bool reco::Photon::hadTowOverEmValid ( ) const
inline

Definition at line 264 of file Photon.h.

References reco::Photon::ShowerShape::invalidHcal, and showerShapeBlock_.

264 { return !showerShapeBlock_.invalidHcal; }
ShowerShape showerShapeBlock_
Definition: Photon.h:604

◆ haloTaggerMVAVal()

float reco::Photon::haloTaggerMVAVal ( ) const
inline

MVA based beam halo tagger - trained for EE and for pT > 200 GeV.

Definition at line 586 of file Photon.h.

References haloTaggerMVAVal_.

586 { return haloTaggerMVAVal_; }
float haloTaggerMVAVal_
Definition: Photon.h:611

◆ hasConversionTracks()

bool reco::Photon::hasConversionTracks ( ) const
inline

Bool flagging photons with a vector of refereces to conversions with size >0.

Definition at line 70 of file Photon.h.

References conversions(), conversionsOneLeg(), relativeConstraints::empty, and photonCore().

Referenced by SimplePi0DiscAnalyzer::analyze(), and PhotonAnalyzer::analyze().

70  {
71  if (!this->photonCore()->conversions().empty() || !this->photonCore()->conversionsOneLeg().empty())
72  return true;
73  else
74  return false;
75  }
reco::ConversionRefVector conversionsOneLeg() const
vector of references to one leg Conversion&#39;s
Definition: Photon.h:68
reco::ConversionRefVector conversions() const
vector of references to Conversion&#39;s
Definition: Photon.h:64
reco::PhotonCoreRef photonCore() const
returns a reference to the core photon object
Definition: Photon.h:50

◆ hasPixelSeed()

bool reco::Photon::hasPixelSeed ( ) const
inline

Bool flagging photons having a non-zero size vector of Ref to electornPixel seeds.

Definition at line 79 of file Photon.h.

References electronPixelSeeds(), relativeConstraints::empty, and photonCore().

Referenced by pat::PATPhotonProducer::produce().

79  {
80  if (!(this->photonCore()->electronPixelSeeds()).empty())
81  return true;
82  else
83  return false;
84  }
reco::ElectronSeedRefVector electronPixelSeeds() const
reference to electron Pixel seed
Definition: Photon.h:77
reco::PhotonCoreRef photonCore() const
returns a reference to the core photon object
Definition: Photon.h:50

◆ hcalOverEcal() [1/2]

float reco::Photon::hcalOverEcal ( const ShowerShape ss,
int  depth 
) const
inline

the total hadronic over electromagnetic fraction

Definition at line 219 of file Photon.h.

References LEDCalibrationChannels::depth, mps_fire::end, f, and contentValuesCheck::ss.

Referenced by full5x5_hcalOverEcal(), and hadronicOverEm().

219  {
220  if (ss.pre7DepthHcal) {
221  if (depth == 0)
222  return ss.hcalDepth1OverEcal + ss.hcalDepth2OverEcal;
223  else if (depth == 1)
224  return ss.hcalDepth1OverEcal;
225  else if (depth == 2)
226  return ss.hcalDepth2OverEcal;
227 
228  return 0.f;
229  } else {
230  const auto& hovere = ss.hcalOverEcal;
231  return (!(depth > 0 and depth < 8)) ? std::accumulate(std::begin(hovere), std::end(hovere), 0.f)
232  : hovere[depth - 1];
233  }
234  }
double f[11][100]

◆ hcalOverEcal() [2/2]

float reco::Photon::hcalOverEcal ( int  depth = 0) const
inline

Definition at line 235 of file Photon.h.

References LEDCalibrationChannels::depth, hcalOverEcal(), and showerShapeBlock_.

Referenced by hcalOverEcal().

float hcalOverEcal(const ShowerShape &ss, int depth) const
the total hadronic over electromagnetic fraction
Definition: Photon.h:219
ShowerShape showerShapeBlock_
Definition: Photon.h:604

◆ hcalOverEcalBc() [1/2]

float reco::Photon::hcalOverEcalBc ( const ShowerShape ss,
int  depth 
) const
inline

the ratio of total energy of hcal rechits behind the SC and the SC energy

Definition at line 239 of file Photon.h.

References LEDCalibrationChannels::depth, mps_fire::end, f, and contentValuesCheck::ss.

Referenced by full5x5_hcalOverEcalBc(), and hadTowOverEm().

239  {
240  if (ss.pre7DepthHcal) {
241  if (depth == 0)
242  return ss.hcalDepth1OverEcalBc + ss.hcalDepth2OverEcalBc;
243  else if (depth == 1)
244  return ss.hcalDepth1OverEcalBc;
245  else if (depth == 2)
246  return ss.hcalDepth2OverEcalBc;
247 
248  return 0.f;
249  } else {
250  const auto& hovere = ss.hcalOverEcalBc;
251  return (!(depth > 0 and depth < 8)) ? std::accumulate(std::begin(hovere), std::end(hovere), 0.f)
252  : hovere[depth - 1];
253  }
254  }
double f[11][100]

◆ hcalOverEcalBc() [2/2]

float reco::Photon::hcalOverEcalBc ( int  depth = 0) const
inline

Definition at line 255 of file Photon.h.

References LEDCalibrationChannels::depth, hcalOverEcalBc(), and showerShapeBlock_.

Referenced by hcalOverEcalBc().

float hcalOverEcalBc(const ShowerShape &ss, int depth) const
the ratio of total energy of hcal rechits behind the SC and the SC energy
Definition: Photon.h:239
ShowerShape showerShapeBlock_
Definition: Photon.h:604

◆ hcalPFClusterIso()

float reco::Photon::hcalPFClusterIso ( ) const
inline

Definition at line 554 of file Photon.h.

References pfIsolation_, and reco::Photon::PflowIsolationVariables::sumHcalClusterEt.

554 { return pfIsolation_.sumHcalClusterEt; };
PflowIsolationVariables pfIsolation_
Definition: Photon.h:609

◆ hcalToRun2EffDepth()

void reco::Photon::hcalToRun2EffDepth ( )

◆ hcalTowersBehindClusters()

const std::vector<CaloTowerDetId>& reco::Photon::hcalTowersBehindClusters ( ) const
inline

Definition at line 258 of file Photon.h.

References reco::Photon::ShowerShape::hcalTowersBehindClusters, and showerShapeBlock_.

258  {
260  }
std::vector< CaloTowerDetId > hcalTowersBehindClusters
Definition: Photon.h:156
ShowerShape showerShapeBlock_
Definition: Photon.h:604

◆ hcalTowerSumEt()

float reco::Photon::hcalTowerSumEt ( const IsolationVariables iv,
int  depth 
) const
inline

Hcal isolation sum for each depth excluding the region containing the rechits used for hcalOverEcal()

Definition at line 459 of file Photon.h.

References LEDCalibrationChannels::depth, mps_fire::end, f, and gpuVertexFinder::iv.

Referenced by hcalTowerSumEtConeDR03(), and hcalTowerSumEtConeDR04().

459  {
460  if (iv.pre7DepthHcal) {
461  if (depth == 0)
462  return iv.hcalTowerSumEt;
463  else if (depth == 1)
464  return iv.hcalDepth1TowerSumEt;
465  else if (depth == 2)
466  return iv.hcalDepth2TowerSumEt;
467 
468  return 0.f;
469  } else {
470  const auto& hcaliso = iv.hcalRecHitSumEt;
471  return (!(depth > 0 and depth < 8)) ? std::accumulate(std::begin(hcaliso), std::end(hcaliso), 0.f)
472  : hcaliso[depth - 1];
473  }
474  }
int32_t *__restrict__ iv
double f[11][100]

◆ hcalTowerSumEtBc()

float reco::Photon::hcalTowerSumEtBc ( const IsolationVariables iv,
int  depth 
) const
inline

Hcal isolation sum for each depth excluding the region containing the rechits used for hcalOverEcalBc()

Definition at line 477 of file Photon.h.

References LEDCalibrationChannels::depth, mps_fire::end, f, and gpuVertexFinder::iv.

Referenced by hcalTowerSumEtBcConeDR03(), and hcalTowerSumEtBcConeDR04().

477  {
478  if (iv.pre7DepthHcal) {
479  if (depth == 0)
480  return iv.hcalTowerSumEtBc;
481  else if (depth == 1)
482  return iv.hcalDepth1TowerSumEtBc;
483  else if (depth == 2)
484  return iv.hcalDepth2TowerSumEtBc;
485 
486  return 0.f;
487  } else {
488  const auto& hcaliso = iv.hcalRecHitSumEtBc;
489  return (!(depth > 0 and depth < 8)) ? std::accumulate(std::begin(hcaliso), std::end(hcaliso), 0.f)
490  : hcaliso[depth - 1];
491  }
492  }
int32_t *__restrict__ iv
double f[11][100]

◆ hcalTowerSumEtBcConeDR03()

float reco::Photon::hcalTowerSumEtBcConeDR03 ( int  depth = 0) const
inline

Hcal isolation sum for each depth excluding the region containing the rechits used for hcalOverEcalBc()

Definition at line 508 of file Photon.h.

References LEDCalibrationChannels::depth, hcalTowerSumEtBc(), and isolationR03_.

IsolationVariables isolationR03_
Definition: Photon.h:603
float hcalTowerSumEtBc(const IsolationVariables &iv, int depth) const
Hcal isolation sum for each depth excluding the region containing the rechits used for hcalOverEcalBc...
Definition: Photon.h:477

◆ hcalTowerSumEtBcConeDR04()

float reco::Photon::hcalTowerSumEtBcConeDR04 ( int  depth = 0) const
inline

Definition at line 493 of file Photon.h.

References LEDCalibrationChannels::depth, hcalTowerSumEtBc(), and isolationR04_.

Referenced by PhotonValidatorMiniAOD::analyze().

IsolationVariables isolationR04_
Definition: Photon.h:602
float hcalTowerSumEtBc(const IsolationVariables &iv, int depth) const
Hcal isolation sum for each depth excluding the region containing the rechits used for hcalOverEcalBc...
Definition: Photon.h:477

◆ hcalTowerSumEtConeDR03()

float reco::Photon::hcalTowerSumEtConeDR03 ( int  depth = 0) const
inline

Hcal isolation sum for each depth excluding the region containing the rechits used for hcalOverEcal()

Definition at line 506 of file Photon.h.

References LEDCalibrationChannels::depth, hcalTowerSumEt(), and isolationR03_.

Referenced by egHLT::OffHelper::fillIsolData(), and PhotonAnalyzer::photonSelection().

506 { return hcalTowerSumEt(isolationR03_, depth); }
IsolationVariables isolationR03_
Definition: Photon.h:603
float hcalTowerSumEt(const IsolationVariables &iv, int depth) const
Hcal isolation sum for each depth excluding the region containing the rechits used for hcalOverEcal()...
Definition: Photon.h:459

◆ hcalTowerSumEtConeDR04()

float reco::Photon::hcalTowerSumEtConeDR04 ( int  depth = 0) const
inline

Definition at line 475 of file Photon.h.

References LEDCalibrationChannels::depth, hcalTowerSumEt(), and isolationR04_.

Referenced by PatPhotonSimpleAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), PhotonValidatorMiniAOD::analyze(), PhotonValidator::analyze(), PhotonAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and pat::Photon::hcalIso().

475 { return hcalTowerSumEt(isolationR04_, depth); }
IsolationVariables isolationR04_
Definition: Photon.h:602
float hcalTowerSumEt(const IsolationVariables &iv, int depth) const
Hcal isolation sum for each depth excluding the region containing the rechits used for hcalOverEcal()...
Definition: Photon.h:459

◆ isEB()

bool reco::Photon::isEB ( ) const
inline

◆ isEBEEGap()

bool reco::Photon::isEBEEGap ( ) const
inline

◆ isEBEtaGap()

bool reco::Photon::isEBEtaGap ( ) const
inline

◆ isEBGap()

bool reco::Photon::isEBGap ( ) const
inline

true if photon is in EB, and inside the boundaries in super crystals/modules

Definition at line 127 of file Photon.h.

References isEBEtaGap(), and isEBPhiGap().

Referenced by PatPhotonSimpleAnalyzer::analyze(), and egHLT::OffPho::isGap().

127 { return (isEBEtaGap() || isEBPhiGap()); }
bool isEBPhiGap() const
Definition: Photon.h:129
bool isEBEtaGap() const
Definition: Photon.h:128

◆ isEBPhiGap()

bool reco::Photon::isEBPhiGap ( ) const
inline

◆ isEE()

bool reco::Photon::isEE ( ) const
inline

◆ isEEDeeGap()

bool reco::Photon::isEEDeeGap ( ) const
inline

◆ isEEGap()

bool reco::Photon::isEEGap ( ) const
inline

true if photon is in EE, and inside the boundaries in supercrystal/D

Definition at line 131 of file Photon.h.

References isEEDeeGap(), and isEERingGap().

Referenced by PatPhotonSimpleAnalyzer::analyze(), and egHLT::OffPho::isGap().

131 { return (isEERingGap() || isEEDeeGap()); }
bool isEEDeeGap() const
Definition: Photon.h:133
bool isEERingGap() const
Definition: Photon.h:132

◆ isEERingGap()

bool reco::Photon::isEERingGap ( ) const
inline

◆ isPFlowPhoton()

bool reco::Photon::isPFlowPhoton ( ) const
inline

Retrieve photonCore attributes.

Definition at line 57 of file Photon.h.

References photonCore().

57 { return this->photonCore()->isPFlowPhoton(); }
reco::PhotonCoreRef photonCore() const
returns a reference to the core photon object
Definition: Photon.h:50

◆ isPhoton()

bool reco::Photon::isPhoton ( ) const
inlineoverridevirtual

Implement Candidate method for particle species.

Reimplemented from reco::LeafCandidate.

Definition at line 92 of file Photon.h.

92 { return true; }

◆ isSeedSaturated()

float reco::Photon::isSeedSaturated ( ) const
inline

Definition at line 310 of file Photon.h.

References reco::Photon::SaturationInfo::isSeedSaturated, and saturationInfo_.

SaturationInfo saturationInfo_
Definition: Photon.h:606

◆ isStandardPhoton()

bool reco::Photon::isStandardPhoton ( ) const
inline

Definition at line 58 of file Photon.h.

References photonCore().

58 { return this->photonCore()->isStandardPhoton(); }
reco::PhotonCoreRef photonCore() const
returns a reference to the core photon object
Definition: Photon.h:50

◆ maxEnergyXtal()

float reco::Photon::maxEnergyXtal ( ) const
inline

Definition at line 271 of file Photon.h.

References reco::Photon::ShowerShape::maxEnergyXtal, and showerShapeBlock_.

Referenced by PhotonAnalyzer::analyze().

ShowerShape showerShapeBlock_
Definition: Photon.h:604

◆ mipChi2()

float reco::Photon::mipChi2 ( ) const
inline

MIP variables.

Definition at line 388 of file Photon.h.

References reco::Photon::MIPVariables::mipChi2, and mipVariableBlock_.

388 { return mipVariableBlock_.mipChi2; }
MIPVariables mipVariableBlock_
Definition: Photon.h:608

◆ mipIntercept()

float reco::Photon::mipIntercept ( ) const
inline

Definition at line 391 of file Photon.h.

References reco::Photon::MIPVariables::mipIntercept, and mipVariableBlock_.

MIPVariables mipVariableBlock_
Definition: Photon.h:608

◆ mipIsHalo()

bool reco::Photon::mipIsHalo ( ) const
inline

Definition at line 393 of file Photon.h.

References reco::Photon::MIPVariables::mipIsHalo, and mipVariableBlock_.

393 { return mipVariableBlock_.mipIsHalo; }
MIPVariables mipVariableBlock_
Definition: Photon.h:608

◆ mipNhitCone()

int reco::Photon::mipNhitCone ( ) const
inline

Definition at line 392 of file Photon.h.

References reco::Photon::MIPVariables::mipNhitCone, and mipVariableBlock_.

392 { return mipVariableBlock_.mipNhitCone; }
MIPVariables mipVariableBlock_
Definition: Photon.h:608

◆ mipSlope()

float reco::Photon::mipSlope ( ) const
inline

Definition at line 390 of file Photon.h.

References reco::Photon::MIPVariables::mipSlope, and mipVariableBlock_.

390 { return mipVariableBlock_.mipSlope; }
MIPVariables mipVariableBlock_
Definition: Photon.h:608

◆ mipTotEnergy()

float reco::Photon::mipTotEnergy ( ) const
inline

Definition at line 389 of file Photon.h.

References reco::Photon::MIPVariables::mipTotEnergy, and mipVariableBlock_.

MIPVariables mipVariableBlock_
Definition: Photon.h:608

◆ nClusterOutsideMustache()

int reco::Photon::nClusterOutsideMustache ( ) const
inline

Definition at line 575 of file Photon.h.

References reco::Photon::PflowIDVariables::nClusterOutsideMustache, and pfID_.

575 { return pfID_.nClusterOutsideMustache; }
PflowIDVariables pfID_
Definition: Photon.h:610

◆ neutralHadronIso()

float reco::Photon::neutralHadronIso ( ) const
inline

◆ nSaturatedXtals()

float reco::Photon::nSaturatedXtals ( ) const
inline

◆ nTrkHollowConeDR03()

int reco::Photon::nTrkHollowConeDR03 ( ) const
inline

Definition at line 516 of file Photon.h.

References isolationR03_, and reco::Photon::IsolationVariables::nTrkHollowCone.

Referenced by egHLT::OffHelper::fillIsolData().

516 { return isolationR03_.nTrkHollowCone; }
IsolationVariables isolationR03_
Definition: Photon.h:603

◆ nTrkHollowConeDR04()

int reco::Photon::nTrkHollowConeDR04 ( ) const
inline

◆ nTrkSolidConeDR03()

int reco::Photon::nTrkSolidConeDR03 ( ) const
inline

Definition at line 514 of file Photon.h.

References isolationR03_, and reco::Photon::IsolationVariables::nTrkSolidCone.

514 { return isolationR03_.nTrkSolidCone; }
IsolationVariables isolationR03_
Definition: Photon.h:603

◆ nTrkSolidConeDR04()

int reco::Photon::nTrkSolidConeDR04 ( ) const
inline

◆ overlap()

bool reco::Photon::overlap ( const Candidate ) const
overrideprivatevirtual

check overlap with another candidate

Implements reco::RecoCandidate.

◆ p4()

const LorentzVector& reco::Photon::p4 ( P4type  type) const

◆ parentSuperCluster()

reco::SuperClusterRef reco::Photon::parentSuperCluster ( ) const
inline

Ref to PFlow SuperCluster.

Definition at line 62 of file Photon.h.

References photonCore().

62 { return this->photonCore()->parentSuperCluster(); }
reco::PhotonCoreRef photonCore() const
returns a reference to the core photon object
Definition: Photon.h:50

◆ pfDNN()

float reco::Photon::pfDNN ( ) const
inline

Definition at line 578 of file Photon.h.

References reco::Photon::PflowIDVariables::dnn, and pfID_.

578 { return pfID_.dnn; }
PflowIDVariables pfID_
Definition: Photon.h:610

◆ pfMVA()

float reco::Photon::pfMVA ( ) const
inline

Definition at line 577 of file Photon.h.

References reco::Photon::PflowIDVariables::mva, and pfID_.

577 { return pfID_.mva; }
PflowIDVariables pfID_
Definition: Photon.h:610

◆ photonCore()

reco::PhotonCoreRef reco::Photon::photonCore ( ) const
inline

returns a reference to the core photon object

Definition at line 50 of file Photon.h.

References photonCore_.

Referenced by conversions(), conversionsOneLeg(), electronPixelSeeds(), hasConversionTracks(), hasPixelSeed(), isPFlowPhoton(), isStandardPhoton(), parentSuperCluster(), and setPhotonCore().

50 { return photonCore_; }
reco::PhotonCoreRef photonCore_
reference to the PhotonCore
Definition: Photon.h:597

◆ photonIso()

float reco::Photon::photonIso ( ) const
inline

◆ r1x5()

float reco::Photon::r1x5 ( ) const
inline

◆ r2x5()

float reco::Photon::r2x5 ( ) const
inline

◆ r9()

float reco::Photon::r9 ( ) const
inline

◆ saturationInfo()

const SaturationInfo& reco::Photon::saturationInfo ( ) const
inline

Definition at line 311 of file Photon.h.

References saturationInfo_.

311 { return saturationInfo_; }
SaturationInfo saturationInfo_
Definition: Photon.h:606

◆ setCandidateP4type()

void reco::Photon::setCandidateP4type ( const P4type  type)
inline

◆ setCorrectedEnergy()

void reco::Photon::setCorrectedEnergy ( P4type  type,
float  E,
float  dE,
bool  toCand = true 
)

◆ setEnergyCorrections()

void reco::Photon::setEnergyCorrections ( const EnergyCorrections e)
inline

Definition at line 355 of file Photon.h.

References MillePedeFileConverter_cfg::e, and eCorrections_.

◆ setFiducialVolumeFlags()

void reco::Photon::setFiducialVolumeFlags ( const FiducialFlags a)
inline

set flags for photons in the ECAL fiducial volume

Definition at line 120 of file Photon.h.

References a, and fiducialFlagBlock_.

120 { fiducialFlagBlock_ = a; }
FiducialFlags fiducialFlagBlock_
Definition: Photon.h:601
double a
Definition: hdecay.h:119

◆ setHaloTaggerMVAVal()

void reco::Photon::setHaloTaggerMVAVal ( float  x)
inline

set the haloTaggerMVAVal here

Definition at line 589 of file Photon.h.

References haloTaggerMVAVal_, and x.

Referenced by GEDPhotonProducer::fillPhotonCollection().

589 { haloTaggerMVAVal_ = x; }
float haloTaggerMVAVal_
Definition: Photon.h:611

◆ setIsolationVariables()

void reco::Photon::setIsolationVariables ( const IsolationVariables isolInDr04,
const IsolationVariables isolInDr03 
)
inline

set relevant isolation variables

Definition at line 450 of file Photon.h.

References isolationR03_, and isolationR04_.

450  {
451  isolationR04_ = isolInDr04;
452  isolationR03_ = isolInDr03;
453  }
IsolationVariables isolationR03_
Definition: Photon.h:603
IsolationVariables isolationR04_
Definition: Photon.h:602

◆ setMIPVariables()

void reco::Photon::setMIPVariables ( const MIPVariables mipVar)
inline

set mip Variables

Definition at line 396 of file Photon.h.

References mipVariableBlock_.

396 { mipVariableBlock_ = mipVar; }
MIPVariables mipVariableBlock_
Definition: Photon.h:608

◆ setP4()

void reco::Photon::setP4 ( P4type  type,
const LorentzVector p4,
float  p4Error,
bool  setToRecoCandidate 
)

◆ setPflowIDVariables()

void reco::Photon::setPflowIDVariables ( const PflowIDVariables pfid)
inline

Definition at line 580 of file Photon.h.

References pfID_.

580 { pfID_ = pfid; }
PflowIDVariables pfID_
Definition: Photon.h:610

◆ setPflowIsolationVariables()

void reco::Photon::setPflowIsolationVariables ( const PflowIsolationVariables pfisol)
inline

Set Particle Flow Isolation variables.

Definition at line 560 of file Photon.h.

References pfIsolation_.

Referenced by GEDPhotonProducer::fillPhotonCollection(), EG9X105XObjectUpdateModifier::modifyObject(), and pat::PATPhotonProducer::produce().

560 { pfIsolation_ = pfisol; }
PflowIsolationVariables pfIsolation_
Definition: Photon.h:609

◆ setPhotonCore()

void reco::Photon::setPhotonCore ( const reco::PhotonCoreRef photonCore)
inline

Definition at line 51 of file Photon.h.

References photonCore(), and photonCore_.

reco::PhotonCoreRef photonCore() const
returns a reference to the core photon object
Definition: Photon.h:50
reco::PhotonCoreRef photonCore_
reference to the PhotonCore
Definition: Photon.h:597

◆ setSaturationInfo()

void reco::Photon::setSaturationInfo ( const SaturationInfo s)
inline

Definition at line 312 of file Photon.h.

References alignCSCRings::s, and saturationInfo_.

Referenced by EG8XObjectUpdateModifier::modifyObject().

312 { saturationInfo_ = s; }
SaturationInfo saturationInfo_
Definition: Photon.h:606

◆ setShowerShapeVariables()

void reco::Photon::setShowerShapeVariables ( const ShowerShape a)
inline

Definition at line 215 of file Photon.h.

References a, and showerShapeBlock_.

Referenced by EG9X105XObjectUpdateModifier::modifyObject().

215 { showerShapeBlock_ = a; }
double a
Definition: hdecay.h:119
ShowerShape showerShapeBlock_
Definition: Photon.h:604

◆ setVertex()

void reco::Photon::setVertex ( const Point vertex)
overridevirtual

set primary event vertex used to define photon direction

Reimplemented from reco::LeafCandidate.

◆ showerShapeVariables()

const ShowerShape& reco::Photon::showerShapeVariables ( ) const
inline

Definition at line 212 of file Photon.h.

References showerShapeBlock_.

Referenced by EGRegressionModifierV1::modifyObject(), and EG9X105XObjectUpdateModifier::modifyObject().

212 { return showerShapeBlock_; }
ShowerShape showerShapeBlock_
Definition: Photon.h:604

◆ sigmaEtaEta()

float reco::Photon::sigmaEtaEta ( ) const
inline

Definition at line 272 of file Photon.h.

References showerShapeBlock_, and reco::Photon::ShowerShape::sigmaEtaEta.

Referenced by egHLT::OffHelper::fillClusShapeData().

272 { return showerShapeBlock_.sigmaEtaEta; }
ShowerShape showerShapeBlock_
Definition: Photon.h:604

◆ sigmaIetaIeta()

float reco::Photon::sigmaIetaIeta ( ) const
inline

◆ superCluster()

reco::SuperClusterRef reco::Photon::superCluster ( ) const
overridevirtual

◆ trkSumPtHollowConeDR03()

float reco::Photon::trkSumPtHollowConeDR03 ( ) const
inline

◆ trkSumPtHollowConeDR04()

float reco::Photon::trkSumPtHollowConeDR04 ( ) const
inline

◆ trkSumPtSolidConeDR03()

float reco::Photon::trkSumPtSolidConeDR03 ( ) const
inline

Definition at line 510 of file Photon.h.

References isolationR03_, and reco::Photon::IsolationVariables::trkSumPtSolidCone.

IsolationVariables isolationR03_
Definition: Photon.h:603

◆ trkSumPtSolidConeDR04()

float reco::Photon::trkSumPtSolidConeDR04 ( ) const
inline

Member Data Documentation

◆ caloPosition_

math::XYZPointF reco::Photon::caloPosition_
private

position of seed BasicCluster for shower depth of unconverted photon

Definition at line 595 of file Photon.h.

Referenced by caloPosition().

◆ eCorrections_

EnergyCorrections reco::Photon::eCorrections_
private

◆ fiducialFlagBlock_

FiducialFlags reco::Photon::fiducialFlagBlock_
private

◆ full5x5_showerShapeBlock_

ShowerShape reco::Photon::full5x5_showerShapeBlock_
private

◆ haloTaggerMVAVal_

float reco::Photon::haloTaggerMVAVal_
private

Definition at line 611 of file Photon.h.

Referenced by haloTaggerMVAVal(), Photon(), and setHaloTaggerMVAVal().

◆ isolationR03_

IsolationVariables reco::Photon::isolationR03_
private

◆ isolationR04_

IsolationVariables reco::Photon::isolationR04_
private

◆ mipVariableBlock_

MIPVariables reco::Photon::mipVariableBlock_
private

◆ mvaPlaceholder

constexpr float reco::Photon::mvaPlaceholder = -999999999.
static

Definition at line 562 of file Photon.h.

◆ pfID_

PflowIDVariables reco::Photon::pfID_
private

◆ pfIsolation_

PflowIsolationVariables reco::Photon::pfIsolation_
private

◆ photonCore_

reco::PhotonCoreRef reco::Photon::photonCore_
private

reference to the PhotonCore

Definition at line 597 of file Photon.h.

Referenced by photonCore(), and setPhotonCore().

◆ pixelSeed_

bool reco::Photon::pixelSeed_
private

Definition at line 599 of file Photon.h.

Referenced by Photon().

◆ saturationInfo_

SaturationInfo reco::Photon::saturationInfo_
private

Definition at line 606 of file Photon.h.

Referenced by isSeedSaturated(), nSaturatedXtals(), saturationInfo(), and setSaturationInfo().

◆ showerShapeBlock_

ShowerShape reco::Photon::showerShapeBlock_
private