ATLAS Offline Software
Loading...
Searching...
No Matches
AthExParticle Class Reference

#include <AthExParticle.h>

Inheritance diagram for AthExParticle:
Collaboration diagram for AthExParticle:

Public Member Functions

 AthExParticle (double px=0., double py=0., double pz=0., double ene=0.)
 Default constructor:
 AthExParticle (const AthExParticle &rhs)
 Copy constructor:
AthExParticleoperator= (const AthExParticle &rhs)
 Assignment operator:
virtual ~AthExParticle ()
 Constructor with parameters:
virtual double px () const
 Implementation of the AthExIParticle interface.
virtual double py () const
virtual double pz () const
virtual double e () const

Protected Attributes

double m_px
double m_py
double m_pz
double m_ene

Detailed Description

Definition at line 23 of file AthExParticle.h.

Constructor & Destructor Documentation

◆ AthExParticle() [1/2]

AthExParticle::AthExParticle ( double px = 0.,
double py = 0.,
double pz = 0.,
double ene = 0. )

Default constructor:

Definition at line 25 of file AthExParticle.cxx.

25 :
26 AthExIParticle( ),
27 m_px ( px ),
28 m_py ( py ),
29 m_pz ( pz ),
30 m_ene( ene )
31{}
virtual double px() const
Implementation of the AthExIParticle interface.
virtual double py() const
virtual double pz() const

◆ AthExParticle() [2/2]

AthExParticle::AthExParticle ( const AthExParticle & rhs)

Copy constructor:

Definition at line 33 of file AthExParticle.cxx.

33 :
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{}

◆ ~AthExParticle()

AthExParticle::~AthExParticle ( )
virtual

Constructor with parameters:

Destructor:

Definition at line 55 of file AthExParticle.cxx.

56{}

Member Function Documentation

◆ e()

double AthExParticle::e ( ) const
inlinevirtual

Implements AthExIParticle.

Definition at line 81 of file AthExParticle.h.

81{ return m_ene; }

◆ operator=()

AthExParticle & AthExParticle::operator= ( const AthExParticle & rhs)

Assignment operator:

Definition at line 41 of file AthExParticle.cxx.

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}

◆ px()

double AthExParticle::px ( ) const
inlinevirtual

Implementation of the AthExIParticle interface.

Inline methods:

Implements AthExIParticle.

Definition at line 78 of file AthExParticle.h.

78{ return m_px; }

◆ py()

double AthExParticle::py ( ) const
inlinevirtual

Implements AthExIParticle.

Definition at line 79 of file AthExParticle.h.

79{ return m_py; }

◆ pz()

double AthExParticle::pz ( ) const
inlinevirtual

Implements AthExIParticle.

Definition at line 80 of file AthExParticle.h.

80{ return m_pz; }

Member Data Documentation

◆ m_ene

double AthExParticle::m_ene
protected

Definition at line 70 of file AthExParticle.h.

◆ m_px

double AthExParticle::m_px
protected

Definition at line 67 of file AthExParticle.h.

◆ m_py

double AthExParticle::m_py
protected

Definition at line 68 of file AthExParticle.h.

◆ m_pz

double AthExParticle::m_pz
protected

Definition at line 69 of file AthExParticle.h.


The documentation for this class was generated from the following files: