24 V0Candidate::V0Candidate(
const std::vector<Trk::V0Hypothesis *>& v0Hyp) : m_v0Hyp(v0Hyp) {}
26 V0Candidate::V0Candidate(std::vector<Trk::V0Hypothesis *>&& v0Hyp)
27 : m_v0Hyp(std::move(v0Hyp))
30 V0Candidate::V0Candidate(
const V0Candidate& rhs) : m_v0Hyp(std::
vector<
Trk::V0Hypothesis *>())
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());
38 V0Candidate::~V0Candidate()
44 if(0!=(*
i))
delete (*i);
60 if(0!=(*
i))
delete (*i);
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());
74 V0Candidate::operator=(V0Candidate&& rhs) noexcept
77 m_v0Hyp = std::move(rhs.
m_v0Hyp);