ATLAS Offline Software
Loading...
Searching...
No Matches
PhotonHelpers.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
8#include "xAODEgamma/Photon.h"
9
10// ==================================================================
11bool
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}
27// ==================================================================
28bool
30{
31
32 return (ph.OQ() & 1073741824) == 0 &&
33
34 ((ph.OQ() & 134217728) == 0 ||
35
37
39
40 ));
41}
bool showerShapeValue(float &value, const EgammaParameters::ShowerShapeType information) const
Accessor for ShowerShape values.
uint32_t OQ() const
Return the object quality bit word.
bool passOQqualityDelayed(const xAOD::Photon &ph)
Helpers to ease the implementation of the pass Quality requirements.
bool passOQquality(const xAOD::Photon &ph)
Helper to ease the implemmantation of the pass Quality requirements.
@ f1
E1/E = fraction of energy reconstructed in the first sampling, where E1 is energy in all strips belon...
Definition EgammaEnums.h:53
Photon_v1 Photon
Definition of the current "egamma version".