ATLAS Offline Software
Public Member Functions | Protected Attributes | Friends | List of all members
AthExDecay Class Reference

#include <AthExDecay.h>

Collaboration diagram for AthExDecay:

Public Member Functions

 AthExDecay ()
 Default constructor: More...
 
 AthExDecay (const AthExDecay &rhs)
 Copy constructor: More...
 
AthExDecayoperator= (const AthExDecay &rhs)
 Assignment operator: More...
 
virtual ~AthExDecay ()
 Constructor with parameters: More...
 
const AthExParticlep1 () const
 
const AthExParticlep2 () const
 
const AthExParticlel1 () const
 
const AthExParticlel2 () const
 
void setDecay (const ElementLink< AthExParticles > &p1, const ElementLink< AthExParticles > &p2, const ElementLink< AthExParticles > &l1, const ElementLink< AthExParticles > &l2)
 

Protected Attributes

ElementLink< AthExParticlesm_p1
 
ElementLink< AthExParticlesm_p2
 
ElementLink< AthExParticlesm_l1
 
ElementLink< AthExParticlesm_l2
 

Friends

class AthExDecayCnv_p1
 

Detailed Description

Definition at line 27 of file AthExDecay.h.

Constructor & Destructor Documentation

◆ AthExDecay() [1/2]

AthExDecay::AthExDecay ( )

Default constructor:

Definition at line 25 of file AthExDecay.cxx.

25  :
26  m_p1(),
27  m_p2(),
28  m_l1(),
29  m_l2()
30 {}

◆ AthExDecay() [2/2]

AthExDecay::AthExDecay ( const AthExDecay rhs)

Copy constructor:

Definition at line 32 of file AthExDecay.cxx.

32  :
33  m_p1( rhs.m_p1 ),
34  m_p2( rhs.m_p2 ),
35  m_l1( rhs.m_l1 ),
36  m_l2( rhs.m_l2 )
37 {}

◆ ~AthExDecay()

AthExDecay::~AthExDecay ( )
virtual

Constructor with parameters:

Destructor:

Definition at line 52 of file AthExDecay.cxx.

53 {}

Member Function Documentation

◆ l1()

const AthExParticle * AthExDecay::l1 ( ) const

Definition at line 73 of file AthExDecay.cxx.

74 {
75  if ( m_l1.isValid() ) { return *m_l1;
76  } else { return 0;
77  }
78 }

◆ l2()

const AthExParticle * AthExDecay::l2 ( ) const

Definition at line 80 of file AthExDecay.cxx.

81 {
82  if ( m_l2.isValid() ) { return *m_l2;
83  } else { return 0;
84  }
85 }

◆ operator=()

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

Assignment operator:

Definition at line 39 of file AthExDecay.cxx.

40 {
41  if ( this != &rhs ) {
42  m_p1 = rhs.m_p1;
43  m_p2 = rhs.m_p2;
44  m_l1 = rhs.m_l1;
45  m_l2 = rhs.m_l2;
46  }
47  return *this;
48 }

◆ p1()

const AthExParticle * AthExDecay::p1 ( ) const

Definition at line 59 of file AthExDecay.cxx.

60 {
61  if ( m_p1.isValid() ) { return *m_p1;
62  } else { return 0;
63  }
64 }

◆ p2()

const AthExParticle * AthExDecay::p2 ( ) const

Definition at line 66 of file AthExDecay.cxx.

67 {
68  if ( m_p2.isValid() ) { return *m_p2;
69  } else { return 0;
70  }
71 }

◆ setDecay()

void AthExDecay::setDecay ( const ElementLink< AthExParticles > &  p1,
const ElementLink< AthExParticles > &  p2,
const ElementLink< AthExParticles > &  l1,
const ElementLink< AthExParticles > &  l2 
)

Definition at line 91 of file AthExDecay.cxx.

95 {
96  m_p1 = p1;
97  m_p2 = p2;
98  m_l1 = l1;
99  m_l2 = l2;
100 }

Friends And Related Function Documentation

◆ AthExDecayCnv_p1

friend class AthExDecayCnv_p1
friend

Definition at line 30 of file AthExDecay.h.

Member Data Documentation

◆ m_l1

ElementLink<AthExParticles> AthExDecay::m_l1
protected

Definition at line 80 of file AthExDecay.h.

◆ m_l2

ElementLink<AthExParticles> AthExDecay::m_l2
protected

Definition at line 81 of file AthExDecay.h.

◆ m_p1

ElementLink<AthExParticles> AthExDecay::m_p1
protected

Definition at line 78 of file AthExDecay.h.

◆ m_p2

ElementLink<AthExParticles> AthExDecay::m_p2
protected

Definition at line 79 of file AthExDecay.h.


The documentation for this class was generated from the following files:
AthExDecay::m_l2
ElementLink< AthExParticles > m_l2
Definition: AthExDecay.h:81
AthExDecay::l1
const AthExParticle * l1() const
Definition: AthExDecay.cxx:73
AthExDecay::m_l1
ElementLink< AthExParticles > m_l1
Definition: AthExDecay.h:80
AthExDecay::p2
const AthExParticle * p2() const
Definition: AthExDecay.cxx:66
AthExDecay::m_p1
ElementLink< AthExParticles > m_p1
Definition: AthExDecay.h:78
AthExDecay::p1
const AthExParticle * p1() const
Definition: AthExDecay.cxx:59
AthExDecay::m_p2
ElementLink< AthExParticles > m_p2
Definition: AthExDecay.h:79
AthExDecay::l2
const AthExParticle * l2() const
Definition: AthExDecay.cxx:80