ATLAS Offline Software
Loading...
Searching...
No Matches
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
33
35
36namespace Trk
37{
38
40{
41 public:
42
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
ATLAS-specific HepMC functions.
Extends the standard Trk::VxCandidate to store the full covariance matrix of a fitted vertex all part...
ExtendedVxCandidate()
Standard constructor for persistency.
Trk::RecVertex inherits from Trk::Vertex.
Definition RecVertex.h:44
V0Hypothesis(const V0Hypothesis &rhs)
Copy constructor.
V0Hypothesis()
Default constructor.
int positiveTrackID(void) const
Retrieves a positive decay product ID.
int negativeTrackID(void) const
Retrieves a negative decay product.
virtual ~V0Hypothesis()
Destructor.
virtual V0Hypothesis * clone() const
Clone method.
int hypothesisID(void) const
Retrieves a V0 hypothesis ID.
V0Hypothesis & operator=(const V0Hypothesis &rhs)
Assignement operator, clone method and copy constructor.
std::vector< Trk::VxTrackAtVertex * > * vxTrackAtVertex(void)
Unconst pointer to the vector of tracks Required by some of the vertex fitters.
const Trk::RecVertex & recVertex(void) const
Returns a reference to reconstructed vertex.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
static const int PIMINUS
static const int K0
static const int PIPLUS
Ensure that the ATLAS eigen extensions are properly loaded.