Go to the documentation of this file. 1 #ifndef EgammaCandidates_Photon_h
2 #define EgammaCandidates_Photon_h
88 bool isPhoton()
const override {
return true; }
float hcalDepth2OverEcalBc
void setIsolationVariables(const IsolationVariables &isolInDr04, const IsolationVariables &isolInDr03)
set relevant isolation variables
const ShowerShape & showerShapeVariables() const
reco::SuperClusterRef superCluster() const override
Ref to SuperCluster.
float full5x5_maxEnergyXtal() const
Photon * clone() const override
returns a clone of the candidate
math::XYZPoint Point
point in the space
float sigmaIetaIeta() const
float chargedHadronWorstVtxGeomVetoIso() const
float hcalDepth1TowerSumEtBcConeDR03() const
Hcal-Depth1 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC.
float full5x5_r1x5() const
float chargedHadronWorstVtxIso() const
float etOutsideMustache() const
float hadTowOverEm() const
the ration of hadronic energy in towers behind the BCs in the SC and the SC energy
float hcalDepth2TowerSumEtConeDR04() const
Hcal-Depth2 isolation sum.
float chargedHadronPFPVIso
float full5x5_e5x5() const
float hadTowOverEmValid() const
returns false if hadTowOverEm is not reliably estimated (e.g. because hcal was off or masked)
int nTrkHollowConeDR03() const
float trkSumPtHollowConeDR04() const
float neutralHadronIso() const
const std::vector< CaloTowerDetId > & hcalTowersBehindClusters() const
float hadronicOverEmValid() const
returns false if hadronicOverEm is not reliably estimated (e.g. because hcal was off or masked)
float mipIntercept() const
PflowIsolationVariables pfIsolation_
math::XYZPointF caloPosition_
position of seed BasicCluster for shower depth of unconverted photon
bool isPhoton() const override
Implement Candidate method for particle species.
float chargedHadronWorstVtxGeomVetoIso
float full5x5_e3x3() const
float hadTowDepth2OverEm() const
the ration of hadronic energy in towers depth2 behind the BCs in the SC and the SC energy
float hcalTowerSumEtBcConeDR03() const
Hcal isolation sum subtracting the hadronic energy in towers behind the BCs in the SC.
bool hasConversionTracks() const
Bool flagging photons with a vector of refereces to conversions with size >0.
float trkSumPtSolidConeDR03() const
float ecalRecHitSumEtConeDR03() const
Isolation variables in cone dR=0.3.
float chargedHadronPFPVIso() const
float hcalDepth2TowerSumEtBcConeDR04() const
Hcal-Depth2 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC.
float hcalDepth1TowerSumEtBc
void setPflowIsolationVariables(const PflowIsolationVariables &pfisol)
Set Particle Flow Isolation variables.
int nTrkSolidConeDR04() const
float regression1EnergyError
bool isPFlowPhoton() const
Retrieve photonCore attributes.
int nTrkHollowConeDR04() const
float chargedHadronIso() const
Accessors for Particle Flow Isolation variables.
float trkSumPtHollowConeDR03() const
float hcalDepth1OverEcalBc
int nTrkSolidConeDR03() const
LorentzVector regression1P4
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 taki...
float sigmaEtaEta() const
IsolationVariables isolationR04_
float hcalDepth2TowerSumEtBc
bool isStandardPhoton() const
bool hasPixelSeed() const
Bool flagging photons having a non-zero size vector of Ref to electornPixel seeds.
float full5x5_e2x5() const
Structure Point Contains parameters of Gaussian fits to DMRs.
float chargedHadronWorstVtxIso
void full5x5_setShowerShapeVariables(const ShowerShape &a)
float hcalTowerSumEtBcConeDR04() const
Hcal isolation sum subtracting the hadronic energy in towers behind the BCs in the SC.
reco::PhotonCoreRef photonCore() const
returns a reference to the core photon object
const ShowerShape & full5x5_showerShapeVariables() const
const PflowIsolationVariables & getPflowIsolationVariables() const
Get Particle Flow Isolation variables block.
float getCorrectedEnergyError(P4type type) const
ShowerShape full5x5_showerShapeBlock_
float ecalPFClusterIso() const
bool overlap(const Candidate &) const override
check overlap with another candidate
float hcalDepth2TowerSumEtBcConeDR03() const
Hcal-Depth2 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC.
float full5x5_e1x5() const
full5x5 Shower shape variables
bool isEEGap() const
true if photon is in EE, and inside the boundaries in supercrystal/D
const LorentzVector & p4() const final
four-momentum Lorentz vector
Photon()
default constructor
void setFiducialVolumeFlags(const FiducialFlags &a)
set flags for photons in the ECAL fiducial volume
float hadronicDepth1OverEm() const
the hadronic release in depth1 over electromagnetic fraction
PflowIsolationVariables()
void setCorrectedEnergy(P4type type, float E, float dE, bool toCand=true)
float hadTowDepth1OverEm() const
the ration of hadronic energy in towers depth1 behind the BCs in the SC and the SC energy
reco::ConversionRefVector conversionsOneLeg() const
vector of references to one leg Conversion's
ShowerShape showerShapeBlock_
float full5x5_r2x5() const
FiducialFlags fiducialFlagBlock_
const Point & vertex() const override
vertex position (overwritten by PF...)
EnergyCorrections eCorrections_
reco::SuperClusterRef parentSuperCluster() const
Ref to PFlow SuperCluster.
float hcalDepth1TowerSumEtConeDR03() const
Hcal-Depth1 isolation sum.
IsolationVariables isolationR03_
void setPflowIDVariables(const PflowIDVariables &pfid)
float hcalPFClusterIso() const
std::vector< CaloTowerDetId > hcalTowersBehindClusters
void setP4(const LorentzVector &p4) final
set 4-momentum
float full5x5_sigmaEtaEta() const
int nClusterOutsideMustache() const
reco::PhotonCoreRef photonCore_
reference to the PhotonCore
LorentzVector regression2P4
SaturationInfo saturationInfo_
float hadronicDepth2OverEm() const
the hadronic release in depth2 over electromagnetic fraction
float isSeedSaturated() const
float hadronicOverEm() const
the total hadronic over electromagnetic fraction
void setMIPVariables(const MIPVariables &mipVar)
set mip Variables
void setEnergyCorrections(const EnergyCorrections &e)
float getCorrectedEnergy(P4type type) const
math::XYZTLorentzVector LorentzVector
float trkSumPtSolidConeDR04() const
float e1x5() const
Shower shape variables.
float regression2EnergyError
reco::ConversionRefVector conversions() const
vector of references to Conversion's
MIPVariables mipVariableBlock_
int nClusterOutsideMustache
float hcalDepth2TowerSumEtConeDR03() const
Hcal-Depth2 isolation sum.
P4type getCandidateP4type() const
void setCandidateP4type(const P4type type)
float mipTotEnergy() const
float ecalRecHitSumEtConeDR04() const
int conversionTrackProvenance(const edm::RefToBase< reco::Track > &convTrack) const
void setVertex(const Point &vertex) override
set primary event vertex used to define photon direction
float hcalDepth1TowerSumEtConeDR04() const
Hcal-Depth1 isolation sum.
float full5x5_sigmaIetaIeta() const
const SaturationInfo & saturationInfo() const
float hcalDepth1TowerSumEtBcConeDR04() const
Hcal-Depth1 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC.
void setPhotonCore(const reco::PhotonCoreRef &photonCore)
float hcalDepth1TowerSumEt
void setSaturationInfo(const SaturationInfo &s)
const EnergyCorrections & energyCorrections() const
float nSaturatedXtals() const
math::XYZTLorentzVector LorentzVector
Lorentz vector.
float hcalDepth2TowerSumEt
void setP4(P4type type, const LorentzVector &p4, float p4Error, bool setToRecoCandidate)
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float > > XYZPointF
point in space with cartesian internal representation
bool isEBEEGap() const
true if photon is in boundary between EB and EE
~Photon() override
destructor
float mipChi2() const
MIP variables.
float hcalTowerSumEtConeDR04() const
Hcal isolation sum.
float maxEnergyXtal() const
void setShowerShapeVariables(const ShowerShape &a)
bool isEBGap() const
true if photon is in EB, and inside the boundaries in super crystals/modules
float hcalTowerSumEtConeDR03() const
Hcal isolation sum.
reco::ElectronSeedRefVector electronPixelSeeds() const
reference to electron Pixel seed