CbmRoot
Loading...
Searching...
No Matches
CbmL1PFFitter Class Reference

#include <CbmL1PFFitter.h>

Classes

struct  PFFieldRegion
 

Public Member Functions

 CbmL1PFFitter ()
 
 ~CbmL1PFFitter ()
 
void Fit (std::vector< CbmStsTrack > &Tracks, const std::vector< CbmMvdHit > &vMvdHits, const std::vector< CbmStsHit > &vStsHits, const std::vector< int > &pidHypo)
 
void Fit (std::vector< CbmStsTrack > &Tracks, const std::vector< int > &pidHypo)
 
void CalculateFieldRegion (std::vector< CbmStsTrack > &Tracks, std::vector< PFFieldRegion > &Field)
 
void CalculateFieldRegionAtLastPoint (std::vector< CbmStsTrack > &Tracks, std::vector< PFFieldRegion > &field)
 
void GetChiToVertex (std::vector< CbmStsTrack > &Tracks, std::vector< PFFieldRegion > &field, std::vector< float > &chiToVtx, CbmKFVertex &primVtx, float chiPrim=-1)
 

Private Member Functions

void Initialize ()
 
int GetMvdStationIndex (const CbmMvdHit *h)
 
int GetStsStationIndex (const CbmStsHit *h)
 

Private Attributes

bool fIsInitialised = {false}
 
int fNmvdStationsActive = {0}
 
int fNstsStationsActive = {0}
 
TClonesArray * fMvdHitArray {nullptr}
 
TClonesArray * fStsHitArray {nullptr}
 

Detailed Description

Definition at line 34 of file CbmL1PFFitter.h.

Constructor & Destructor Documentation

◆ CbmL1PFFitter()

CbmL1PFFitter::CbmL1PFFitter ( )

Definition at line 100 of file CbmL1PFFitter.cxx.

◆ ~CbmL1PFFitter()

CbmL1PFFitter::~CbmL1PFFitter ( )

Definition at line 102 of file CbmL1PFFitter.cxx.

Member Function Documentation

◆ CalculateFieldRegion()

◆ CalculateFieldRegionAtLastPoint()

◆ Fit() [1/2]

void CbmL1PFFitter::Fit ( std::vector< CbmStsTrack > & Tracks,
const std::vector< CbmMvdHit > & vMvdHits,
const std::vector< CbmStsHit > & vStsHits,
const std::vector< int > & pidHypo )

Definition at line 172 of file CbmL1PFFitter.cxx.

References _fvecalignment, cbm::algo::kf::TrackParamBase< T >::C(), cbm::algo::kf::MeasurementXy< DataT >::Dx2(), cbm::algo::kf::MeasurementXy< DataT >::Dxy(), cbm::algo::kf::MeasurementXy< DataT >::Dy2(), cbm::algo::kf::TrackKalmanFilter< DataT >::EnergyLossCorrection(), cbm::algo::kf::TrackKalmanFilter< DataT >::Extrapolate(), cbm::algo::ca::Station< DataT >::fieldSlice, FilterFirst(), cbm::algo::kf::TrackKalmanFilter< DataT >::FilterTime(), cbm::algo::kf::TrackKalmanFilter< DataT >::FilterXY(), CbmL1::fpAlgo, cbm::algo::ca::Station< DataT >::fZ, CbmPixelHit::GetDx(), CbmPixelHit::GetDxy(), CbmPixelHit::GetDy(), cbm::algo::kf::FieldSlice< T >::GetFieldValue(), GetMvdStationIndex(), cbm::algo::ca::Framework::GetParameters(), GetStsStationIndex(), CbmHit::GetTime(), CbmHit::GetTimeError(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), Initialize(), CbmL1::Instance(), cbm::algo::kf::TrackKalmanFilter< DataT >::MultipleScattering(), cbm::algo::kf::MeasurementXy< DataT >::NdfX(), cbm::algo::kf::MeasurementXy< DataT >::NdfY(), cbm::algo::kf::TrackParamBase< T >::Qp(), cbm::algo::kf::FieldRegion< T >::Set(), cbm::algo::kf::FieldValue< T >::Set(), cbm::algo::kf::MeasurementXy< DataT >::SetDx2(), cbm::algo::kf::MeasurementXy< DataT >::SetDxy(), cbm::algo::kf::MeasurementXy< DataT >::SetDy2(), cbm::algo::kf::TrackKalmanFilter< DataT >::SetMask(), cbm::algo::kf::MeasurementXy< DataT >::SetNdfX(), cbm::algo::kf::MeasurementXy< DataT >::SetNdfY(), cbm::algo::kf::TrackKalmanFilter< DataT >::SetParticleMass(), cbm::algo::kf::TrackKalmanFilter< DataT >::SetQp0(), cbm::algo::kf::FieldValue< T >::SetSimdEntries(), cbm::algo::kf::FieldValue< T >::SetSimdEntry(), cbm::algo::kf::MeasurementXy< DataT >::SetX(), cbm::algo::kf::MeasurementXy< DataT >::SetY(), cbm::algo::kf::fvec::size(), cbm::algo::kf::TrackKalmanFilter< DataT >::Tr(), cbm::algo::kf::MeasurementXy< DataT >::X(), cbm::algo::kf::TrackParamBase< T >::X(), x, cbm::algo::kf::MeasurementXy< DataT >::Y(), cbm::algo::kf::TrackParamBase< T >::Y(), y, and cbm::algo::kf::fmask::Zero().

Referenced by CbmAnaConversionTest::DoSTSonlyAnalysis(), CbmAnaConversion::Exec(), CbmAnaConversionPhotons2::Exec(), CbmAnaConversionPhotons::Exec(), CbmAnaConversionRecoFull::Exec(), CbmAnaConversionTest2::Exec(), CbmKFParticleFinder::Exec(), CbmKFTrackQa::Exec(), CbmStsTracksConverter::ExtrapolateToVertex(), Fit(), and PairAnalysisTrack::Refit().

◆ Fit() [2/2]

void CbmL1PFFitter::Fit ( std::vector< CbmStsTrack > & Tracks,
const std::vector< int > & pidHypo )

Definition at line 477 of file CbmL1PFFitter.cxx.

References Fit(), fMvdHitArray, fStsHitArray, and Initialize().

◆ GetChiToVertex()

void CbmL1PFFitter::GetChiToVertex ( std::vector< CbmStsTrack > & Tracks,
std::vector< PFFieldRegion > & field,
std::vector< float > & chiToVtx,
CbmKFVertex & primVtx,
float chiPrim = -1 )

Definition at line 501 of file CbmL1PFFitter.cxx.

References _fvecalignment, cbm::algo::kf::TrackKalmanFilter< DataT >::EnergyLossCorrection(), cbm::algo::kf::TrackKalmanFilter< DataT >::Extrapolate(), cbm::algo::ca::Station< DataT >::fieldSlice, fMvdHitArray, fNmvdStationsActive, fNstsStationsActive, CbmL1::fpAlgo, fStsHitArray, cbm::algo::ca::Station< DataT >::fZ, CbmKFVertex::GetCovMatrix(), cbm::algo::kf::FieldSlice< T >::GetFieldValue(), GetMvdStationIndex(), cbm::algo::ca::Framework::GetParameters(), CbmKFVertex::GetRefX(), CbmKFVertex::GetRefY(), CbmKFVertex::GetRefZ(), GetStsStationIndex(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), Initialize(), CbmL1::Instance(), cbm::algo::kf::TrackKalmanFilter< DataT >::MultipleScattering(), cbm::algo::kf::fmask::One(), cbm::algo::kf::TrackParamBase< T >::Qp(), cbm::algo::kf::TrackKalmanFilter< DataT >::SetMask(), cbm::algo::kf::TrackKalmanFilter< DataT >::SetQp0(), cbm::algo::kf::FieldValue< T >::SetSimdEntry(), cbm::algo::kf::fvec::setZero(), cbm::algo::kf::fvec::size(), sqrt(), cbm::algo::kf::TrackKalmanFilter< DataT >::Tr(), cbm::algo::kf::TrackParamBase< T >::X(), and cbm::algo::kf::TrackParamBase< T >::Y().

Referenced by LmvmUtils::CalculateAndSetTrackParams(), CbmAnaJpsiUtils::CalculateAndSetTrackParamsToCandidate(), LmvmTask::CheckMismatches(), CbmAnaConversionTest::DoSTSonlyAnalysis(), CbmAnaConversion::Exec(), CbmAnaConversionPhotons2::Exec(), CbmAnaConversionPhotons::Exec(), CbmAnaConversionRecoFull::Exec(), CbmAnaConversionTest2::Exec(), CbmKFParticleFinder::Exec(), CbmStsTracksConverter::ExtrapolateToVertex(), CbmKFParticleInterface::ExtrapolateTrackToPV(), PairAnalysisTrack::Refit(), and CbmKFParticleInterface::SetKFParticleFromStsTrack().

◆ GetMvdStationIndex()

int CbmL1PFFitter::GetMvdStationIndex ( const CbmMvdHit * h)
inlineprivate

◆ GetStsStationIndex()

int CbmL1PFFitter::GetStsStationIndex ( const CbmStsHit * h)
inlineprivate

◆ Initialize()

Member Data Documentation

◆ fIsInitialised

bool CbmL1PFFitter::fIsInitialised = {false}
private

Definition at line 64 of file CbmL1PFFitter.h.

Referenced by Initialize().

◆ fMvdHitArray

TClonesArray* CbmL1PFFitter::fMvdHitArray {nullptr}
private

◆ fNmvdStationsActive

int CbmL1PFFitter::fNmvdStationsActive = {0}
private

Definition at line 65 of file CbmL1PFFitter.h.

Referenced by GetChiToVertex(), and Initialize().

◆ fNstsStationsActive

int CbmL1PFFitter::fNstsStationsActive = {0}
private

Definition at line 66 of file CbmL1PFFitter.h.

Referenced by GetChiToVertex(), and Initialize().

◆ fStsHitArray

TClonesArray* CbmL1PFFitter::fStsHitArray {nullptr}
private

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