Belle II Software
release-08-01-10
|
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.