Belle II Software development
|
Object for temporary storage of a CKF tree search result. More...
#include <CKFResult.h>
Public Types | |
using | Seed = ASeed |
Copy seed definition. | |
using | Hit = AHit |
Copy hit definition. | |
Public Member Functions | |
template<class AState > | |
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 resulting track. | |
const std::vector< const AHit * > & | getHits () const |
Getter for the stored hits. | |
const ASeed * | getSeed () const |
Getter for the stored seeds. | |
double | getChi2 () const |
Getter for the chi2. | |
double | getMaximalChi2 () const |
Getter for the maximal chi2 of all stored hits. 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 ROOT::Math::XYZVector & | getPosition () const |
Get the position this track should start at. | |
const ROOT::Math::XYZVector & | getMomentum () const |
Get the momentum this track should start at (defined at the position) | |
short | getCharge () const |
Set the charge of the track. | |
double | getWeightSum () const |
Getter for the sum of weights. | |
const genfit::MeasuredStateOnPlane & | getSeedMSoP () const |
Getter for the mSoP of the seed associated with this result. | |
const genfit::MeasuredStateOnPlane & | getMSoP () const |
Getter for the mSoP associated with this result. | |
Private Attributes | |
const ASeed * | m_seed |
The stored seed. | |
std::vector< const AHit * > | m_hits |
The stored hits. | |
double | m_chi2 = 0 |
The stored chi2. | |
double | m_maximalChi2 = NAN |
The maximal chi2 of the single states. NAN means there is no valid chi2 at all. | |
double | m_minimalChi2 = NAN |
The minimal chi2 of the single states NAN means there is no valid chi2 at all. | |
ROOT::Math::XYZVector | m_trackPosition |
The position this track should start at. | |
ROOT::Math::XYZVector | m_trackMomentum |
The momentum this track should start at (defined at the position) | |
short | m_trackCharge = 0 |
The charge of the track. | |
TrackFindingCDC::Weight | m_weightSum = 0 |
The stored sum of weights. | |
genfit::MeasuredStateOnPlane | m_seedMSoP |
The measured state on plane, which was used from the seed. | |
genfit::MeasuredStateOnPlane | m_mSoP |
The measured state on plane, which this result was initialized with. | |
Object for temporary storage of a CKF tree search result.
It stores the seed together with the associated hits and a chi2 value. This object will not be stored to the DataStore, but is only for internal usage.
All sub-detector CKFs should inherit their own object from this.
Definition at line 30 of file CKFResult.h.
using Hit = AHit |
Copy hit definition.
Definition at line 36 of file CKFResult.h.
using Seed = ASeed |
Copy seed definition.
Definition at line 34 of file CKFResult.h.
|
inline |
Constructor from the path of the result and the final mSoP, which defines the track position of the resulting track.
Definition at line 40 of file CKFResult.h.
|
inline |
Set the charge of the track.
Definition at line 117 of file CKFResult.h.
|
inline |
|
inline |
|
inline |
Getter for the maximal chi2 of all stored hits. NAN means there is no valid chi2 at all.
Definition at line 93 of file CKFResult.h.
|
inline |
Getter for the minimal chi2 of all stored hits. NAN means there is no valid chi2 at all.
Definition at line 99 of file CKFResult.h.
|
inline |
Get the momentum this track should start at (defined at the position)
Definition at line 111 of file CKFResult.h.
|
inline |
Getter for the mSoP associated with this result.
Definition at line 135 of file CKFResult.h.
|
inline |
Get the position this track should start at.
Definition at line 105 of file CKFResult.h.
|
inline |
|
inline |
Getter for the mSoP of the seed associated with this result.
Definition at line 129 of file CKFResult.h.
|
inline |
Getter for the sum of weights.
Definition at line 123 of file CKFResult.h.
|
private |
The stored chi2.
Definition at line 146 of file CKFResult.h.
|
private |
The stored hits.
Definition at line 144 of file CKFResult.h.
|
private |
The maximal chi2 of the single states. NAN means there is no valid chi2 at all.
Definition at line 148 of file CKFResult.h.
|
private |
The minimal chi2 of the single states NAN means there is no valid chi2 at all.
Definition at line 150 of file CKFResult.h.
|
private |
The measured state on plane, which this result was initialized with.
Definition at line 162 of file CKFResult.h.
|
private |
The stored seed.
Definition at line 142 of file CKFResult.h.
|
private |
The measured state on plane, which was used from the seed.
Definition at line 160 of file CKFResult.h.
|
private |
The charge of the track.
Definition at line 156 of file CKFResult.h.
|
private |
The momentum this track should start at (defined at the position)
Definition at line 154 of file CKFResult.h.
|
private |
The position this track should start at.
Definition at line 152 of file CKFResult.h.
|
private |
The stored sum of weights.
Definition at line 158 of file CKFResult.h.