Belle II Software development
|
Specialized CKF State for extrapolating into the SVD. More...
#include <CKFToSVDState.h>
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 SVDRecoHit & | getRecoHit () 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 RecoTrack * | getRelatedSVDTrack () 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 Seed * | getSeed () const |
Return the track this state is related to. | |
const Hit * | getHit () 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::MeasuredStateOnPlane & | getMeasuredStateOnPlane () 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::AutomatonCell & | getAutomatonCell () |
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< SVDRecoHit > | m_recoHits |
Precache the PXDRecoHits for runtime performance reasons. | |
const RecoTrack * | m_relatedSVDTrack = nullptr |
The related SVD track, if we go along one of them (or a nullptr) | |
const Seed * | m_seed |
The seed this state is related with. | |
const Hit * | m_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. | |
Specialized CKF State for extrapolating into the SVD.
Definition at line 27 of file CKFToSVDState.h.
|
inherited |
Copy the class of the hits.
Definition at line 34 of file CKFState.h.
Copy the class of the seed track.
Definition at line 32 of file CKFState.h.
|
explicit |
When constructed by a hit, set the reco hit.
Definition at line 60 of file CKFToSVDState.cc.
|
explicit |
Constructor setting the state to the position of the first CDC track seed hit.
Definition at line 18 of file CKFToSVDState.cc.
|
inlineinherited |
Getter for the automaton cell.
Definition at line 119 of file CKFState.h.
|
inlineinherited |
Return the chi2 set during fitting. Is only valid after fitting.
Definition at line 72 of file CKFState.h.
unsigned int getGeometricalLayer | ( | ) | const |
Extract the real layer this state sits on.
Definition at line 31 of file CKFToSVDState.cc.
|
inlineinherited |
Return the SP this state is related to. May be nullptr.
Definition at line 66 of file CKFState.h.
|
inlineinherited |
Get the mSoP if already set during extrapolation (or fitting)
Definition at line 93 of file CKFState.h.
genfit::SharedPlanePtr getPlane | ( | const genfit::MeasuredStateOnPlane & | state | ) | const |
Return the plane of the first SVD cluster.
Definition at line 42 of file CKFToSVDState.cc.
const SVDRecoHit & getRecoHit | ( | ) | const |
Helper function for getting the already created reco hit (runtime reasons)
Definition at line 48 of file CKFToSVDState.cc.
const std::vector< SVDRecoHit > & getRecoHits | ( | ) | const |
Helper function for getting the already created reco hits (runtime reasons)
Definition at line 54 of file CKFToSVDState.cc.
const RecoTrack * getRelatedSVDTrack | ( | ) | const |
Return the related SVD track, if we go along one of them (or a nullptr)
Definition at line 78 of file CKFToSVDState.cc.
|
inlineinherited |
Return the track this state is related to.
Definition at line 60 of file CKFState.h.
|
inline |
Get the cached data of this state.
Definition at line 54 of file CKFToSVDState.h.
|
inlineinherited |
Check if state was already fitted.
Definition at line 100 of file CKFState.h.
|
inlineinherited |
Is the mSoP already set? (= state was already extrapolated)
Definition at line 106 of file CKFState.h.
|
inlineinherited |
Reset the state to be seen as "new".
Definition at line 112 of file CKFState.h.
|
inlineinherited |
Set the chi2 of this state during fitting.
Definition at line 79 of file CKFState.h.
|
inlineinherited |
Set the mSoP.
Definition at line 86 of file CKFState.h.
void setRelatedSVDTrack | ( | const RecoTrack * | relatedSVDTrack | ) |
Set the related SVD track, if we go along one of them (or a nullptr)
Definition at line 83 of file CKFToSVDState.cc.
|
privateinherited |
Memory for the automaton cell.
Definition at line 167 of file CKFState.h.
|
privateinherited |
Chi2 of this special state with this hit and this reco track. Will only be set after fitting state.
Definition at line 163 of file CKFState.h.
|
privateinherited |
Flag, if this state has a valid mSoP.
Definition at line 171 of file CKFState.h.
|
privateinherited |
The hit object this state is attached to.
Definition at line 161 of file CKFState.h.
|
privateinherited |
Flag, if this state was already fitted.
Definition at line 169 of file CKFState.h.
|
privateinherited |
MSoP after advancing. Is undetermined before extrapolating!
Definition at line 165 of file CKFState.h.
|
private |
Precache the PXDRecoHits for runtime performance reasons.
Definition at line 60 of file CKFToSVDState.h.
|
private |
The related SVD track, if we go along one of them (or a nullptr)
Definition at line 63 of file CKFToSVDState.h.
|
privateinherited |
The seed this state is related with.
Definition at line 159 of file CKFState.h.
|
protectedinherited |
Cache the most important data of this state for better runtime performance.
Definition at line 154 of file CKFState.h.