ATLAS Offline Software
Loading...
Searching...
No Matches
AthExParticle.h
Go to the documentation of this file.
1
2
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:
29public:
30
33 AthExParticle( double px = 0., double py = 0.,
34 double pz = 0., double ene = 0.);
35
38 AthExParticle( const AthExParticle& rhs );
39
43
46
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
78inline double AthExParticle::px() const { return m_px; }
79inline double AthExParticle::py() const { return m_py; }
80inline double AthExParticle::pz() const { return m_pz; }
81inline double AthExParticle::e () const { return m_ene; }
82
83
84#endif //> ATHEXTHINNING_ATHEXPARTICLE_H
AthExParticle(double px=0., double py=0., double pz=0., double ene=0.)
Default constructor:
virtual double px() const
Implementation of the AthExIParticle interface.
AthExParticle & operator=(const AthExParticle &rhs)
Assignment operator:
virtual double e() const
virtual double py() const
virtual double pz() const
virtual ~AthExParticle()
Constructor with parameters: