Belle II Software development
NewV0Fitter::FittedTrack Struct Reference

Structure to save track data of the last successful iteration. More...

#include <NewV0Fitter.h>

Public Member Functions

void set (const RecoTrack *recoTrk, const Const::ParticleType &hypo, const genfit::MeasuredStateOnPlane &mSoP, const genfit::AbsTrackRep *rep)
 Sets the data members.
 

Public Attributes

const RecoTrackrecoTrack = nullptr
 reco track
 
Const::ParticleType ptype = Const::invalidParticle
 particle type of the V0 track
 
genfit::MeasuredStateOnPlane state
 measured state at first hit, extrapolated to fitted vertex
 
double pValue = 0
 p-value of track fit
 
int Ndf = 0
 degrees-of-freedom of track fit
 

Detailed Description

Structure to save track data of the last successful iteration.

Definition at line 37 of file NewV0Fitter.h.

Member Function Documentation

◆ set()

void set ( const RecoTrack recoTrk,
const Const::ParticleType hypo,
const genfit::MeasuredStateOnPlane &  mSoP,
const genfit::AbsTrackRep *  rep 
)
inline

Sets the data members.

Parameters
recoTrkreco track
hypoparticle type of the V0 track (not necessary the one used for the track fit!)
mSoPmeasured state at first hit extrapolated to fitted vertex
reptrack representation used for track fit

Definition at line 51 of file NewV0Fitter.h.

53 {
54 recoTrack = recoTrk;
55 ptype = hypo;
56 state = mSoP;
57 const auto* fitStatus = recoTrk->getGenfitTrack().getFitStatus(rep);
58 pValue = fitStatus->getPVal();
59 Ndf = fitStatus->getNdf();
60 }
double pValue
p-value of track fit
Definition: NewV0Fitter.h:41
genfit::MeasuredStateOnPlane state
measured state at first hit, extrapolated to fitted vertex
Definition: NewV0Fitter.h:40
Const::ParticleType ptype
particle type of the V0 track
Definition: NewV0Fitter.h:39
const RecoTrack * recoTrack
reco track
Definition: NewV0Fitter.h:38
int Ndf
degrees-of-freedom of track fit
Definition: NewV0Fitter.h:42

Member Data Documentation

◆ Ndf

int Ndf = 0

degrees-of-freedom of track fit

Definition at line 42 of file NewV0Fitter.h.

◆ ptype

particle type of the V0 track

Definition at line 39 of file NewV0Fitter.h.

◆ pValue

double pValue = 0

p-value of track fit

Definition at line 41 of file NewV0Fitter.h.

◆ recoTrack

const RecoTrack* recoTrack = nullptr

reco track

Definition at line 38 of file NewV0Fitter.h.

◆ state

genfit::MeasuredStateOnPlane state

measured state at first hit, extrapolated to fitted vertex

Definition at line 40 of file NewV0Fitter.h.


The documentation for this struct was generated from the following file: