ATLAS Offline Software
V0Hypothesis.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 
7 #ifndef TRKV0VERTEX_V0HYPOTHESIS_H
8 #define TRKV0VERTEX_V0HYPOTHESIS_H
9 
12 
13 
34 class V0HypothesisCnv_p1;
35 
36 namespace Trk
37 {
38 
40 {
41  public:
42 
46  V0Hypothesis();
47 
48  V0Hypothesis(const Trk::ExtendedVxCandidate& vxCandidate,
49  int positiveTrackID = MC::PIPLUS, int negativeTrackID = MC::PIMINUS, int constraintID = MC::K0);
55  const std::vector<Trk::VxTrackAtVertex *>& vxTrackAtVertex,
56  const Amg::MatrixX * fullCov = nullptr,
57  int positiveTrackID = MC::PIPLUS, int negativeTrackID = MC::PIMINUS, int constraintID = MC::K0);
58 
62  virtual V0Hypothesis * clone() const;
63 
68 
72  virtual ~V0Hypothesis();
73 
78 
82  int positiveTrackID(void) const;
83 
87  int negativeTrackID(void) const;
88 
94  int hypothesisID(void) const;
95 
96  private:
97  friend class ::V0HypothesisCnv_p1;
98 
102 
103 };//end of class definitions
104 
105  inline int V0Hypothesis::positiveTrackID(void) const
106  {return m_positiveTrackID;}
107 
108  inline int V0Hypothesis::negativeTrackID(void) const
109  {return m_negativeTrackID;}
110 
111  inline int V0Hypothesis::hypothesisID(void) const
112  {return m_constraintID;}
113 
114 }//end of namespace definitions
115 #endif
116 
117 
118 
Trk::V0Hypothesis::hypothesisID
int hypothesisID(void) const
Retrieves a V0 hypothesis ID.
Definition: V0Hypothesis.h:111
V0HypothesisCnv_p1
Definition: V0HypothesisCnv_p1.h:26
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:29
Trk::VxCandidate::recVertex
const Trk::RecVertex & recVertex(void) const
Returns a reference to reconstructed vertex.
Definition: VxCandidate.h:132
Trk::V0Hypothesis::V0Hypothesis
V0Hypothesis(const V0Hypothesis &rhs)
Copy constructor.
Trk::V0Hypothesis::V0Hypothesis
V0Hypothesis()
Default constructor.
Definition: V0Hypothesis.cxx:30
Trk::V0Hypothesis::operator=
V0Hypothesis & operator=(const V0Hypothesis &rhs)
Assignement operator, clone method and copy constructor.
Definition: V0Hypothesis.cxx:45
Trk::V0Hypothesis
Definition: V0Hypothesis.h:40
Trk::V0Hypothesis::~V0Hypothesis
virtual ~V0Hypothesis()
Destructor.
Trk::RecVertex
Trk::RecVertex inherits from Trk::Vertex.
Definition: RecVertex.h:44
Trk::V0Hypothesis::clone
virtual V0Hypothesis * clone() const
Clone method.
Definition: V0Hypothesis.cxx:42
Trk::VxCandidate::vxTrackAtVertex
std::vector< Trk::VxTrackAtVertex * > * vxTrackAtVertex(void)
Unconst pointer to the vector of tracks Required by some of the vertex fitters.
Definition: VxCandidate.h:144
Trk::V0Hypothesis::negativeTrackID
int negativeTrackID(void) const
Retrieves a negative decay product.
Definition: V0Hypothesis.h:108
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::V0Hypothesis::m_constraintID
int m_constraintID
Definition: V0Hypothesis.h:101
ExtendedVxCandidate.h
Trk::V0Hypothesis::m_negativeTrackID
int m_negativeTrackID
Definition: V0Hypothesis.h:100
Trk::V0Hypothesis::positiveTrackID
int positiveTrackID(void) const
Retrieves a positive decay product ID.
Definition: V0Hypothesis.h:105
Trk::V0Hypothesis::m_positiveTrackID
int m_positiveTrackID
Definition: V0Hypothesis.h:99
HepMCHelpers.h
Trk::ExtendedVxCandidate
Definition: ExtendedVxCandidate.h:33