ATLAS Offline Software
AthExParticle.cxx
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.cxx
8 // Implementation file for class AthExParticle
9 // Author: S.Binet<binet@cern.ch>
11 
12 
13 // STL includes
14 
15 // AthExThinning includes
17 
19 // Public methods:
21 
22 // Constructors
24 
25 AthExParticle::AthExParticle( double px, double py, double pz, double ene ) :
26  AthExIParticle( ),
27  m_px ( px ),
28  m_py ( py ),
29  m_pz ( pz ),
30  m_ene( ene )
31 {}
32 
34  AthExIParticle( rhs ),
35  m_px ( rhs.m_px ),
36  m_py ( rhs.m_py ),
37  m_pz ( rhs.m_pz ),
38  m_ene( rhs.m_ene )
39 {}
40 
42 {
43  if ( this != &rhs ) {
44  AthExIParticle::operator=( rhs );
45  m_px = rhs.m_px;
46  m_py = rhs.m_py;
47  m_pz = rhs.m_pz;
48  m_ene = rhs.m_ene;
49  }
50  return *this;
51 }
52 
53 // Destructor
56 {}
test_pyathena.px
px
Definition: test_pyathena.py:18
AthExParticle.h
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
Amg::pz
@ pz
Definition: GeoPrimitives.h:40
Amg::py
@ py
Definition: GeoPrimitives.h:39
AthExParticle::m_px
double m_px
Definition: AthExParticle.h:67
AthExParticle::m_ene
double m_ene
Definition: AthExParticle.h:70
AthExParticle
Definition: AthExParticle.h:24
AthExIParticle
Definition: AthExIParticle.h:21