Belle II Software  release-08-01-10
CDCCKFState Class Reference

Define states for CKF algorithm, which can be seed track or CDC wire hit. More...

#include <CDCCKFState.h>

Public Member Functions

 CDCCKFState (const RecoTrack *seed, const genfit::MeasuredStateOnPlane &trackState)
 constructor from the seed recoTrack and genfit trackState
 
 CDCCKFState (const TrackFindingCDC::CDCWireHit *wireHit)
 constructor from the CDC wireHit
 
const TrackFindingCDC::CDCWireHitgetWireHit () const
 Get CDCWireHit corresponding to the state.
 
const RecoTrackgetSeed () const
 Get RecoTrack seed corresponding to the state.
 
const RecoTrackgetMCRecoTrack (const std::string &mcRecoTrackStoreArrayName="MCRecoTracks") const
 Match seed to the MC track, return it. Works for seed-states only.
 
bool isSeed () const
 Returns true if the state corresponds to the seed track.
 
const genfit::MeasuredStateOnPlanegetTrackState () const
 Get genfit track state (but first check if already present)
 
void setTrackState (const genfit::MeasuredStateOnPlane &trackState)
 Store genfit Measured state on plane.
 
void setRLinfo (const TrackFindingCDC::ERightLeft &rl)
 Set right-left info for the hit.
 
TrackFindingCDC::ERightLeft getRLinfo () const
 Return right-left info (check if present first)
 
void setArcLength (double arcLength)
 Set the arc-length along the tracjectory to the hit.
 
double getArcLength () const
 Return the arc-length along the tracjectory to the hit.
 
void setHitDistance (double hitDistance)
 Set hit distance to the trajectory.
 
double getHitDistance () const
 Return hit distance to the trajectory.
 
void setWeight (double weight)
 Set state weight.
 
double getWeight () const
 Get state weight.
 
void setChi2 (double chi2)
 Set set chi2.
 
double getChi2 () const
 Get state chi2.
 
void setReconstructedZ (double reconstructedZ)
 Set state Z information.
 
double getReconstructedZ () const
 Get state Z information.
 
TrackFindingCDC::CDCTrajectory3D getTrajectory () const
 Helper method to get trajectory from the trackState.
 

Private Attributes

std::optional< const RecoTrack * > m_seed
 (optional) pointer to the seed track
 
std::optional< const TrackFindingCDC::CDCWireHit * > m_cdcWireHit
 (optional) pointer to the wire hit
 
std::optional< genfit::MeasuredStateOnPlanem_trackState
 (optional) genfit MeasuredStateOnPlane
 
double m_arcLength = 0
 arc length along the trajectory to the hit
 
double m_hitDistance = 0
 distance from the trajectory to the hit
 
double m_weight = 0
 state weight
 
double m_chi2 = 0
 state chi2 (using genfit extrapolation)
 
double m_reconstructedZ = 0
 reconstructed Z coordinate
 
TrackFindingCDC::ERightLeft m_rl = TrackFindingCDC::ERightLeft::c_Unknown
 Store if the track is on the right or left side of the hit.
 

Detailed Description

Define states for CKF algorithm, which can be seed track or CDC wire hit.

Definition at line 25 of file CDCCKFState.h.


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