CbmRoot
|
#include <CbmL1PFFitter.h>
Public Member Functions | |
CbmL1PFFitter () | |
~CbmL1PFFitter () | |
void | FilterFirst (L1TrackPar &track, fvec &x, fvec &y, L1Station &st) |
void | Fit (std::vector< CbmStsTrack > &Tracks, std::vector< int > &pidHypo) |
void | CalculateFieldRegion (std::vector< CbmStsTrack > &Tracks, std::vector< L1FieldRegion > &Field) |
void | CalculateFieldRegionAtLastPoint (std::vector< CbmStsTrack > &Tracks, std::vector< L1FieldRegion > &field) |
void | GetChiToVertex (std::vector< CbmStsTrack > &Tracks, std::vector< L1FieldRegion > &field, std::vector< float > &chiToVtx, CbmKFVertex &primVtx, float chiPrim=-1) |
Definition at line 31 of file CbmL1PFFitter.h.
CbmL1PFFitter::CbmL1PFFitter | ( | ) |
Definition at line 51 of file CbmL1PFFitter.cxx.
CbmL1PFFitter::~CbmL1PFFitter | ( | ) |
Definition at line 53 of file CbmL1PFFitter.cxx.
void CbmL1PFFitter::CalculateFieldRegion | ( | std::vector< CbmStsTrack > & | Tracks, |
std::vector< L1FieldRegion > & | Field | ||
) |
Definition at line 593 of file CbmL1PFFitter.cxx.
References _fvecalignment, CbmL1::algo, L1Station::fieldSlice, fvecLen, CbmHit::GetAddress(), L1FieldSlice::GetFieldValue(), CbmTrack::GetHitIndex(), CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), CbmMvdHit::GetStationNr(), CbmStsSetup::GetStationNumber(), L1Algo::GetVtxFieldValue(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), i, CbmL1::Instance(), CbmStsSetup::Instance(), L1Algo::NMvdStations, L1FieldValue::x, L1FieldValue::y, and L1FieldValue::z.
void CbmL1PFFitter::CalculateFieldRegionAtLastPoint | ( | std::vector< CbmStsTrack > & | Tracks, |
std::vector< L1FieldRegion > & | field | ||
) |
Definition at line 668 of file CbmL1PFFitter.cxx.
References _fvecalignment, CbmL1::algo, L1Station::fieldSlice, fvecLen, CbmHit::GetAddress(), L1FieldSlice::GetFieldValue(), CbmTrack::GetHitIndex(), CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofHits(), CbmStsTrack::GetNofMvdHits(), CbmMvdHit::GetStationNr(), CbmStsSetup::GetStationNumber(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), i, CbmL1::Instance(), CbmStsSetup::Instance(), L1Algo::NMvdStations, L1FieldValue::x, L1FieldValue::y, and L1FieldValue::z.
Referenced by CbmKFParticleFinder::Exec().
void CbmL1PFFitter::FilterFirst | ( | L1TrackPar & | track, |
fvec & | x, | ||
fvec & | y, | ||
L1Station & | st | ||
) |
Definition at line 55 of file CbmL1PFFitter.cxx.
References L1TrackPar::C00, L1XYMeasurementInfo::C00, L1TrackPar::C10, L1XYMeasurementInfo::C10, L1TrackPar::C11, L1XYMeasurementInfo::C11, L1TrackPar::C20, L1TrackPar::C21, L1TrackPar::C22, L1TrackPar::C30, L1TrackPar::C31, L1TrackPar::C32, L1TrackPar::C33, L1TrackPar::C40, L1TrackPar::C41, L1TrackPar::C42, L1TrackPar::C43, L1TrackPar::C44, L1TrackPar::chi2, L1TrackPar::NDF, NS_L1TrackFitter::ONE, NS_L1TrackFitter::vINF, L1TrackPar::x, x, L1Station::XYInfo, L1TrackPar::y, y, and NS_L1TrackFitter::ZERO.
void CbmL1PFFitter::Fit | ( | std::vector< CbmStsTrack > & | Tracks, |
std::vector< int > & | pidHypo | ||
) |
Definition at line 81 of file CbmL1PFFitter.cxx.
References _fvecalignment, CbmL1::algo, L1Station::backInfo, L1TrackPar::C00, L1XYMeasurementInfo::C00, L1TrackPar::C10, L1XYMeasurementInfo::C10, L1TrackPar::C11, L1XYMeasurementInfo::C11, L1TrackPar::C20, L1TrackPar::C21, L1TrackPar::C22, L1TrackPar::C30, L1TrackPar::C31, L1TrackPar::C32, L1TrackPar::C33, L1TrackPar::C40, L1TrackPar::C41, L1TrackPar::C42, L1TrackPar::C43, L1TrackPar::C44, L1TrackPar::chi2, L1FieldValue::Combine(), L1UMeasurementInfo::cos_phi, EnergyLossCorrection(), f, L1Station::fieldSlice, L1Station::frontInfo, fvecLen, CbmHit::GetAddress(), L1FieldSlice::GetFieldValue(), CbmTrack::GetHitIndex(), CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), CbmStsTrack::GetNofStsHits(), CbmTrack::GetParamFirst(), CbmMvdHit::GetStationNr(), CbmStsSetup::GetStationNumber(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), i, CbmL1::Instance(), CbmStsSetup::Instance(), L1AddMaterial(), L1AddPipeMaterial(), L1Extrapolate(), L1Filter(), L1TrackPar::NDF, L1Algo::NMvdStations, L1Algo::NStations, NS_L1TrackFitter::ONE, PipeRadThick, L1TrackPar::qp, CbmTrack::SetChiSq(), CbmTrack::SetNDF(), CbmTrack::SetParamFirst(), CbmTrack::SetParamLast(), L1UMeasurementInfo::sin_phi, L1TrackPar::tx, L1TrackPar::ty, v, L1TrackPar::x, L1FieldValue::x, x, L1Station::XYInfo, L1TrackPar::y, L1FieldValue::y, y, L1TrackPar::z, L1FieldValue::z, L1Station::z, and NS_L1TrackFitter::ZERO.
Referenced by CbmAnaConversionTest::DoSTSonlyAnalysis(), CbmAnaConversionPhotons2::Exec(), CbmAnaConversionRecoFull::Exec(), CbmAnaConversionTest2::Exec(), CbmKFParticleFinder::Exec(), CbmAnaConversionPhotons::Exec(), CbmKFTrackQA::Exec(), CbmAnaConversion::Exec(), CbmStsTracksConverter::ExtrapolateToVertex(), DataTreeCbmInterface::ReadTracks(), and PairAnalysisTrack::Refit().
void CbmL1PFFitter::GetChiToVertex | ( | std::vector< CbmStsTrack > & | Tracks, |
std::vector< L1FieldRegion > & | field, | ||
std::vector< float > & | chiToVtx, | ||
CbmKFVertex & | primVtx, | ||
float | chiPrim = -1 |
||
) |
Definition at line 403 of file CbmL1PFFitter.cxx.
References _fvecalignment, CbmL1::algo, L1TrackPar::C00, L1TrackPar::C10, L1TrackPar::C11, L1TrackPar::C20, L1TrackPar::C21, L1TrackPar::C22, L1TrackPar::C30, L1TrackPar::C31, L1TrackPar::C32, L1TrackPar::C33, L1TrackPar::C40, L1TrackPar::C41, L1TrackPar::C42, L1TrackPar::C43, L1TrackPar::C44, d, EnergyLossCorrection(), f, fabs(), L1Station::fieldSlice, fvecLen, CbmHit::GetAddress(), CbmKFVertex::GetCovMatrix(), L1FieldSlice::GetFieldValue(), CbmTrack::GetHitIndex(), CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), CbmTrack::GetParamFirst(), CbmKFVertex::GetRefX(), CbmKFVertex::GetRefY(), CbmKFVertex::GetRefZ(), CbmMvdHit::GetStationNr(), CbmStsSetup::GetStationNumber(), L1Algo::GetVtxFieldValue(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), CbmL1::Instance(), CbmStsSetup::Instance(), L1AddMaterial(), L1AddPipeMaterial(), L1AddTargetMaterial(), L1Extrapolate(), L1Algo::NMvdStations, L1Algo::NStations, NS_L1TrackFitter::ONE, PipeRadThick, L1TrackPar::qp, CbmTrack::SetParamFirst(), sqrt(), L1TrackPar::tx, L1TrackPar::ty, L1TrackPar::x, L1FieldValue::x, L1TrackPar::y, L1FieldValue::y, L1TrackPar::z, and L1FieldValue::z.
Referenced by CbmLmvmUtils::CalculateAndSetTrackParamsToCandidate(), CbmAnaJpsiUtils::CalculateAndSetTrackParamsToCandidate(), CbmAnaConversionTest::DoSTSonlyAnalysis(), CbmAnaConversionPhotons2::Exec(), CbmAnaConversionRecoFull::Exec(), CbmAnaConversionTest2::Exec(), CbmKFParticleFinder::Exec(), CbmAnaConversionPhotons::Exec(), CbmKFTrackQA::Exec(), CbmThermalModelNoFlow::Exec(), CbmAnaConversion::Exec(), CbmStsTracksConverter::ExtrapolateToVertex(), CbmKFParticleInterface::ExtrapolateTrackToPV(), DataTreeCbmInterface::ReadTracks(), PairAnalysisTrack::Refit(), and CbmKFParticleInterface::SetKFParticleFromStsTrack().