1 #ifndef EgammaCandidates_Photon_h
2 #define EgammaCandidates_Photon_h
MIPVariables mipVariableBlock_
void setPflowIsolationVariables(const PflowIsolationVariables &pfisol)
Set Particle Flow Isolation variables.
float hcalDepth1TowerSumEtBcConeDR03() const
Hcal-Depth1 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC...
float hcalDepth1TowerSumEtBc
float hcalTowerSumEtConeDR04() const
Hcal isolation sum.
float hcalDepth1TowerSumEt
void setMIPVariables(const MIPVariables &mipVar)
set mip Variables
float trkSumPtSolidConeDR03() const
float hcalDepth1TowerSumEtConeDR04() const
Hcal-Depth1 isolation sum.
PflowIsolationVariables pfIsolation_
float hcalDepth1TowerSumEtConeDR03() const
Hcal-Depth1 isolation sum.
std::vector< CaloTowerDetId > hcalTowersBehindClusters
void setCandidateP4type(const P4type type)
const EnergyCorrections & energyCorrections() const
float chargedHadronIso() const
Accessors for Particle Flow Isolation variables.
float sumChargedParticlePt
sum-pt of charged Particles(inludes e/mu)
bool isEBGap() const
true if photon is in EB, and inside the boundaries in super crystals/modules
float neutralHadronIso() const
float hcalTowerSumEtConeDR03() const
Hcal isolation sum.
float sumNeutralHadronEtHighThreshold() const
reco::ConversionRefVector conversionsOneLeg() const
vector of references to one leg Conversion's
float sumNeutralHadronEtHighThreshold
sum pt of neutral hadrons with a higher threshold
virtual const Point & vertex() const
vertex position (overwritten by PF...)
float sumPhotonEtHighThreshold
sum pt of PF photons with a higher threshold
float hcalDepth2OverEcalBc
virtual Photon * clone() const
returns a clone of the candidate
float trkSumPtSolidConeDR04() const
int nTrkSolidConeDR03() const
float e1x5() const
Shower shape variables.
bool isEBEEGap() const
true if photon is in boundary between EB and EE
virtual void setP4(const LorentzVector &p4)
set 4-momentum
reco::SuperClusterRef superCluster() const
Ref to SuperCluster.
float ecalRecHitSumEtConeDR04() const
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float > > XYZPointF
point in space with cartesian internal representation
float trkSumPtHollowConeDR03() const
float regression2EnergyError
float hcalDepth2TowerSumEt
bool isPhoton() const
Implement Candidate method for particle species.
float sumPUPt
sum pt of charged Particles not from PV (for Pu corrections)
IsolationVariables isolationR03_
Photon()
default constructor
float hadronicDepth2OverEm() const
the hadronic release in depth2 over electromagnetic fraction
float getCorrectedEnergy(P4type type) const
float mipIntercept() const
math::XYZPointF caloPosition_
position of seed BasicCluster for shower depth of unconverted photon
float hadTowDepth1OverEm() const
the ration of hadronic energy in towers depth1 behind the BCs in the SC and the SC energy ...
LorentzVector regression2P4
reco::PhotonCoreRef photonCore() const
returns a reference to the core photon object
IsolationVariables isolationR04_
void setPhotonCore(const reco::PhotonCoreRef &photonCore)
float hcalDepth2TowerSumEtBcConeDR04() const
Hcal-Depth2 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC...
reco::ConversionRefVector conversions() const
vector of references to Conversion's
PflowIsolationVariables()
float hcalTowerSumEtBcConeDR04() const
Hcal isolation sum subtracting the hadronic energy in towers behind the BCs in the SC...
virtual bool overlap(const Candidate &) const
check overlap with another candidate
void setEnergyCorrections(const EnergyCorrections &e)
bool isStandardPhoton() const
void setPflowIDVariables(const PflowIDVariables &pfid)
float sigmaIetaIeta() const
EnergyCorrections eCorrections_
float hadTowDepth2OverEm() const
the ration of hadronic energy in towers depth2 behind the BCs in the SC and the SC energy ...
void setShowerShapeVariables(const ShowerShape &a)
void setCorrectedEnergy(P4type type, float E, float dE, bool toCand=true)
float sigmaEtaEta() const
float sumChargedParticlePt() const
float hadTowOverEm() const
the ration of hadronic energy in towers behind the BCs in the SC and the SC energy ...
int nTrkHollowConeDR04() const
float hcalDepth2TowerSumEtConeDR03() const
Hcal-Depth2 isolation sum.
int nTrkHollowConeDR03() const
bool isPFlowPhoton() const
Retrieve photonCore attributes.
float hadronicOverEm() const
the total hadronic over electromagnetic fraction
float getCorrectedEnergyError(P4type type) const
float mipTotEnergy() const
float chargedHadronIsoWrongVtx
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 hcalTowerSumEtBcConeDR03() const
Hcal isolation sum subtracting the hadronic energy in towers behind the BCs in the SC...
FiducialFlags fiducialFlagBlock_
float hcalDepth2TowerSumEtBc
P4type getCandidateP4type() const
float etOutsideMustache() const
void setP4(P4type type, const LorentzVector &p4, float p4Error, bool setToRecoCandidate)
float hadronicDepth1OverEm() const
the hadronic release in depth1 over electromagnetic fraction
bool hasConversionTracks() const
Bool flagging photons with a vector of refereces to conversions with size >0.
LorentzVector regression1P4
float hcalDepth2TowerSumEtConeDR04() const
Hcal-Depth2 isolation sum.
bool isEEGap() const
true if photon is in EE, and inside the boundaries in supercrystal/D
float regression1EnergyError
float hcalDepth1OverEcalBc
float chargedHadronIsoWrongVtx() const
bool hasPixelSeed() const
Bool flagging photons having a non-zero size vector of Ref to electornPixel seeds.
float hcalDepth1TowerSumEtBcConeDR04() const
Hcal-Depth1 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC...
void setFiducialVolumeFlags(const FiducialFlags &a)
set flags for photons in the ECAL fiducial volume
float sumPhotonEtHighThreshold() const
int nTrkSolidConeDR04() const
math::XYZTLorentzVector LorentzVector
Lorentz vector.
float trkSumPtHollowConeDR04() const
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > LorentzVector
float ecalRecHitSumEtConeDR03() const
Isolation variables in cone dR=0.3.
int nClusterOutsideMustache() const
reco::ElectronSeedRefVector electronPixelSeeds() const
reference to electron Pixel seed
float hcalDepth2TowerSumEtBcConeDR03() const
Hcal-Depth2 isolation sum subtracting the hadronic energy in towers behind the BCs in the SC...
virtual ~Photon()
destructor
const std::vector< CaloTowerDetId > & hcalTowersBehindClusters() const
reco::SuperClusterRef parentSuperCluster() const
Ref to PFlow SuperCluster.
volatile std::atomic< bool > shutdown_flag false
ShowerShape showerShapeBlock_
float mipChi2() const
MIP variables.
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
reco::PhotonCoreRef photonCore_
reference to the PhotonCore
int nClusterOutsideMustache
void setIsolationVariables(const IsolationVariables &isolInDr04, const IsolationVariables &isolInDr03)
set relevant isolation variables
void setVertex(const Point &vertex)
set primary event vertex used to define photon direction
math::XYZPoint Point
point in the space
int conversionTrackProvenance(const edm::RefToBase< reco::Track > &convTrack) const
float maxEnergyXtal() const