ATLAS Offline Software
AthExParticle.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // AthExParticle.h
8 // Header file for class AthExParticle
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef ATHEXTHINNING_ATHEXPARTICLE_H
12 #define ATHEXTHINNING_ATHEXPARTICLE_H
13 
14 // STL includes
15 
16 // Gaudi includes
17 
18 // AthExThinning includes
20 
21 // Forward declaration
22 
24 {
25 
27  // Public methods:
29 public:
30 
33  AthExParticle( double px = 0., double py = 0.,
34  double pz = 0., double ene = 0.);
35 
38  AthExParticle( const AthExParticle& rhs );
39 
42  AthExParticle& operator=( const AthExParticle& rhs );
43 
49  virtual ~AthExParticle();
50 
52  // Const methods:
54 
56  virtual double px() const;
57  virtual double py() const;
58  virtual double pz() const;
59  virtual double e () const;
61 
63  // Protected data:
65  protected:
66 
67  double m_px;
68  double m_py;
69  double m_pz;
70  double m_ene;
71 
72 };
73 
77 
78 inline double AthExParticle::px() const { return m_px; }
79 inline double AthExParticle::py() const { return m_py; }
80 inline double AthExParticle::pz() const { return m_pz; }
81 inline double AthExParticle::e () const { return m_ene; }
82 
83 
84 #endif //> ATHEXTHINNING_ATHEXPARTICLE_H
AthExIParticle.h
AthExParticle::e
virtual double e() const
Definition: AthExParticle.h:81
AthExParticle::px
virtual double px() const
Implementation of the AthExIParticle interface.
Definition: AthExParticle.h:78
AthExParticle::operator=
AthExParticle & operator=(const AthExParticle &rhs)
Assignment operator:
Definition: AthExParticle.cxx:41
AthExParticle::m_pz
double m_pz
Definition: AthExParticle.h:69
AthExParticle::AthExParticle
AthExParticle(double px=0., double py=0., double pz=0., double ene=0.)
Default constructor:
Definition: AthExParticle.cxx:25
AthExParticle::m_py
double m_py
Definition: AthExParticle.h:68
AthExParticle::~AthExParticle
virtual ~AthExParticle()
Constructor with parameters:
Definition: AthExParticle.cxx:55
AthExParticle::m_px
double m_px
Definition: AthExParticle.h:67
AthExParticle::pz
virtual double pz() const
Definition: AthExParticle.h:80
AthExParticle::m_ene
double m_ene
Definition: AthExParticle.h:70
AthExParticle::py
virtual double py() const
Definition: AthExParticle.h:79
AthExParticle
Definition: AthExParticle.h:24
AthExIParticle
Definition: AthExIParticle.h:21