ATLAS Offline Software
Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef EGAMMAEVENT_PHOTON_H
8 #define EGAMMAEVENT_PHOTON_H 1
9 
15 #include "egammaEvent/egamma.h"
16 
17 namespace Analysis {
18 
19 class Photon : public egamma
20 {
21 public:
22 
24  Photon() :
25  egamma()
26  { };
27 
29  Photon(unsigned int author) :
30  egamma(author)
31  { };
32 
34  ~Photon() = default;
35 
36  Photon(const egamma& rhs, bool copyDetails=true, bool copyMinimal=false) :
37  egamma(rhs, copyDetails, copyMinimal)
38  { };
39 
40  Photon(const Photon& rhs, bool copyDetails=true, bool copyMinimal=false) :
41  egamma(rhs, copyDetails, copyMinimal)
42  { };
43 
44  Photon& operator=(const Photon& rhs);
45 
47  void makePhotonFromEgamma(const egamma& eg);
48 };
49 
50 }
51 
52 #endif
ParticleTest.eg
eg
Definition: ParticleTest.py:29
Analysis::Photon::Photon
Photon()
default constructor
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:24
Analysis::Photon::Photon
Photon(const Photon &rhs, bool copyDetails=true, bool copyMinimal=false)
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:40
Analysis::Photon::operator=
Photon & operator=(const Photon &rhs)
Definition: Reconstruction/egamma/egammaEvent/src/Photon.cxx:11
egamma.h
Analysis::Photon
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:20
Analysis::Photon::~Photon
~Photon()=default
destructor
egamma
Definition: egamma.h:58
Analysis::Photon::Photon
Photon(unsigned int author)
constructor
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:29
egamma::author
unsigned int author() const
Reconstruction Author
Definition: egamma.h:244
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::Photon::Photon
Photon(const egamma &rhs, bool copyDetails=true, bool copyMinimal=false)
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:36
Analysis::Photon::makePhotonFromEgamma
void makePhotonFromEgamma(const egamma &eg)
create photon from egamma
Definition: Reconstruction/egamma/egammaEvent/src/Photon.cxx:19