#include <V0Candidate.h>
Definition at line 32 of file V0Candidate.h.
◆ V0Candidate() [1/4]
| Trk::V0Candidate::V0Candidate |
( |
| ) |
|
◆ V0Candidate() [2/4]
◆ V0Candidate() [3/4]
◆ V0Candidate() [4/4]
| Trk::V0Candidate::V0Candidate |
( |
const V0Candidate & | rhs | ) |
|
Copy constructor.
Definition at line 30 of file V0Candidate.cxx.
30 :
m_v0Hyp(std::vector<Trk::V0Hypothesis *>())
31 {
32 std::vector<Trk::V0Hypothesis *>::const_iterator itr = rhs.m_v0Hyp.begin();
33 std::vector<Trk::V0Hypothesis *>::const_iterator itre = rhs.m_v0Hyp.end();
34 for(;itr!=itre;++itr)
m_v0Hyp.push_back((*itr)->clone());
35 }
◆ ~V0Candidate()
| Trk::V0Candidate::~V0Candidate |
( |
| ) |
|
|
virtual |
Destructor.
Definition at line 38 of file V0Candidate.cxx.
39 {
40 std::vector<Trk::V0Hypothesis *>::iterator
i =
m_v0Hyp.begin();
41 std::vector<Trk::V0Hypothesis *>::iterator
ie =
m_v0Hyp.end();
43 {
44 if(0!=(*i)) delete (*i);
45 (*i)=0;
46 }
48 }
◆ clone()
Clone method.
Definition at line 96 of file V0Candidate.h.
97 {
99 }
V0Candidate()
Default constructor.
◆ operator=() [1/2]
Assignement constructor.
Definition at line 50 of file V0Candidate.cxx.
51 {
52 if (this!=&rhs)
53 {
54
55
56 std::vector<Trk::V0Hypothesis *>::iterator
i =
m_v0Hyp.begin();
57 std::vector<Trk::V0Hypothesis *>::iterator
ie =
m_v0Hyp.end();
59 {
60 if(0!=(*i)) delete (*i);
61 (*i)=0;
62 }
64
65
66 std::vector<Trk::V0Hypothesis *>::const_iterator itr = rhs.m_v0Hyp.begin();
67 std::vector<Trk::V0Hypothesis *>::const_iterator itre = rhs.m_v0Hyp.end();
68 for(;itr!=itre;++itr)
m_v0Hyp.push_back((*itr)->clone());
69 }
70 return *this;
71 }
◆ operator=() [2/2]
Definition at line 74 of file V0Candidate.cxx.
75 {
76 if (this != &rhs) {
77 m_v0Hyp = std::move(rhs.m_v0Hyp);
78 }
79 return *this;
80 }
◆ v0Hypothesis() [1/2]
Unconst access to the vector of V0Hypothesis Required by the finder to set the element links properly.
Definition at line 91 of file V0Candidate.h.
◆ v0Hypothesis() [2/2]
| const std::vector< Trk::V0Hypothesis * > * Trk::V0Candidate::v0Hypothesis |
( |
void | | ) |
const |
|
inline |
◆ m_v0Hyp
The documentation for this class was generated from the following files: