 |
Belle II Software
release-05-01-25
|
12 #include <tracking/trackFindingCDC/numerics/WithWeight.h>
14 #include <genfit/MeasuredStateOnPlane.h>
31 template <
class ASeed,
class AHit>
41 template <
class AState>
47 m_seedMSoP(path.front()->getMeasuredStateOnPlane()),
53 const Hit* hit = state->getHit();
58 if (state->isFitted()) {
59 const double stateChi2 = state->getChi2();
77 const std::vector<const AHit*>&
getHits()
const
146 std::vector<const AHit*>
m_hits;
std::vector< const AHit * > m_hits
The stored hits.
double m_chi2
The stored chi2.
#StateOnPlane with additional covariance matrix.
ASeed Seed
Copy seed definition.
const genfit::MeasuredStateOnPlane & getSeedMSoP() const
Getter for the mSoP of the seed associated with this result.
const ASeed * getSeed() const
Getter for the stored seeds.
genfit::MeasuredStateOnPlane m_seedMSoP
The measured state on plane, which was used from the seed.
const TVector3 & getMomentum() const
Get the momentum this track should start at (defined at the position)
TVector3 m_trackMomentum
The momentum this track should start at (defined at the position)
const TVector3 & getPosition() const
Get the position this track should start at.
SpacePoint typically is build from 1 PXDCluster or 1-2 SVDClusters.
double m_minimalChi2
The minimal chi2 of the single states NAN means there is no valid chi2 at all.
const ASeed * m_seed
The stored seed.
short m_trackCharge
The charge of the track.
Abstract base class for different kinds of events.
short getCharge() const
Set the charge of the track.
AHit Hit
Copy hit definition.
double getMaximalChi2() const
Getter for the maximal chi2 of all stored hits. NAN means there is no valid chi2 at all.
double getChi2() const
Getter for the chi2.
TrackFindingCDC::Weight m_weightSum
The stored sum of weights.
const std::vector< const AHit * > & getHits() const
Getter for the stored hits.
genfit::MeasuredStateOnPlane m_mSoP
The measured state on plane, which this result was initialized with.
A mixin class to attach a weight to an object.
CKFResult(const std::vector< TrackFindingCDC::WithWeight< const AState * >> &path, const genfit::MeasuredStateOnPlane &mSoP)
Constructor from the path of the result and the final mSoP, which defines the track position of the r...
double m_maximalChi2
The maximal chi2 of the single states. NAN means there is no valid chi2 at all.
double getMinimalChi2() const
Getter for the minimal chi2 of all stored hits. NAN means there is no valid chi2 at all.
const genfit::MeasuredStateOnPlane & getMSoP() const
Getter for the mSoP associated with this result.
TVector3 m_trackPosition
The position this track should start at.
double getWeightSum() const
Getter for the sum of weights.