ATLAS Offline Software
Egamma_v1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // EDM include(s):
7 // Local include(s):
10 #include "EgammaAccessors_v1.h"
14 #include <stdexcept>
15 
16 #include <Math/GenVector/PtEtaPhiM4D.h>
17 
18 namespace xAOD {
19 
20 namespace MatrixHelpers{
21 //Can not use the template in the EventPrimitiveHelpers
22 //Too specialized (i.e only double cov matrices not float)
23 //Write a more "general" one (hopefully will makes its way).
24 
25 template <int N>
26 
27 void compress(const Eigen::Matrix<float,N,N,0,N,N>& covMatrix, std::vector<float>& vec ) {
29  for (unsigned int i = 0; i < N ; ++i){
30  for (unsigned int j = 0; j <= i; ++j){
31  vec.push_back(covMatrix(i,j));
32  }
33  }
34 }
35 template <int N>
36 void expand(std::vector<float>::const_iterator it,
37  std::vector<float>::const_iterator, Eigen::Matrix<float,N,N,0,N,N>& covMatrix) {
38  for (unsigned int i = 0; i < N; ++i) {
39  for (unsigned int j = 0; j <= i; ++j) {
40  covMatrix.fillSymmetric(i,j, *it);
41  ++it;
42  }
43  }
44 }
45 }
46 
48  : IParticle() {
49 }
50 
51 Egamma_v1::Egamma_v1(const Egamma_v1& eg) = default;
52 
54 
55  if (this != &eg){ // protect against invalid self-assignment
56  if (!this->container() && !this->hasStore() ) {
58  }
59  this->IParticle::operator=( eg );
60  }
61  // by convention, always return *this
62  return *this;
63 }
64 
65 double Egamma_v1::pt() const {
66  static const Accessor< float > acc( "pt" );
67  return acc(*this);
68 }
69 
70 double Egamma_v1::eta() const {
71  static const Accessor<float > acc( "eta" );
72  return acc(*this);
73 }
74 
75 double Egamma_v1::phi() const {
76  static const Accessor< float > acc( "phi" );
77  return acc(*this);
78 }
79 
80 double Egamma_v1::m() const {
81  static const Accessor< float> acc( "m" );
82  return acc(*this);
83 }
84 
87  return GenVecFourMom_t(pt(), eta(), phi(), m());
88 }
89 
90 double Egamma_v1::e() const{
91  return genvecP4().E();
92 }
93 
94 double Egamma_v1::rapidity() const {
95  return genvecP4().Rapidity();
96 }
97 
99  FourMom_t p4;
100  p4.SetPtEtaPhiM( pt(), eta(), phi(),m());
101  return p4;
102 }
103 
104 void Egamma_v1::setP4(float pt, float eta, float phi, float m){
105  static const Accessor< float > acc1( "pt" );
106  acc1(*this) = pt;
107  static const Accessor< float > acc2( "eta" );
108  acc2(*this) = eta;
109  static const Accessor< float > acc3( "phi" );
110  acc3(*this) = phi;
111  static const Accessor< float > acc4( "m" );
112  acc4(*this) = m;
113 }
114 
115 void Egamma_v1::setPt(float pt){
116  static const Accessor< float > acc( "pt" );
117  acc(*this) = pt;
118 }
119 
120 void Egamma_v1::setEta(float eta){
121  static const Accessor< float > acc( "eta" );
122  acc(*this) = eta;
123 }
124 
125 void Egamma_v1::setPhi(float phi){
126  static const Accessor< float > acc( "phi" );
127  acc(*this) = phi;
128 }
129 
130 void Egamma_v1::setM(float m){
131  static const Accessor< float > acc( "m" );
132  acc(*this) = m;
133 }
134 
136 
137  static const Accessor< std::vector<float> > acc( "EgammaCovarianceMatrix" );
139  cov.setZero();
140 
141  if(!acc.isAvailable(*this) ) {
142  return cov;
143  }
144  const std::vector<float>& v = acc(*this);
145  size_t size= v.size();
146  if(size==16){
147  //up to 21.0.11
148  cov = Eigen::Map<const EgammaCovMatrix_t> (v.data());
149  }
150  else {
151  //from >21.0.11
153  MatrixHelpers::expand(v.begin(),v.end(),cov );
154  }
155  return cov;
156 }
157 
159  //The internal storage is an std::vector
160  static const Accessor< std::vector < float > > acc( "EgammaCovarianceMatrix" );
161  //from >21.0.11
162  MatrixHelpers::compress(cov,acc(*this));
163 }
164 
167  static const Accessor< uint16_t > acc( "author" );
168  uint16_t author = acc(*this);
169  return author & mask;
170 }
171 
173  static const Accessor< uint16_t > acc( "author" );
174  uint16_t author = acc(*this);
175  acc(*this) = author | newAuthor;
176 }
177 
179  static const Accessor< uint16_t > acc( "author" );
180  acc(*this) = newAuthor;
181 }
182 
190  ambiguityLinkAcc( "ambiguityLink" );
191 
194 
195  if( ! ambiguityLinkAcc.isAvailable( *this ) ) {
196  return nullptr;
197  }
198  const ElementLink< xAOD::EgammaContainer >& link = ambiguityLinkAcc( *this );
199  if( ! link.isValid() ) {
200  return nullptr;
201  }
202  return *link;
203 }
204 
205 
208  const xAOD::Egamma_v1::Accessor< float >* acc = showerShapeAccessorV1( information );
209  if( !acc ) {
210  return false;
211  }
212  if(!acc->isAvailable(*this) ) {
213  return false;
214  }
215  // Retrieve the value:
216  value = ( *acc )(*this);
217  return true;
218 }
219 
221  const xAOD::Egamma_v1::Accessor< float >* acc = showerShapeAccessorV1( information );
222  if(!acc ) throw std::runtime_error( "Unknown/Unavailable Shower Shape type requested" );
223  return ( *acc )(*this);
224 }
225 
227  const xAOD::Egamma_v1::Accessor< float >* acc = showerShapeAccessorV1( information );
228  if( !acc ) return false;
229  // Set the value:
230  ( *acc )(*this) = value;
231  return true;
232 
233 }
234 
237  static const Accessor< uint32_t > acc( "OQ" );
238  uint32_t OQ = acc(*this);
239  return (OQ & mask)==0;
240 }
241 
243  static const Accessor< uint32_t > acc( "OQ" );
244  return acc(*this) ;
245 }
246 
248  static const Accessor< uint32_t > acc( "OQ" );
249  acc(*this) = newOQ;
250 }
251 
253 bool Egamma_v1::isolation(float& value, const Iso::IsolationType information) const {
254  const SG::AuxElement::Accessor< float >* acc = getIsolationAccessor( information );
255  if( !acc ) {
256  return false;
257  }
258  if(!acc->isAvailable(*this) ) {
259  return false;
260  }
261  // Retrieve the value:
262  value = ( *acc )(*this);
263  return true;
264 }
265 
266 float Egamma_v1::isolation( const Iso::IsolationType information) const {
267  const SG::AuxElement::Accessor< float >* acc = getIsolationAccessor( information );
268  if( !acc ) throw std::runtime_error( "Unknown/Unavailable Isolation type requested" );
269  return ( *acc )(*this);
270 }
271 
272 bool Egamma_v1::setIsolation(float value, const Iso::IsolationType information) {
273  const SG::AuxElement::Accessor< float >* acc = getIsolationAccessor( information );
274  if( !acc ) return false;
275  // Set the value:
276  ( *acc )(*this) = value;
277  return true;
278 }
279 
282  const Iso::IsolationCorrectionParameter param) const{
284  if(!acc.isAvailable(*this) ) {
285  return false;
286  }
287  // Retrieve the value:
288  value = acc(*this);
289  return true;
290 }
291 
293  const Iso::IsolationCorrectionParameter param) const{
294 
296  if( !acc.isAvailable(*this) ) {throw std::runtime_error( "Unknown/Unavailable Isolation correction requested" );}
297  return acc(*this);
298 }
299 
303  // Set the value:
304  acc(*this) = value;
305  return true;
306 }
307 
310  if(!acc.isAvailable(*this) ) {
311  return false;
312  }
313  // Retrieve the value:
314  value = acc(*this);
315  return true;
316 }
317 
320  if( !acc.isAvailable(*this) ) {throw std::runtime_error( "Unknown/Unavailable Isolation correction requested" );}
321  return acc(*this);
322 }
323 
326  acc(*this) = value;
327  return true;
328 }
329 
332  if(!acc.isAvailable(*this) ) {
333  return false;
334  }
335  // Retrieve the value:
336  value = acc(*this);
337  return true;
338 }
339 
342  if( !acc.isAvailable(*this) ) {throw std::runtime_error( "Unknown/Unavailable Isolation correction requested" );}
343  return acc(*this);
344 }
345 
348  // Set the value:
349  acc(*this) = value;
350  return true;
351 }
352 
353 bool Egamma_v1::isolationCorrectionBitset( std::bitset<32>& value, const Iso::IsolationFlavour flavour ) const{
355  if(!acc.isAvailable(*this) ) {
356  return false;
357  }
358  // Retrieve the value:
359  value = std::bitset<32>(acc(*this));
360  return true;
361 }
362 
363 std::bitset<32> Egamma_v1::isolationCorrectionBitset(const Iso::IsolationFlavour flavour ) const{
365  if( !acc.isAvailable(*this) ) {throw std::runtime_error( "Unknown/Unavailable Isolation BitSet requested" );}
366  return {acc(*this)};
367 }
368 
371  // Set the value:
372  acc(*this) = value;
373  return true;
374 }
375 
377 size_t Egamma_v1::nCaloClusters() const {
378 
380  clusterAcc( "caloClusterLinks" );
381 
382  if( clusterAcc.isAvailable(*this) ) {
383  return clusterAcc(*this).size();
384  }
385  return 0;
386 }
387 
389 
390  if( index >= nCaloClusters() ) {
391  return nullptr;
392  }
393  const CLELVec_t& cls = caloClusterLinks();
394  if( ! cls[ index ].isValid() ) {
395  return nullptr;
396  }
397  return *( cls[ index ] );
398 }
399 
402 
403  if( index >= nCaloClusters() ) {
405  return dummy;
406  }
407  return caloClusterLinks()[ index ];
408 }
409 
411  caloClusterLinks, setCaloClusterLinks)
412 
413 bool Egamma_v1::passSelection(bool& value, const std::string& menu ) const {
416  if(!acc.isAvailable(*this) ) {
417  return false;
418  }
419  value= acc(*this);
420  return true;
421 }
422 
423 bool Egamma_v1::passSelection(const std::string& menu ) const {
425  return acc(*this);
426 }
427 
428 void Egamma_v1::setPassSelection(bool value, const std::string& menu){
430  acc(*this)=value;
431 }
432 
433 bool Egamma_v1::selectionisEM(unsigned int& value, const std::string& isEM) const{
435  if(!acc.isAvailable(*this) ) {
436  return false;
437  }
438  value= acc(*this);
439  return true;
440 }
441 
442 unsigned int Egamma_v1::selectionisEM(const std::string& isEM) const{
444  return acc(*this);
445 }
446 
447 void Egamma_v1::setSelectionisEM(unsigned int value, const std::string& isEM){
449  acc(*this)=value;
450 }
451 
452 } // namespace xAOD
453 
454 // LocalWords: const el hasStore makePrivateStore
python.CaloBCIDAvgAlgConfig.acc3
def acc3
Definition: CaloBCIDAvgAlgConfig.py:69
xAOD::Egamma_v1::setAuthor
void setAuthor(uint16_t)
set author
Definition: Egamma_v1.cxx:178
xAOD::Egamma_v1::isolationCaloCorrection
bool isolationCaloCorrection(float &value, const Iso::IsolationFlavour flavour, const Iso::IsolationCaloCorrection corr, const Iso::IsolationCorrectionParameter param) const
Accessor for flavour and type depended Isolation Calo correction.
Definition: Egamma_v1.cxx:281
xAOD::Egamma_v1::type
virtual Type::ObjectType type() const override=0
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
xAOD::Egamma_v1::FourMom_t
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
Definition: Egamma_v1.h:107
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
xAOD::Egamma_v1::setIsolationCaloCorrection
bool setIsolationCaloCorrection(float value, const Iso::IsolationFlavour flavour, const Iso::IsolationCaloCorrection corr, const Iso::IsolationCorrectionParameter param)
set method for flavour and type depended Isolation Calo Corrections.
Definition: Egamma_v1.cxx:300
ParticleTest.eg
eg
Definition: ParticleTest.py:29
xAOD::EgammaParameters::ShowerShapeType
ShowerShapeType
Definition: EgammaEnums.h:27
SG::Accessor< float >
AuxStoreAccessorMacros.h
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
xAOD::Egamma_v1::addAuthor
void addAuthor(uint16_t)
add author
Definition: Egamma_v1.cxx:172
index
Definition: index.py:1
xAOD::Iso::IsolationFlavour
IsolationFlavour
Enumeration for different ways of calculating isolation in xAOD files.
Definition: IsolationFlavour.h:17
xAOD::Egamma_v1::e
virtual double e() const override final
The total energy of the particle.
Definition: Egamma_v1.cxx:90
EventPrimitivesHelpers.h
Amg::CalculateCompressedSize
constexpr int CalculateCompressedSize(int n)
Definition: EventPrimitivesHelpers.h:51
xAOD::Egamma_v1::author
uint16_t author(uint16_t bitmask=EgammaParameters::AuthorALL) const
Get author.
Definition: Egamma_v1.cxx:166
skel.it
it
Definition: skel.GENtoEVGEN.py:396
xAOD::Egamma_v1::setM
void setM(float m)
set the Mass
Definition: Egamma_v1.cxx:130
plotBeamSpotVxVal.cov
cov
Definition: plotBeamSpotVxVal.py:201
xAOD::Egamma_v1::setIsolationTrackCorrection
bool setIsolationTrackCorrection(float value, const Iso::IsolationFlavour flavour, const Iso::IsolationTrackCorrection corr)
Set method for Isolation Track Corrections.
Definition: Egamma_v1.cxx:346
xAOD::Egamma_v1::isolationCorrectionBitset
bool isolationCorrectionBitset(std::bitset< 32 > &value, const Iso::IsolationFlavour flavour) const
Accessor for Isolation corection Bitset.
Definition: Egamma_v1.cxx:353
CaloClusterListBadChannel.cls
cls
Definition: CaloClusterListBadChannel.py:8
athena.value
value
Definition: athena.py:124
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
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
JetTiledMap::N
@ N
Definition: TiledEtaPhiMap.h:44
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
xAOD::pt
setRcore setEtHad setFside pt
Definition: TrigPhoton_v1.cxx:106
isValid
bool isValid(const T &p)
Definition: AtlasPID.h:225
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::Egamma_v1::nCaloClusters
size_t nCaloClusters() const
Return the number of xAOD::CaloClusters that define the electron candidate.
Definition: Egamma_v1.cxx:377
xAOD::Iso::IsolationCorrectionParameter
IsolationCorrectionParameter
Definition: Event/xAOD/xAODPrimitives/xAODPrimitives/IsolationCorrection.h:91
xAOD::Egamma_v1::showerShapeValue
bool showerShapeValue(float &value, const EgammaParameters::ShowerShapeType information) const
Accessor for ShowerShape values.
Definition: Egamma_v1.cxx:207
xAOD::Egamma_v1::setIsolation
bool setIsolation(float value, const Iso::IsolationType information)
set method for Isolation values.
Definition: Egamma_v1.cxx:272
python.utils.AtlRunQueryLookup.mask
string mask
Definition: AtlRunQueryLookup.py:460
xAOD::Egamma_v1::caloClusterLink
const ElementLink< CaloClusterContainer > & caloClusterLink(size_t index=0) const
ElementLink to the xAOD::CaloCluster/s that match the electron candidate.
Definition: Egamma_v1.cxx:401
xAOD::getIsolationCorrectionAccessor
const SG::AuxElement::Accessor< float > getIsolationCorrectionAccessor(Iso::IsolationFlavour type, Iso::IsolationCaloCorrection corr, Iso::IsolationCorrectionParameter param)
Definition: getIsolationCorrectionAccessor.cxx:19
getIsolationCorrectionAccessor.h
xAOD::IParticle::FourMom_t
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:69
xAOD::phi
setEt phi
Definition: TrigEMCluster_v1.cxx:29
EgammaContainer.h
SG::IAuxElement::index
size_t index() const
Return the index of this element within its container.
xAOD::Egamma_v1::setCovMatrix
void setCovMatrix(const EgammaCovMatrix_t &cov)
set the 4x4 symmetric covariance matrix .
Definition: Egamma_v1.cxx:158
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
xAOD::Egamma_v1::ambiguousObject
const Egamma_v1 * ambiguousObject() const
Get ambiguous.
Definition: Egamma_v1.cxx:193
menu
make the sidebar many part of the config
Definition: hcg.cxx:551
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
xAOD::Egamma_v1::setP4
void setP4(float pt, float eta, float phi, float m)
set the 4-vec
Definition: Egamma_v1.cxx:104
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
lumiFormat.i
int i
Definition: lumiFormat.py:85
xAOD::Egamma_v1::isolation
bool isolation(float &value, const Iso::IsolationType information) const
Accessor for Isolation values.
Definition: Egamma_v1.cxx:253
xAOD::Egamma_v1::operator=
Egamma_v1 & operator=(const Egamma_v1 &eg)
Assignment Operator. Using the assignment of SG::AuxElement.
Definition: Egamma_v1.cxx:53
python.CaloBCIDAvgAlgConfig.acc1
def acc1
Definition: CaloBCIDAvgAlgConfig.py:49
xAOD::Egamma_v1::setPhi
void setPhi(float phi)
set the phi
Definition: Egamma_v1.cxx:125
xAOD::covMatrix
covMatrix
Definition: TrackMeasurement_v1.cxx:19
xAOD::Iso::IsolationType
IsolationType
Overall enumeration for isolation types in xAOD files.
Definition: IsolationType.h:26
xAOD::showerShapeAccessorV1
const SG::AuxElement::Accessor< float > * showerShapeAccessorV1(xAOD::EgammaParameters::ShowerShapeType type)
Explicit Instantiation of Template.
Definition: EgammaAccessors_v1.cxx:26
xAOD::Egamma_v1::caloCluster
const xAOD::CaloCluster * caloCluster(size_t index=0) const
Pointer to the xAOD::CaloCluster/s that define the electron candidate.
Definition: Egamma_v1.cxx:388
python.CaloBCIDAvgAlgConfig.acc2
def acc2
Definition: CaloBCIDAvgAlgConfig.py:59
AthenaPoolTestRead.acc
acc
Definition: AthenaPoolTestRead.py:16
python.xAODType.dummy
dummy
Definition: xAODType.py:4
xAOD::MatrixHelpers::compress
void compress(const Eigen::Matrix< float, N, N, 0, N, N > &covMatrix, std::vector< float > &vec)
Definition: Egamma_v1.cxx:27
xAOD::Egamma_v1::phi
virtual double phi() const override final
The azimuthal angle ( ) of the particle.
Definition: Egamma_v1.cxx:75
xAOD::getIsolationAccessor
const SG::AuxElement::Accessor< float > * getIsolationAccessor(Iso::IsolationType type)
Get the Accessor object for a given isolation type.
Definition: getIsolationAccessor.cxx:24
xAOD::Egamma_v1::OQ
uint32_t OQ() const
Return the object quality bit word.
Definition: Egamma_v1.cxx:242
python.LArRecUtilsConfig.acc4
def acc4
Definition: LArRecUtilsConfig.py:196
xAOD::Egamma_v1::covMatrix
EgammaCovMatrix_t covMatrix() const
Returns the 4x4 symmetric covariance matrix .
Definition: Egamma_v1.cxx:135
xAOD::Egamma_v1::setPt
void setPt(float pt)
set the Pt
Definition: Egamma_v1.cxx:115
xAOD::Iso::IsolationTrackCorrection
IsolationTrackCorrection
Definition: Event/xAOD/xAODPrimitives/xAODPrimitives/IsolationCorrection.h:61
xAOD::Egamma_v1::caloClusterLinks
const CLELVec_t & caloClusterLinks() const
Get all cluster links.
xAOD::Egamma_v1::rapidity
virtual double rapidity() const override final
The true rapidity (y) of the particle.
Definition: Egamma_v1.cxx:94
xAOD::Egamma_v1::EgammaCovMatrix_t
Eigen::Matrix< float, 4, 4 > EgammaCovMatrix_t
4x4 Covariance Matrix in EtEtaPhiM (needs decision)
Definition: Egamma_v1.h:148
xAOD::Egamma_v1::setEta
void setEta(float eta)
set the eta
Definition: Egamma_v1.cxx:120
xAOD::Egamma_v1::GenVecFourMom_t
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for egamma.
Definition: Egamma_v1.h:122
xAOD::Egamma_v1::Egamma_v1
Egamma_v1()
Default constructor.
Definition: Egamma_v1.cxx:47
Egamma_v1.h
SG::AuxElement::makePrivateStore
void makePrivateStore()
Create a new (empty) private store for this object.
Definition: AuxElement.cxx:172
EgammaAccessors_v1.h
xAOD::Egamma_v1::genvecP4
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal egamma type.
Definition: Egamma_v1.cxx:86
SG::AuxElement::hasStore
bool hasStore() const
Return true if this object has an associated store.
Definition: AuxElement.cxx:355
python.PyAthena.v
v
Definition: PyAthena.py:154
xAOD::Iso::IsolationCaloCorrection
IsolationCaloCorrection
Enumeration for different ways of correcting isolation in xAOD files.
Definition: Event/xAOD/xAODPrimitives/xAODPrimitives/IsolationCorrection.h:18
getIsolationAccessor.h
xAOD::MatrixHelpers::expand
void expand(std::vector< float >::const_iterator it, std::vector< float >::const_iterator, Eigen::Matrix< float, N, N, 0, N, N > &covMatrix)
Definition: Egamma_v1.cxx:36
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAOD::getIsolationCorrectionBitsetAccessor
const SG::AuxElement::Accessor< uint32_t > getIsolationCorrectionBitsetAccessor(Iso::IsolationFlavour type)
Returns an accessor for the correction bitset corresponding to this IsolationType.
Definition: getIsolationCorrectionAccessor.cxx:12
xAOD::Egamma_v1::pt
virtual double pt() const override final
The transverse momentum ( ) of the particle.
Definition: Egamma_v1.cxx:65
SG::ConstAccessor< T, AuxAllocator_t< T > >::isAvailable
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
xAOD::Egamma_v1::eta
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
Definition: Egamma_v1.cxx:70
xAOD::Egamma_v1::selectionisEM
bool selectionisEM(unsigned int &value, const std::string &isEM) const
Return the isEM word for a selection menu If the menu isEM is stored in this xAOD::Egamma,...
Definition: Egamma_v1.cxx:433
xAOD::Egamma_v1::m
virtual double m() const override final
The invariant mass of the particle.
Definition: Egamma_v1.cxx:80
xAOD::Egamma_v1::setPassSelection
void setPassSelection(bool value, const std::string &menu)
Set the selection decision for a menu (using the name)
SG::AuxElement::container
const SG::AuxVectorData * container() const
Return the container holding this element.
xAOD::Egamma_v1::CLELVec_t
std::vector< ElementLink< CaloClusterContainer > > CLELVec_t
Helper type definition.
Definition: Egamma_v1.h:174
xAOD::Egamma_v1::isolationTrackCorrection
bool isolationTrackCorrection(float &value, const Iso::IsolationFlavour flavour, const Iso::IsolationTrackCorrection corr) const
Accessor for Isolation Track correction.
Definition: Egamma_v1.cxx:330
xAOD::Egamma_v1::setShowerShapeValue
bool setShowerShapeValue(float value, const EgammaParameters::ShowerShapeType information)
Set method for Shower Shape values.
Definition: Egamma_v1.cxx:226
xAOD::Egamma_v1::setOQ
void setOQ(uint32_t newOQ)
Set the object quality.
Definition: Egamma_v1.cxx:247
xAOD::IParticle::operator=
IParticle & operator=(const IParticle &)=default
xAOD::Egamma_v1::setIsolationCorrectionBitset
bool setIsolationCorrectionBitset(uint32_t value, const Iso::IsolationFlavour flavour)
Set method for Isolation corection Bitset.
Definition: Egamma_v1.cxx:369
xAOD::Egamma_v1::passSelection
bool passSelection(bool &value, const std::string &menu) const
Check if the egamma object pass a selection menu (using the name) If the menu decision is stored in t...
xAOD::Egamma_v1::setSelectionisEM
void setSelectionisEM(unsigned int value, const std::string &isEM)
Set the isEM word for a selection menu (using the name)
Definition: Egamma_v1.cxx:447
xAOD::AUXSTORE_OBJECT_SETTER_AND_GETTER
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1
Definition: CaloRings_v1.cxx:27
xAOD::Egamma_v1::isGoodOQ
bool isGoodOQ(uint32_t mask) const
Check object quality. Return True is it is Good Object Quality.
Definition: Egamma_v1.cxx:236