ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
));
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_ADD_BASE
#define SG_ADD_BASE(D, B)
Add a new base class B to class D.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:325
SG_VIRTUAL
#define SG_VIRTUAL(T)
Used to mark virtual derivation.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:211
Photon.h
Analysis::Photon
Definition
Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:20
Analysis::Photon::makePhotonFromEgamma
void makePhotonFromEgamma(const egamma &eg)
create photon from egamma
Definition
Photon.cxx:19
Analysis::Photon::Photon
Photon()
default constructor
Definition
Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:24
Analysis::Photon::operator=
Photon & operator=(const Photon &rhs)
Definition
Photon.cxx:11
IAthenaBarCode
Definition
AthenaKernel/AthenaKernel/IAthenaBarCode.h:48
egamma::egamma
egamma()
Default constructor.
Definition
egamma.cxx:24
egamma::operator=
egamma & operator=(const egamma &rhs)
Definition
egamma.cxx:79
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition
IConstituent.h:25
Generated on
for ATLAS Offline Software by
1.17.0