#include <Photon.h>
Classes | |
struct | FiducialFlags |
struct | IsolationVariables |
struct | PflowIsolationVariables |
struct | ShowerShape |
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 | |
float | chargedHadronIso () const |
Particle Flow Isolation variables. | |
virtual Photon * | clone () const |
returns a clone of the candidate | |
reco::ConversionRefVector | conversions () const |
vector of references to Conversion's | |
float | e1x5 () const |
Shower shape variables. | |
float | e2x5 () const |
float | e3x3 () const |
float | e5x5 () const |
float | ecalRecHitSumEtConeDR03 () const |
Isolation variables in cone dR=0.3. | |
float | ecalRecHitSumEtConeDR04 () const |
reco::ElectronSeedRefVector | electronPixelSeeds () const |
reference to electron Pixel seed | |
float | hadronicDepth1OverEm () const |
the hadronic release in depth1 over electromagnetic fraction | |
float | hadronicDepth2OverEm () const |
the hadronic release in depth2 over electromagnetic fraction | |
float | hadronicOverEm () const |
the total hadronic over electromagnetic fraction | |
bool | hasConversionTracks () const |
Bool flagging photons with a vector of refereces to conversions with size >0. | |
bool | hasPixelSeed () const |
Bool flagging photons having a non-zero size vector of Ref to electornPixel seeds. | |
float | hcalDepth1TowerSumEtConeDR03 () const |
Hcal-Depth1 isolation sum. | |
float | hcalDepth1TowerSumEtConeDR04 () const |
Hcal-Depth1 isolation sum. | |
float | hcalDepth2TowerSumEtConeDR03 () const |
Hcal-Depth2 isolation sum. | |
float | hcalDepth2TowerSumEtConeDR04 () const |
Hcal-Depth2 isolation sum. | |
float | hcalTowerSumEtConeDR03 () const |
Hcal isolation sum. | |
float | hcalTowerSumEtConeDR04 () const |
Hcal isolation sum. | |
bool | isEB () const |
bool | isEBEEGap () const |
true if photon is in boundary between EB and EE | |
bool | isEBEtaGap () const |
bool | isEBGap () const |
true if photon is in EB, and inside the boundaries in super crystals/modules | |
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 | |
bool | isEERingGap () const |
bool | isPFlowPhoton () const |
Retrieve photonCore attributes. | |
bool | isPhoton () const |
Implement Candidate method for particle species. | |
bool | isStandardPhoton () const |
float | maxEnergyXtal () const |
float | neutralHadronIso () const |
int | nTrkHollowConeDR03 () const |
int | nTrkHollowConeDR04 () const |
int | nTrkSolidConeDR03 () const |
int | nTrkSolidConeDR04 () const |
reco::SuperClusterRef | pfSuperCluster () const |
Ref to PFlow SuperCluster. | |
Photon () | |
default constructor | |
Photon (const LorentzVector &p4, Point caloPos, const PhotonCoreRef &core, const Point &vtx=Point(0, 0, 0)) | |
constructor from values | |
Photon (const Photon &) | |
copy constructor | |
reco::PhotonCoreRef | photonCore () const |
returns a reference to the core photon object | |
float | photonIso () const |
float | r1x5 () const |
float | r2x5 () const |
float | r9 () const |
void | setFiducialVolumeFlags (const FiducialFlags &a) |
set flags for photons in the ECAL fiducial volume | |
void | setIsolationVariables (const IsolationVariables &isolInDr04, const IsolationVariables &isolInDr03) |
set relevant isolation variables | |
void | setPflowIsolationVariables (const PflowIsolationVariables &pfisol) |
set isolation variables calculated with Pflow | |
void | setShowerShapeVariables (const ShowerShape &a) |
void | setVertex (const Point &vertex) |
set primary event vertex used to define photon direction | |
float | sigmaEtaEta () const |
float | sigmaIetaIeta () const |
reco::SuperClusterRef | superCluster () const |
Ref to SuperCluster. | |
float | trkSumPtHollowConeDR03 () const |
float | trkSumPtHollowConeDR04 () const |
float | trkSumPtSolidConeDR03 () const |
float | trkSumPtSolidConeDR04 () const |
virtual | ~Photon () |
destructor | |
Private Member Functions | |
virtual bool | overlap (const Candidate &) const |
check overlap with another candidate | |
Private Attributes | |
math::XYZPointF | caloPosition_ |
position of seed BasicCluster for shower depth of unconverted photon | |
FiducialFlags | fiducialFlagBlock_ |
IsolationVariables | isolationR03_ |
IsolationVariables | isolationR04_ |
PflowIsolationVariables | pfIsolation_ |
reco::PhotonCoreRef | photonCore_ |
reference to the PhotonCore | |
bool | pixelSeed_ |
ShowerShape | showerShapeBlock_ |
reco::Photon::Photon | ( | ) | [inline] |
default constructor
Reimplemented in pat::Photon.
Definition at line 31 of file Photon.h.
References pixelSeed_.
Referenced by clone().
: RecoCandidate() { pixelSeed_=false; }
Photon::Photon | ( | const Photon & | rhs | ) |
copy constructor
Reimplemented in pat::Photon.
Definition at line 18 of file Photon.cc.
: RecoCandidate(rhs), caloPosition_(rhs.caloPosition_), photonCore_ ( rhs.photonCore_), pixelSeed_ ( rhs.pixelSeed_ ), fiducialFlagBlock_ ( rhs.fiducialFlagBlock_ ), isolationR04_ ( rhs.isolationR04_), isolationR03_ ( rhs.isolationR03_), showerShapeBlock_ ( rhs.showerShapeBlock_), pfIsolation_ ( rhs.pfIsolation_ ) {}
Photon::Photon | ( | const LorentzVector & | p4, |
Point | caloPos, | ||
const PhotonCoreRef & | core, | ||
const Point & | vtx = Point( 0, 0, 0 ) |
||
) |
constructor from values
Definition at line 7 of file Photon.cc.
: RecoCandidate( 0, p4, vtx, 22 ), caloPosition_( caloPos ), photonCore_(core), pixelSeed_(false) {}
Photon::~Photon | ( | ) | [virtual] |
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 72 of file Photon.h.
References caloPosition_.
Referenced by FWPhotonDetailView::addSceneInfo(), FWPhotonDetailView::build(), and setVertex().
{return caloPosition_;}
float reco::Photon::chargedHadronIso | ( | ) | const [inline] |
Particle Flow Isolation variables.
Definition at line 280 of file Photon.h.
References reco::Photon::PflowIsolationVariables::chargedHadronIso, and pfIsolation_.
{return pfIsolation_.chargedHadronIso;}
Photon * Photon::clone | ( | void | ) | const [virtual] |
returns a clone of the candidate
Reimplemented from reco::RecoCandidate.
Reimplemented in pat::Photon.
Definition at line 35 of file Photon.cc.
References Photon().
{ return new Photon( * this ); }
reco::ConversionRefVector reco::Photon::conversions | ( | ) | const [inline] |
vector of references to Conversion's
Definition at line 61 of file Photon.h.
References photonCore().
Referenced by PhotonValidator::analyze(), and hasConversionTracks().
{return this->photonCore()->conversions() ;}
float reco::Photon::e1x5 | ( | ) | const [inline] |
Shower shape variables.
Definition at line 162 of file Photon.h.
References reco::Photon::ShowerShape::e1x5, and showerShapeBlock_.
Referenced by egHLT::OffHelper::fillClusShapeData().
{return showerShapeBlock_.e1x5;}
float reco::Photon::e2x5 | ( | ) | const [inline] |
Definition at line 163 of file Photon.h.
References reco::Photon::ShowerShape::e2x5, and showerShapeBlock_.
Referenced by egHLT::OffHelper::fillClusShapeData().
{return showerShapeBlock_.e2x5;}
float reco::Photon::e3x3 | ( | ) | const [inline] |
Definition at line 164 of file Photon.h.
References reco::Photon::ShowerShape::e3x3, and showerShapeBlock_.
{return showerShapeBlock_.e3x3;}
float reco::Photon::e5x5 | ( | ) | const [inline] |
Definition at line 165 of file Photon.h.
References reco::Photon::ShowerShape::e5x5, and showerShapeBlock_.
Referenced by egHLT::OffHelper::fillClusShapeData().
{return showerShapeBlock_.e5x5;}
float reco::Photon::ecalRecHitSumEtConeDR03 | ( | ) | const [inline] |
Isolation variables in cone dR=0.3.
Definition at line 261 of file Photon.h.
References reco::Photon::IsolationVariables::ecalRecHitSumEt, and isolationR03_.
Referenced by egHLT::OffHelper::fillIsolData().
{return isolationR03_.ecalRecHitSumEt;}
float reco::Photon::ecalRecHitSumEtConeDR04 | ( | ) | const [inline] |
Egamma Isolation variables in cone dR=0.4 Ecal isolation sum calculated from recHits
Definition at line 244 of file Photon.h.
References reco::Photon::IsolationVariables::ecalRecHitSumEt, and isolationR04_.
Referenced by PhotonValidator::analyze(), PatPhotonSimpleAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), pat::Photon::ecalIso(), PFBlockAlgo::fillFromPhoton(), and PhotonSelectorAlgo::passPhotonSelection().
{return isolationR04_.ecalRecHitSumEt;}
reco::ElectronSeedRefVector reco::Photon::electronPixelSeeds | ( | ) | const [inline] |
reference to electron Pixel seed
Definition at line 65 of file Photon.h.
References photonCore().
Referenced by hasPixelSeed().
{return this->photonCore()->electronPixelSeeds();}
float reco::Photon::hadronicDepth1OverEm | ( | ) | const [inline] |
the hadronic release in depth1 over electromagnetic fraction
Definition at line 157 of file Photon.h.
References reco::Photon::ShowerShape::hcalDepth1OverEcal, and showerShapeBlock_.
{return showerShapeBlock_.hcalDepth1OverEcal ;}
float reco::Photon::hadronicDepth2OverEm | ( | ) | const [inline] |
the hadronic release in depth2 over electromagnetic fraction
Definition at line 159 of file Photon.h.
References reco::Photon::ShowerShape::hcalDepth2OverEcal, and showerShapeBlock_.
{return showerShapeBlock_.hcalDepth2OverEcal ;}
float reco::Photon::hadronicOverEm | ( | ) | const [inline] |
the total hadronic over electromagnetic fraction
Definition at line 155 of file Photon.h.
References reco::Photon::ShowerShape::hcalDepth1OverEcal, reco::Photon::ShowerShape::hcalDepth2OverEcal, and showerShapeBlock_.
Referenced by PhotonValidator::analyze(), PatPhotonSimpleAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), PFBlockAlgo::fillFromPhoton(), egHLT::OffPho::hOverE(), and PhotonSelectorAlgo::passPhotonSelection().
bool reco::Photon::hasConversionTracks | ( | ) | const [inline] |
Bool flagging photons with a vector of refereces to conversions with size >0.
Definition at line 63 of file Photon.h.
References conversions(), photonCore(), and reco::Candidate::size.
Referenced by SimplePi0DiscAnalyzer::analyze().
{ if (this->photonCore()->conversions().size() > 0) return true; else return false;}
bool reco::Photon::hasPixelSeed | ( | ) | const [inline] |
Bool flagging photons having a non-zero size vector of Ref to electornPixel seeds.
Definition at line 67 of file Photon.h.
References electronPixelSeeds(), photonCore(), and reco::Candidate::size.
{ if ((this->photonCore()->electronPixelSeeds()).size() > 0 ) return true; else return false; }
float reco::Photon::hcalDepth1TowerSumEtConeDR03 | ( | ) | const [inline] |
Hcal-Depth1 isolation sum.
Definition at line 265 of file Photon.h.
References reco::Photon::IsolationVariables::hcalDepth1TowerSumEt, and isolationR03_.
{return isolationR03_.hcalDepth1TowerSumEt;}
float reco::Photon::hcalDepth1TowerSumEtConeDR04 | ( | ) | const [inline] |
Hcal-Depth1 isolation sum.
Definition at line 248 of file Photon.h.
References reco::Photon::IsolationVariables::hcalDepth1TowerSumEt, and isolationR04_.
{return isolationR04_.hcalDepth1TowerSumEt;}
float reco::Photon::hcalDepth2TowerSumEtConeDR03 | ( | ) | const [inline] |
Hcal-Depth2 isolation sum.
Definition at line 267 of file Photon.h.
References reco::Photon::IsolationVariables::hcalDepth2TowerSumEt, and isolationR03_.
{return isolationR03_.hcalDepth2TowerSumEt;}
float reco::Photon::hcalDepth2TowerSumEtConeDR04 | ( | ) | const [inline] |
Hcal-Depth2 isolation sum.
Definition at line 250 of file Photon.h.
References reco::Photon::IsolationVariables::hcalDepth2TowerSumEt, and isolationR04_.
{return isolationR04_.hcalDepth2TowerSumEt;}
float reco::Photon::hcalTowerSumEtConeDR03 | ( | ) | const [inline] |
Hcal isolation sum.
Definition at line 263 of file Photon.h.
References reco::Photon::IsolationVariables::hcalTowerSumEt, and isolationR03_.
Referenced by egHLT::OffHelper::fillIsolData().
{return isolationR03_.hcalTowerSumEt;}
float reco::Photon::hcalTowerSumEtConeDR04 | ( | ) | const [inline] |
Hcal isolation sum.
Definition at line 246 of file Photon.h.
References reco::Photon::IsolationVariables::hcalTowerSumEt, and isolationR04_.
Referenced by PhotonValidator::analyze(), PatPhotonSimpleAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), PFBlockAlgo::fillFromPhoton(), pat::Photon::hcalIso(), and PhotonSelectorAlgo::passPhotonSelection().
{return isolationR04_.hcalTowerSumEt ;}
bool reco::Photon::isEB | ( | ) | const [inline] |
Ritrievs fiducial flags true if photon is in ECAL barrel
Definition at line 111 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEB.
Referenced by PatPhotonSimpleAnalyzer::analyze().
{return fiducialFlagBlock_.isEB;}
bool reco::Photon::isEBEEGap | ( | ) | const [inline] |
true if photon is in boundary between EB and EE
Definition at line 123 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEBEEGap.
Referenced by PatPhotonSimpleAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and egHLT::OffPho::isGap().
{return fiducialFlagBlock_.isEBEEGap;}
bool reco::Photon::isEBEtaGap | ( | ) | const [inline] |
Definition at line 116 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEBEtaGap.
Referenced by CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and isEBGap().
{return fiducialFlagBlock_.isEBEtaGap;}
bool reco::Photon::isEBGap | ( | ) | const [inline] |
true if photon is in EB, and inside the boundaries in super crystals/modules
Definition at line 115 of file Photon.h.
References isEBEtaGap(), and isEBPhiGap().
Referenced by PatPhotonSimpleAnalyzer::analyze(), and egHLT::OffPho::isGap().
{ return (isEBEtaGap() || isEBPhiGap()); }
bool reco::Photon::isEBPhiGap | ( | ) | const [inline] |
Definition at line 117 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEBPhiGap.
Referenced by CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and isEBGap().
{return fiducialFlagBlock_.isEBPhiGap;}
bool reco::Photon::isEE | ( | ) | const [inline] |
Definition at line 113 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEE.
Referenced by PatPhotonSimpleAnalyzer::analyze().
{return fiducialFlagBlock_.isEE;}
bool reco::Photon::isEEDeeGap | ( | ) | const [inline] |
Definition at line 121 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEEDeeGap.
Referenced by CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and isEEGap().
{return fiducialFlagBlock_.isEEDeeGap;}
bool reco::Photon::isEEGap | ( | ) | const [inline] |
true if photon is in EE, and inside the boundaries in supercrystal/D
Definition at line 119 of file Photon.h.
References isEEDeeGap(), and isEERingGap().
Referenced by PatPhotonSimpleAnalyzer::analyze(), and egHLT::OffPho::isGap().
{ return (isEERingGap() || isEEDeeGap()); }
bool reco::Photon::isEERingGap | ( | ) | const [inline] |
Definition at line 120 of file Photon.h.
References fiducialFlagBlock_, and reco::Photon::FiducialFlags::isEERingGap.
Referenced by CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and isEEGap().
{return fiducialFlagBlock_.isEERingGap;}
bool reco::Photon::isPFlowPhoton | ( | ) | const [inline] |
Retrieve photonCore attributes.
Definition at line 54 of file Photon.h.
References photonCore().
{return this->photonCore()->isPFlowPhoton();}
bool reco::Photon::isPhoton | ( | ) | const [inline, virtual] |
Implement Candidate method for particle species.
Reimplemented from reco::LeafCandidate.
Definition at line 76 of file Photon.h.
References funct::true.
{ return true ; }
bool reco::Photon::isStandardPhoton | ( | ) | const [inline] |
Definition at line 55 of file Photon.h.
References photonCore().
{return this->photonCore()->isStandardPhoton();}
float reco::Photon::maxEnergyXtal | ( | ) | const [inline] |
Definition at line 166 of file Photon.h.
References reco::Photon::ShowerShape::maxEnergyXtal, and showerShapeBlock_.
{return showerShapeBlock_.maxEnergyXtal;}
float reco::Photon::neutralHadronIso | ( | ) | const [inline] |
Definition at line 281 of file Photon.h.
References reco::Photon::PflowIsolationVariables::neutralHadronIso, and pfIsolation_.
{return pfIsolation_.neutralHadronIso;}
int reco::Photon::nTrkHollowConeDR03 | ( | ) | const [inline] |
Definition at line 275 of file Photon.h.
References isolationR03_, and reco::Photon::IsolationVariables::nTrkHollowCone.
Referenced by egHLT::OffHelper::fillIsolData().
{return isolationR03_.nTrkHollowCone;}
int reco::Photon::nTrkHollowConeDR04 | ( | ) | const [inline] |
Definition at line 258 of file Photon.h.
References isolationR04_, and reco::Photon::IsolationVariables::nTrkHollowCone.
Referenced by PatPhotonSimpleAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), and CutBasedPhotonIDAlgo::decideEE().
{return isolationR04_.nTrkHollowCone;}
int reco::Photon::nTrkSolidConeDR03 | ( | ) | const [inline] |
Definition at line 273 of file Photon.h.
References isolationR03_, and reco::Photon::IsolationVariables::nTrkSolidCone.
{return isolationR03_.nTrkSolidCone;}
int reco::Photon::nTrkSolidConeDR04 | ( | ) | const [inline] |
Definition at line 256 of file Photon.h.
References isolationR04_, and reco::Photon::IsolationVariables::nTrkSolidCone.
Referenced by PhotonValidator::analyze(), PatPhotonSimpleAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), and CutBasedPhotonIDAlgo::decideEE().
{return isolationR04_.nTrkSolidCone;}
bool Photon::overlap | ( | const Candidate & | c | ) | const [private, virtual] |
check overlap with another candidate
Implements reco::RecoCandidate.
Definition at line 40 of file Photon.cc.
References trackerHits::c, reco::RecoCandidate::checkOverlap(), connectstrParser::o, reco::RecoCandidate::superCluster(), and superCluster().
{ const RecoCandidate * o = dynamic_cast<const RecoCandidate *>( & c ); return ( o != 0 && ( checkOverlap( superCluster(), o->superCluster() ) ) ); return false; }
reco::SuperClusterRef reco::Photon::pfSuperCluster | ( | ) | const [inline] |
Ref to PFlow SuperCluster.
Definition at line 59 of file Photon.h.
References photonCore().
{return this->photonCore()->pfSuperCluster();}
reco::PhotonCoreRef reco::Photon::photonCore | ( | ) | const [inline] |
returns a reference to the core photon object
Definition at line 49 of file Photon.h.
References photonCore_.
Referenced by conversions(), electronPixelSeeds(), hasConversionTracks(), hasPixelSeed(), isPFlowPhoton(), isStandardPhoton(), pfSuperCluster(), and superCluster().
{ return photonCore_;}
float reco::Photon::photonIso | ( | ) | const [inline] |
Definition at line 282 of file Photon.h.
References pfIsolation_, and reco::Photon::PflowIsolationVariables::photonIso.
{return pfIsolation_.photonIso;}
float reco::Photon::r1x5 | ( | ) | const [inline] |
Definition at line 169 of file Photon.h.
References reco::Photon::ShowerShape::e1x5, reco::Photon::ShowerShape::e5x5, and showerShapeBlock_.
Referenced by PhotonValidator::analyze().
{return showerShapeBlock_.e1x5/showerShapeBlock_.e5x5;}
float reco::Photon::r2x5 | ( | ) | const [inline] |
Definition at line 170 of file Photon.h.
References reco::Photon::ShowerShape::e2x5, reco::Photon::ShowerShape::e5x5, and showerShapeBlock_.
Referenced by PhotonValidator::analyze().
{return showerShapeBlock_.e2x5/showerShapeBlock_.e5x5;}
float reco::Photon::r9 | ( | ) | const [inline] |
Definition at line 171 of file Photon.h.
References reco::Photon::ShowerShape::e3x3, showerShapeBlock_, and superCluster().
Referenced by PhotonValidator::analyze(), PatPhotonSimpleAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), SimplePi0DiscAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and egHLT::OffHelper::fillClusShapeData().
{return showerShapeBlock_.e3x3/this->superCluster()->rawEnergy();}
void reco::Photon::setFiducialVolumeFlags | ( | const FiducialFlags & | a | ) | [inline] |
set flags for photons in the ECAL fiducial volume
Definition at line 108 of file Photon.h.
References a, and fiducialFlagBlock_.
{ fiducialFlagBlock_= a ;}
void reco::Photon::setIsolationVariables | ( | const IsolationVariables & | isolInDr04, |
const IsolationVariables & | isolInDr03 | ||
) | [inline] |
set relevant isolation variables
Definition at line 238 of file Photon.h.
References isolationR03_, and isolationR04_.
{ isolationR04_ = isolInDr04 ; isolationR03_ = isolInDr03 ;}
void reco::Photon::setPflowIsolationVariables | ( | const PflowIsolationVariables & | pfisol | ) | [inline] |
set isolation variables calculated with Pflow
Definition at line 240 of file Photon.h.
References pfIsolation_.
{ pfIsolation_ = pfisol;}
void reco::Photon::setShowerShapeVariables | ( | const ShowerShape & | a | ) | [inline] |
Definition at line 153 of file Photon.h.
References a, and showerShapeBlock_.
{ showerShapeBlock_ = a ;}
void Photon::setVertex | ( | const Point & | vertex | ) | [virtual] |
set primary event vertex used to define photon direction
Reimplemented from reco::LeafCandidate.
Definition at line 48 of file Photon.cc.
References caloPosition(), reco::LeafCandidate::energy(), reco::LeafCandidate::momentum(), reco::LeafCandidate::setP4(), reco::LeafCandidate::vertex(), and reco::LeafCandidate::vertex_.
{ math::XYZVectorF direction = caloPosition() - vertex; double energy = this->energy(); math::XYZVectorF momentum = direction.unit() * energy; math::XYZTLorentzVector lv(momentum.x(), momentum.y(), momentum.z(), energy ); setP4(lv); vertex_ = vertex; }
float reco::Photon::sigmaEtaEta | ( | ) | const [inline] |
Definition at line 167 of file Photon.h.
References showerShapeBlock_, and reco::Photon::ShowerShape::sigmaEtaEta.
Referenced by egHLT::OffHelper::fillClusShapeData().
{return showerShapeBlock_.sigmaEtaEta;}
float reco::Photon::sigmaIetaIeta | ( | ) | const [inline] |
Definition at line 168 of file Photon.h.
References showerShapeBlock_, and reco::Photon::ShowerShape::sigmaIetaIeta.
Referenced by PhotonValidator::analyze(), SimplePhotonAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and egHLT::OffHelper::fillClusShapeData().
{return showerShapeBlock_.sigmaIetaIeta;}
reco::SuperClusterRef reco::Photon::superCluster | ( | ) | const [inline, virtual] |
Ref to SuperCluster.
Reimplemented from reco::RecoCandidate.
Reimplemented in pat::Photon.
Definition at line 57 of file Photon.h.
References photonCore().
Referenced by FWPhotonDetailView::addSceneInfo(), PhotonValidator::analyze(), SimplePhotonAnalyzer::analyze(), SimplePi0DiscAnalyzer::analyze(), EgammaObjects::analyzePhotons(), FWPhotonDetailView::build(), FWPhotonProxyBuilder::buildViewType(), PhotonIsolationCalculator::calculate(), PhotonIsolationCalculator::classify(), helper::PhotonCollectionStoreManager::cloneAndStore(), pat::Photon::embedSuperCluster(), egHLT::OffPho::etaSC(), egHLT::OffPho::etSC(), egHLT::OffHelper::fillClusShapeData(), EgammaObjects::findRecoMass(), overlap(), egHLT::OffPho::phiSC(), and r9().
{return this->photonCore()->superCluster();}
float reco::Photon::trkSumPtHollowConeDR03 | ( | ) | const [inline] |
Definition at line 271 of file Photon.h.
References isolationR03_, and reco::Photon::IsolationVariables::trkSumPtHollowCone.
Referenced by egHLT::OffHelper::fillIsolData().
{return isolationR03_.trkSumPtHollowCone;}
float reco::Photon::trkSumPtHollowConeDR04 | ( | ) | const [inline] |
Definition at line 254 of file Photon.h.
References isolationR04_, and reco::Photon::IsolationVariables::trkSumPtHollowCone.
Referenced by PatPhotonSimpleAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), PFBlockAlgo::fillFromPhoton(), and PhotonSelectorAlgo::passPhotonSelection().
{return isolationR04_.trkSumPtHollowCone;}
float reco::Photon::trkSumPtSolidConeDR03 | ( | ) | const [inline] |
Definition at line 269 of file Photon.h.
References isolationR03_, and reco::Photon::IsolationVariables::trkSumPtSolidCone.
{return isolationR03_.trkSumPtSolidCone;}
float reco::Photon::trkSumPtSolidConeDR04 | ( | ) | const [inline] |
Definition at line 252 of file Photon.h.
References isolationR04_, and reco::Photon::IsolationVariables::trkSumPtSolidCone.
Referenced by PhotonValidator::analyze(), PatPhotonSimpleAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), and pat::Photon::trackIso().
{return isolationR04_.trkSumPtSolidCone;}
math::XYZPointF reco::Photon::caloPosition_ [private] |
position of seed BasicCluster for shower depth of unconverted photon
Definition at line 289 of file Photon.h.
Referenced by caloPosition().
Definition at line 295 of file Photon.h.
Referenced by isEB(), isEBEEGap(), isEBEtaGap(), isEBPhiGap(), isEE(), isEEDeeGap(), isEERingGap(), and setFiducialVolumeFlags().
Definition at line 297 of file Photon.h.
Referenced by ecalRecHitSumEtConeDR03(), hcalDepth1TowerSumEtConeDR03(), hcalDepth2TowerSumEtConeDR03(), hcalTowerSumEtConeDR03(), nTrkHollowConeDR03(), nTrkSolidConeDR03(), setIsolationVariables(), trkSumPtHollowConeDR03(), and trkSumPtSolidConeDR03().
Definition at line 296 of file Photon.h.
Referenced by ecalRecHitSumEtConeDR04(), hcalDepth1TowerSumEtConeDR04(), hcalDepth2TowerSumEtConeDR04(), hcalTowerSumEtConeDR04(), nTrkHollowConeDR04(), nTrkSolidConeDR04(), setIsolationVariables(), trkSumPtHollowConeDR04(), and trkSumPtSolidConeDR04().
Definition at line 299 of file Photon.h.
Referenced by chargedHadronIso(), neutralHadronIso(), photonIso(), and setPflowIsolationVariables().
reco::PhotonCoreRef reco::Photon::photonCore_ [private] |
bool reco::Photon::pixelSeed_ [private] |
ShowerShape reco::Photon::showerShapeBlock_ [private] |
Definition at line 298 of file Photon.h.
Referenced by e1x5(), e2x5(), e3x3(), e5x5(), hadronicDepth1OverEm(), hadronicDepth2OverEm(), hadronicOverEm(), maxEnergyXtal(), r1x5(), r2x5(), r9(), setShowerShapeVariables(), sigmaEtaEta(), and sigmaIetaIeta().