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

Specialized CKF State for extrapolating into the SVD. More...

#include <CKFToSVDState.h>

Inheritance diagram for CKFToSVDState:
Collaboration diagram for CKFToSVDState:

Public Types

using Seed = RecoTrack
 Copy the class of the seed track.
 
using Hit = SpacePoint
 Copy the class of the hits.
 

Public Member Functions

 CKFToSVDState (const SpacePoint *hit)
 When constructed by a hit, set the reco hit.
 
 CKFToSVDState (const RecoTrack *seed, bool reversed=false)
 Constructor setting the state to the position of the first CDC track seed hit.
 
unsigned int getGeometricalLayer () const
 Extract the real layer this state sits on.
 
genfit::SharedPlanePtr getPlane (const genfit::MeasuredStateOnPlane &state) const
 Return the plane of the first SVD cluster.
 
const SVDRecoHitgetRecoHit () const
 Helper function for getting the already created reco hit (runtime reasons)
 
const std::vector< SVDRecoHit > & getRecoHits () const
 Helper function for getting the already created reco hits (runtime reasons)
 
const RecoTrackgetRelatedSVDTrack () const
 Return the related SVD track, if we go along one of them (or a nullptr)
 
void setRelatedSVDTrack (const RecoTrack *relatedSVDTrack)
 Set the related SVD track, if we go along one of them (or a nullptr)
 
const struct stateCache & getStateCache () const
 Get the cached data of this state.
 
const SeedgetSeed () const
 Return the track this state is related to.
 
const HitgetHit () const
 Return the SP this state is related to. May be nullptr.
 
double getChi2 () const
 Return the chi2 set during fitting. Is only valid after fitting.
 
void setChi2 (double chi2)
 Set the chi2 of this state during fitting.
 
void setMeasuredStateOnPlane (const genfit::MeasuredStateOnPlane &mSoP)
 Set the mSoP.
 
const genfit::MeasuredStateOnPlanegetMeasuredStateOnPlane () const
 Get the mSoP if already set during extrapolation (or fitting)
 
bool isFitted () const
 Check if state was already fitted.
 
bool mSoPSet () const
 Is the mSoP already set? (= state was already extrapolated)
 
void reset ()
 Reset the state to be seen as "new".
 
TrackFindingCDC::AutomatonCellgetAutomatonCell ()
 Getter for the automaton cell.
 

Protected Attributes

stateCache m_stateCache
 Cache the most important data of this state for better runtime performance.
 

Private Attributes

std::vector< SVDRecoHitm_recoHits
 Precache the PXDRecoHits for runtime performance reasons.
 
const RecoTrackm_relatedSVDTrack = nullptr
 The related SVD track, if we go along one of them (or a nullptr)
 
const Seedm_seed
 The seed this state is related with.
 
const Hitm_hit
 The hit object this state is attached to.
 
double m_chi2
 Chi2 of this special state with this hit and this reco track. Will only be set after fitting state.
 
genfit::MeasuredStateOnPlane m_measuredStateOnPlane
 MSoP after advancing. Is undetermined before extrapolating!
 
TrackFindingCDC::AutomatonCell m_automatonCell
 Memory for the automaton cell.
 
bool m_isFitted
 Flag, if this state was already fitted.
 
bool m_hasMSoP
 Flag, if this state has a valid mSoP.
 

Detailed Description

Specialized CKF State for extrapolating into the SVD.

Definition at line 27 of file CKFToSVDState.h.


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