ATLAS Offline Software
Functions
PhotonHelpers Namespace Reference

Functions

bool passOQquality (const xAOD::Photon &ph)
 Helper to ease the implemmantation of the pass Quality requirements. More...
 
bool passOQqualityDelayed (const xAOD::Photon &ph)
 Helpers to ease the implementation of the pass Quality requirements. More...
 

Function Documentation

◆ passOQquality()

bool PhotonHelpers::passOQquality ( const xAOD::Photon ph)

Helper to ease the implemmantation of the pass Quality requirements.

Definition at line 12 of file PhotonHelpers.cxx.

13 {
14 
15  return (ph.OQ() & 1073741824) == 0 &&
16 
17  ((ph.OQ() & 134217728) == 0 ||
18 
20 
22 
23  && (ph.OQ() & 67108864) == 0)
24 
25  );
26 }

◆ passOQqualityDelayed()

bool PhotonHelpers::passOQqualityDelayed ( const xAOD::Photon ph)

Helpers to ease the implementation of the pass Quality requirements.

Definition at line 29 of file PhotonHelpers.cxx.

30 {
31 
32  return (ph.OQ() & 1073741824) == 0 &&
33 
34  ((ph.OQ() & 134217728) == 0 ||
35 
37 
39 
40  ));
41 }
xAOD::EgammaParameters::Reta
@ Reta
e237/e277
Definition: EgammaEnums.h:154
xAOD::Egamma_v1::showerShapeValue
bool showerShapeValue(float &value, const EgammaParameters::ShowerShapeType information) const
Accessor for ShowerShape values.
Definition: Egamma_v1.cxx:207
xAOD::EgammaParameters::f1
@ f1
E1/E = fraction of energy reconstructed in the first sampling, where E1 is energy in all strips belon...
Definition: EgammaEnums.h:52
xAOD::Egamma_v1::OQ
uint32_t OQ() const
Return the object quality bit word.
Definition: Egamma_v1.cxx:242