ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEvent
TrkV0Vertex
TrkV0Vertex
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
10
#include "
VxVertex/ExtendedVxCandidate.h
"
11
#include "
TruthUtils/HepMCHelpers.h
"
12
13
33
34
class
V0HypothesisCnv_p1
;
35
36
namespace
Trk
37
{
38
39
class
V0Hypothesis
:
public
ExtendedVxCandidate
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
);
54
V0Hypothesis
(
const
Trk::RecVertex
&
recVertex
,
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
67
V0Hypothesis
&
operator=
(
const
V0Hypothesis
& rhs);
68
72
virtual
~V0Hypothesis
();
73
77
V0Hypothesis
(
const
V0Hypothesis
& rhs);
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
99
int
m_positiveTrackID
;
100
int
m_negativeTrackID
;
101
int
m_constraintID
;
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
ExtendedVxCandidate.h
HepMCHelpers.h
ATLAS-specific HepMC functions.
Trk::ExtendedVxCandidate
Extends the standard Trk::VxCandidate to store the full covariance matrix of a fitted vertex all part...
Definition
ExtendedVxCandidate.h:33
Trk::ExtendedVxCandidate::ExtendedVxCandidate
ExtendedVxCandidate()
Standard constructor for persistency.
Definition
ExtendedVxCandidate.cxx:13
Trk::RecVertex
Trk::RecVertex inherits from Trk::Vertex.
Definition
RecVertex.h:44
Trk::V0Hypothesis::m_constraintID
int m_constraintID
Definition
V0Hypothesis.h:101
Trk::V0Hypothesis::m_positiveTrackID
int m_positiveTrackID
Definition
V0Hypothesis.h:99
Trk::V0Hypothesis::V0Hypothesis
V0Hypothesis(const V0Hypothesis &rhs)
Copy constructor.
Trk::V0Hypothesis::V0Hypothesis
V0Hypothesis()
Default constructor.
Definition
V0Hypothesis.cxx:21
Trk::V0Hypothesis::positiveTrackID
int positiveTrackID(void) const
Retrieves a positive decay product ID.
Definition
V0Hypothesis.h:105
Trk::V0Hypothesis::negativeTrackID
int negativeTrackID(void) const
Retrieves a negative decay product.
Definition
V0Hypothesis.h:108
Trk::V0Hypothesis::~V0Hypothesis
virtual ~V0Hypothesis()
Destructor.
Trk::V0Hypothesis::clone
virtual V0Hypothesis * clone() const
Clone method.
Definition
V0Hypothesis.cxx:33
Trk::V0Hypothesis::hypothesisID
int hypothesisID(void) const
Retrieves a V0 hypothesis ID.
Definition
V0Hypothesis.h:111
Trk::V0Hypothesis::m_negativeTrackID
int m_negativeTrackID
Definition
V0Hypothesis.h:100
Trk::V0Hypothesis::operator=
V0Hypothesis & operator=(const V0Hypothesis &rhs)
Assignement operator, clone method and copy constructor.
Definition
V0Hypothesis.cxx:36
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::VxCandidate::recVertex
const Trk::RecVertex & recVertex(void) const
Returns a reference to reconstructed vertex.
Definition
VxCandidate.h:132
V0HypothesisCnv_p1
Definition
V0HypothesisCnv_p1.h:26
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition
EventPrimitives.h:27
MC::PIMINUS
static const int PIMINUS
Definition
HepMCHelpers.h:111
MC::K0
static const int K0
Definition
HepMCHelpers.h:116
MC::PIPLUS
static const int PIPLUS
Definition
HepMCHelpers.h:110
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0