 |
Belle II Software
release-05-01-25
|
12 #include <tracking/trackFindingCDC/ca/AutomatonCell.h>
14 #include <genfit/MeasuredStateOnPlane.h>
15 #include <framework/logging/Logger.h>
17 #include <vxd/dataobjects/VxdID.h>
30 template<
class ASeed,
class AHit>
97 B2ASSERT(
"You are asking for an invalid variable!",
mSoPSet());
133 unsigned short geoLayer = std::numeric_limits<unsigned short>::quiet_NaN();
135 unsigned short ladder = std::numeric_limits<unsigned short>::quiet_NaN();
139 double phi = std::numeric_limits<double>::quiet_NaN();
141 double theta = std::numeric_limits<double>::quiet_NaN();
bool isHitState
Is this state based on a hit (=SpacePoint) or a seed (=RecoTrack)
void reset()
Reset the state to be seen as "new".
Class to uniquely identify a any structure of the PXD and SVD.
double theta
Theta if this state (from SpacePoint or RecoTrack)
CKFState()=default
Default constructor needed for STL containers.
#StateOnPlane with additional covariance matrix.
TrackFindingCDC::AutomatonCell & getAutomatonCell()
Getter for the automaton cell.
double sensorCenterPhi
Phi of the sensor this state is based on, only set if based on SpacePoint.
double localNormalizedv
Local normalized vCoordinate of this state, only set if based on SpacePoint.
~CKFState()=default
Destructor.
void setChi2(double chi2)
Set the chi2 of this state during fitting.
double m_chi2
Chi2 of this special state with this hit and this reco track. Will only be set after fitting state.
const genfit::MeasuredStateOnPlane & getMeasuredStateOnPlane() const
Get the mSoP if already set during extrapolation (or fitting)
stateCache m_stateCache
Cache the most important data of this state for better runtime performance.
State object to store one step in the CKF algorithm together with its parent (the state before),...
bool mSoPSet() const
Is the mSoP already set? (= state was already extrapolated)
genfit::MeasuredStateOnPlane m_measuredStateOnPlane
MSoP after advancing. Is undetermined before extrapolating!
AHit Hit
Copy the class of the hits.
This is the Reconstruction Event-Data Model Track.
double localNormalizedu
Local normalized uCoordinate of this state, only set if based on SpacePoint.
unsigned short ladder
Ladder this state is based on (only use for SpacePoint based states)
bool m_hasMSoP
Flag, if this state has a valid mSoP.
CKFState & operator=(const CKFState &)=delete
No copy constructor.
Abstract base class for different kinds of events.
bool m_isFitted
Flag, if this state was already fitted.
unsigned short geoLayer
Geometrical Layer this state is based on. Will be set to the SVD layer number if it's a state based o...
Cell used by the cellular automata.
ASeed Seed
Copy the class of the seed track.
double phi
Phi if this state (from SpacePoint or RecoTrack)
void setMeasuredStateOnPlane(const genfit::MeasuredStateOnPlane &mSoP)
Set the mSoP.
VxdID sensorID
VxdID of this state, only set if based on SpacePoint.
double getChi2() const
Return the chi2 set during fitting. Is only valid after fitting.
TrackFindingCDC::AutomatonCell m_automatonCell
Memory for the automaton cell.
const Hit * getHit() const
Return the SP this state is related to. May be nullptr.
bool isFitted() const
Check if state was already fitted.
const Hit * m_hit
The hit object this state is attached to.
const Seed * m_seed
The seed this state is related with.
Cache containing the most important information of this state which will often be needed.
const Seed * getSeed() const
Return the track this state is related to.
Structure to hold some of the calpulse data.