ATLAS Offline Software
Loading...
Searching...
No Matches
AthExDecay.cxx
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// AthExDecay.cxx
8// Implementation file for class AthExDecay
9// Author: S.Binet<binet@cern.ch>
11
12
13// STL includes
14
15// AthExThinning includes
17
19// Public methods:
21
22// Constructors
24
26 m_p1(),
27 m_p2(),
28 m_l1(),
29 m_l2()
30{}
31
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{}
38
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}
49
50// Destructor
54
56// Const methods:
58
60{
61 if ( m_p1.isValid() ) { return *m_p1;
62 } else { return 0;
63 }
64}
65
67{
68 if ( m_p2.isValid() ) { return *m_p2;
69 } else { return 0;
70 }
71}
72
74{
75 if ( m_l1.isValid() ) { return *m_l1;
76 } else { return 0;
77 }
78}
79
81{
82 if ( m_l2.isValid() ) { return *m_l2;
83 } else { return 0;
84 }
85}
86
88// Non-const methods:
90
const AthExParticle * l1() const
const AthExParticle * l2() const
ElementLink< AthExParticles > m_p1
Definition AthExDecay.h:78
ElementLink< AthExParticles > m_l1
Definition AthExDecay.h:80
void setDecay(const ElementLink< AthExParticles > &p1, const ElementLink< AthExParticles > &p2, const ElementLink< AthExParticles > &l1, const ElementLink< AthExParticles > &l2)
ElementLink< AthExParticles > m_l2
Definition AthExDecay.h:81
AthExDecay()
Default constructor:
const AthExParticle * p1() const
ElementLink< AthExParticles > m_p2
Definition AthExDecay.h:79
virtual ~AthExDecay()
Constructor with parameters:
AthExDecay & operator=(const AthExDecay &rhs)
Assignment operator:
const AthExParticle * p2() const