ATLAS Offline Software
Loading...
Searching...
No Matches
V0Hypothesis.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6 V0Hypothesis.cxx - Description
7 -------------------
8 begin : 31-07-2005
9 authors : Evelina Bouhova-Thacker (Lancater University), Rob Henderson (Lancater University)
10 email : e.bouhova@cern.ch, r.henderson@lancaster.ac.uk
11 changes : March 2007, E. Bouhova-Thacker, K. Prokofiev
12 move methods to TrkVertexAnalysisUtils/V0Tools.h
13
14 ***************************************************************************/
15
18
19namespace Trk {
20
22
27
28 V0Hypothesis::V0Hypothesis(const Trk::RecVertex& recVertex, const std::vector<Trk::VxTrackAtVertex *>& vxTrackAtVertex,
29 const Amg::MatrixX * fullCov, int positiveTrackID, int negativeTrackID, int constraintID):
32
34 {return new V0Hypothesis(*this);}
35
37 {
38 if (this!=&rhs)
39 {
40// you need to call the base class assignment operator
45 }
46 return *this;
47 }
48
49 V0Hypothesis::V0Hypothesis(const V0Hypothesis& rhs) = default;
50
52
53} // end of namespace
Extends the standard Trk::VxCandidate to store the full covariance matrix of a fitted vertex all part...
ExtendedVxCandidate()
Standard constructor for persistency.
ExtendedVxCandidate & operator=(const ExtendedVxCandidate &)
Assignement operator.
Trk::RecVertex inherits from Trk::Vertex.
Definition RecVertex.h:44
An extension of Trk::ExtendedVxCandidate, to be used for constrained and unconstrained V0 candidates ...
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.
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.
Ensure that the ATLAS eigen extensions are properly loaded.