ATLAS Offline Software
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 
25 #ifndef TRKV0VERTEX_V0CANDIDATE_H
26 #define TRKV0VERTEX_V0CANDIDATE_H
27 
29 
30 namespace 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);
57  V0Candidate &operator= (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 
Trk::V0Candidate::operator=
V0Candidate & operator=(const V0Candidate &rhs)
Assignement constructor.
Definition: V0Candidate.cxx:59
V0Hypothesis.h
Trk::V0Candidate::clone
virtual V0Candidate * clone() const
Clone method.
Definition: V0Candidate.h:96
Trk::V0Candidate::m_v0Hyp
std::vector< Trk::V0Hypothesis * > m_v0Hyp
Definition: V0Candidate.h:82
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::V0Candidate::V0Candidate
V0Candidate()
Default constructor.
Definition: V0Candidate.cxx:31
Trk::V0Candidate::~V0Candidate
virtual ~V0Candidate()
Destructor.
Definition: V0Candidate.cxx:47
Trk::V0Candidate
Definition: V0Candidate.h:33
Trk::V0Candidate::v0Hypothesis
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