ATLAS Offline Software
Reconstruction
egamma
egammaEvent
src
Photon.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
egammaEvent/Photon.h
"
6
#include "
AthenaKernel/BaseInfo.h
"
7
8
9
namespace
Analysis
{
10
11
Photon
&
Photon::operator=
(
const
Photon
& rhs) {
12
if
(
this
!= &rhs ) {
13
egamma::operator=
( rhs );
14
}
15
return
*
this
;
16
}
17
19
void
Photon::makePhotonFromEgamma
(
const
egamma
&
eg
)
20
{
21
if
(
this
!= &
eg
) {
22
egamma::operator=
(
eg
);
23
}
24
}
25
26
27
}
// namespace Analysis
28
29
30
SG_ADD_BASE
(
Analysis::Photon
,
SG_VIRTUAL
(
IAthenaBarCode
));
Photon.h
ParticleTest.eg
eg
Definition:
ParticleTest.py:29
Analysis::Photon::operator=
Photon & operator=(const Photon &rhs)
Definition:
Photon.cxx:11
Analysis::Photon
Definition:
Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:20
SG_ADD_BASE
SG_ADD_BASE(Analysis::Photon, SG_VIRTUAL(IAthenaBarCode))
egamma
Definition:
egamma.h:58
egamma::operator=
egamma & operator=(const egamma &rhs)
Definition:
egamma.cxx:83
BaseInfo.h
Provide an interface for finding inheritance information at run time.
IAthenaBarCode
Definition:
AthenaKernel/AthenaKernel/IAthenaBarCode.h:48
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition:
BTaggingCnvAlg.h:20
SG_VIRTUAL
#define SG_VIRTUAL(T)
Used to mark virtual derivation.
Definition:
Control/AthenaKernel/AthenaKernel/BaseInfo.h:211
Analysis::Photon::makePhotonFromEgamma
void makePhotonFromEgamma(const egamma &eg)
create photon from egamma
Definition:
Photon.cxx:19
Generated on Sun Dec 22 2024 21:16:10 for ATLAS Offline Software by
1.8.18