CbmRoot
|
#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} |
Definition at line 34 of file CbmL1PFFitter.h.
CbmL1PFFitter::CbmL1PFFitter | ( | ) |
Definition at line 100 of file CbmL1PFFitter.cxx.
CbmL1PFFitter::~CbmL1PFFitter | ( | ) |
Definition at line 102 of file CbmL1PFFitter.cxx.
void CbmL1PFFitter::CalculateFieldRegion | ( | std::vector< CbmStsTrack > & | Tracks, |
std::vector< PFFieldRegion > & | Field ) |
Definition at line 666 of file CbmL1PFFitter.cxx.
References _fvecalignment, cbm::algo::ca::Station< DataT >::fieldSlice, fMvdHitArray, CbmL1::fpAlgo, fStsHitArray, cbm::algo::kf::FieldSlice< T >::GetFieldValue(), CbmStsTrack::GetMvdHitIndex(), GetMvdStationIndex(), CbmStsTrack::GetNofMvdHits(), cbm::algo::ca::Framework::GetParameters(), CbmStsTrack::GetStsHitIndex(), GetStsStationIndex(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), Initialize(), CbmL1::Instance(), cbm::algo::kf::FieldValue< T >::SetSimdEntry(), and cbm::algo::kf::fvec::size().
void CbmL1PFFitter::CalculateFieldRegionAtLastPoint | ( | std::vector< CbmStsTrack > & | Tracks, |
std::vector< PFFieldRegion > & | field ) |
Definition at line 746 of file CbmL1PFFitter.cxx.
References _fvecalignment, cbm::algo::ca::Station< DataT >::fieldSlice, fMvdHitArray, CbmL1::fpAlgo, fStsHitArray, cbm::algo::kf::FieldSlice< T >::GetFieldValue(), CbmStsTrack::GetMvdHitIndex(), GetMvdStationIndex(), CbmStsTrack::GetNofMvdHits(), cbm::algo::ca::Framework::GetParameters(), CbmStsTrack::GetStsHitIndex(), GetStsStationIndex(), CbmStsTrack::GetTotalNofHits(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), Initialize(), CbmL1::Instance(), cbm::algo::kf::FieldValue< T >::SetSimdEntry(), and cbm::algo::kf::fvec::size().
Referenced by CbmKFParticleFinder::Exec().
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().
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().
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().
|
inlineprivate |
Definition at line 145 of file CbmL1PFFitter.cxx.
References CbmL1::fpAlgo, cbm::algo::ca::Framework::GetParameters(), CbmMvdHit::GetStationNr(), and CbmL1::Instance().
Referenced by CalculateFieldRegion(), CalculateFieldRegionAtLastPoint(), Fit(), and GetChiToVertex().
|
inlineprivate |
Definition at line 151 of file CbmL1PFFitter.cxx.
References CbmL1::fpAlgo, CbmHit::GetAddress(), cbm::algo::ca::Framework::GetParameters(), CbmL1::Instance(), and CbmStsSetup::Instance().
Referenced by CalculateFieldRegion(), CalculateFieldRegionAtLastPoint(), Fit(), and GetChiToVertex().
|
inlineprivate |
Definition at line 104 of file CbmL1PFFitter.cxx.
References fIsInitialised, fMvdHitArray, fNmvdStationsActive, fNstsStationsActive, CbmL1::fpAlgo, fStsHitArray, cbm::algo::ca::Framework::GetParameters(), CbmL1::Instance(), and cbm::ca::tools::SetOriginalCbmField().
Referenced by CalculateFieldRegion(), CalculateFieldRegionAtLastPoint(), Fit(), Fit(), and GetChiToVertex().
|
private |
Definition at line 64 of file CbmL1PFFitter.h.
Referenced by Initialize().
|
private |
Definition at line 67 of file CbmL1PFFitter.h.
Referenced by CalculateFieldRegion(), CalculateFieldRegionAtLastPoint(), Fit(), GetChiToVertex(), and Initialize().
|
private |
Definition at line 65 of file CbmL1PFFitter.h.
Referenced by GetChiToVertex(), and Initialize().
|
private |
Definition at line 66 of file CbmL1PFFitter.h.
Referenced by GetChiToVertex(), and Initialize().
|
private |
Definition at line 68 of file CbmL1PFFitter.h.
Referenced by CalculateFieldRegion(), CalculateFieldRegionAtLastPoint(), Fit(), GetChiToVertex(), and Initialize().