ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
HasPtAboveThreshold Struct Reference
Collaboration diagram for HasPtAboveThreshold:

Public Member Functions

 HasPtAboveThreshold (double thresholdPt)
 
bool operator() (const xAOD::Photon *myphoton) const
 

Public Attributes

double thresholdPt
 

Detailed Description

Definition at line 23 of file TrigEgammaTLAPhotonReAlgo.cxx.

Constructor & Destructor Documentation

◆ HasPtAboveThreshold()

HasPtAboveThreshold::HasPtAboveThreshold ( double  thresholdPt)
inline

Definition at line 25 of file TrigEgammaTLAPhotonReAlgo.cxx.

Member Function Documentation

◆ operator()()

bool HasPtAboveThreshold::operator() ( const xAOD::Photon myphoton) const
inline

Definition at line 28 of file TrigEgammaTLAPhotonReAlgo.cxx.

28  {
29  return myphoton->p4().Pt() > thresholdPt;
30  }

Member Data Documentation

◆ thresholdPt

double HasPtAboveThreshold::thresholdPt

Definition at line 26 of file TrigEgammaTLAPhotonReAlgo.cxx.


The documentation for this struct was generated from the following file:
xAOD::Egamma_v1::p4
virtual FourMom_t p4() const override final
The full 4-momentum of the particle as a TLoretzVector.
Definition: Egamma_v1.cxx:98
HasPtAboveThreshold::thresholdPt
double thresholdPt
Definition: TrigEgammaTLAPhotonReAlgo.cxx:26