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

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

#include <CKFToPXDState.h>

Inheritance diagram for CKFToPXDState:
Collaboration diagram for CKFToPXDState:

Public Types

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

Public Member Functions

 CKFToPXDState (const SpacePoint *hit)
 When constructed by a hit, set the reco hit.
 
 CKFToPXDState (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 PXD cluster.
 
const PXDRecoHitgetRecoHit () const
 Helper function for getting the already created reco hit (runtime reasons)
 
const std::vector< PXDRecoHit > & getRecoHits () const
 Helper function for getting the already created reco hits (runtime reasons)
 
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< PXDRecoHitm_recoHits
 Precache the PXDRecoHits for runtime performance reasons.
 
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 PXD.

Definition at line 27 of file CKFToPXDState.h.


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