ATLAS Offline Software
Loading...
Searching...
No Matches
V0Candidate.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
24
25#ifndef TRKV0VERTEX_V0CANDIDATE_H
26#define TRKV0VERTEX_V0CANDIDATE_H
27
29
30namespace Trk
31{
33{
34 public:
35
36
40 V0Candidate();
41
45 V0Candidate(const std::vector<Trk::V0Hypothesis *>& v0Hyp);
46
47 V0Candidate(std::vector<Trk::V0Hypothesis *>&& v0Hyp);
48
49
53 V0Candidate(const V0Candidate& rhs);
58 V0Candidate& operator=(V0Candidate&& rhs) noexcept;
62 virtual V0Candidate* clone() const;
63
67 virtual ~V0Candidate();
68
73 std::vector<Trk::V0Hypothesis *>* v0Hypothesis(void);
74
78 const std::vector<Trk::V0Hypothesis *>* v0Hypothesis(void) const;
79
80 private:
81
82 std::vector<Trk::V0Hypothesis * > m_v0Hyp;
83
84}; //end of class definitions
85
86 inline const std::vector<Trk::V0Hypothesis *>* V0Candidate::v0Hypothesis(void) const
87 {
88 return &m_v0Hyp;
89 }
90
91 inline std::vector<Trk::V0Hypothesis *>* V0Candidate::v0Hypothesis(void)
92 {
93 return &m_v0Hyp;
94 }
95
97 {
98 return new V0Candidate(*this);
99 }
100
101} //end of namespace definitions
102#endif
103
104
virtual ~V0Candidate()
Destructor.
virtual V0Candidate * clone() const
Clone method.
Definition V0Candidate.h:96
V0Candidate & operator=(const V0Candidate &rhs)
Assignement constructor.
std::vector< Trk::V0Hypothesis * > m_v0Hyp
Definition V0Candidate.h:82
V0Candidate()
Default constructor.
std::vector< Trk::V0Hypothesis * > * v0Hypothesis(void)
Unconst access to the vector of V0Hypothesis Required by the finder to set the element links properly...
Definition V0Candidate.h:91
Ensure that the ATLAS eigen extensions are properly loaded.