Go to the documentation of this file.
6 #ifndef CBMTOFTRACKLET_H
7 #define CBMTOFTRACKLET_H 1
10 #include <RtypesCore.h>
14 #include <FairTrackParam.h>
66 for (Int_t
i = 0;
i < (Int_t)
fTofHit.size();
i++)
195 for (Int_t iHit = 0; iHit < (Int_t)
fTofHit.size(); iHit++) {
209 for (Int_t iHit = 0; iHit < (Int_t)
fTofHit.size(); iHit++) {
255 void Clear(Option_t* option =
"");
void SetDistance(Double_t distance)
Double_t GetTrackY() const
CbmTofTrackletParam * GetTrackParameter()
Double_t fP[4]
vector of TofHit objects
virtual Double_t GetTdif(Int_t iSmType, CbmTofHit *pHit)
void SetT0Err(Double_t val)
Int_t GetHitIndex(Int_t ind) const
void SetTofHitIndex(Int_t tofHitIndex, Int_t iDet, CbmTofHit *pHit)
std::vector< Int_t > fTofDet
Index of TofHit.
FairTrackParam fParamLast
Track parameters at first and last fitted hit.
void SetChiSq(Double_t chiSq)
Int_t GetStationHitIndex(Int_t iSm) const
FairTrackParam fParamFirst
Track parameters at z of TofHit.
Double_t fChiSq
Covariance od fT0 and fTt.
void RemoveTofHitIndex(Int_t, Int_t iDet, CbmTofHit *, Double_t)
Int_t GetTofHitIndex(Int_t ind) const
Provides information on attaching a TofHit to a TofTrack.
std::vector< Int_t > fTofHit
virtual Int_t HitIndexOfAddr(Int_t iAddr)
Double_t GetTrackX() const
Double_t GetTrackTy() const
void SetTrackLength(Double_t trackLength)
const FairTrackParam * GetParamFirst() const
Double_t GetTex(CbmTofHit *pHit)
virtual Double_t Dist3D(CbmTofHit *pHit0, CbmTofHit *pHit1)
Double_t GetTrackDx() const
Double_t GetTrackTx() const
virtual void GetFairTrackParamLast()
Double_t GetTtErr() const
virtual Double_t GetMatChi2(Int_t iSm)
void SetTofHitInd(const std::vector< Int_t > &tofHitInd)
CbmTofTrackletParam fTrackPar
const std::vector< Int_t > & GetTofHitInd() const
void SetTrackParameter(CbmTofTrackletParam *par)
virtual ~CbmTofTracklet()
virtual Bool_t ContainsAddr(Int_t iAddr)
void Clear(Option_t *option="")
CbmTofTracklet & operator=(const CbmTofTracklet &)
transient (transfer) space point to Eve
void SetTime(Double_t val)
Double_t fTime
Normalized distance from hit to track.
void SetPidHypo(Int_t pid)
void ReplaceTofHitIndex(Int_t tofHitIndex, Int_t iDet, CbmTofHit *pHit, Double_t chi2)
ClassDef(CbmTofTracklet, 3)
Double_t GetRefVel(UInt_t N)
void SetTofHitIndex(Int_t tofHitIndex, Int_t iDet, CbmTofHit *pHit, Double_t chi2)
void SetParamLast(const FairTrackParam *par)
Double_t fTtErr
Error on Time at origin.
void AddTofHitIndex(Int_t tofHitIndex, Int_t iDet, CbmTofHit *pHit)
Double_t GetDistance() const
Double_t GetT0Err() const
Int_t fPidHypo
Track length from primary vertex to TOF [cm].
Double_t GetTrackLength() const
std::vector< CbmTofHit > fhit
Matching Chi2 of TofHit.
Int_t GetFirstInd(Int_t iSmType)
virtual CbmTofHit * HitPointerOfAddr(Int_t iAddr)
Double_t GetTheta() const
void SetT0TtCov(Double_t val)
Double_t GetFitX(Double_t Z)
const Double_t * GetPoint(Int_t n)
void SetParamFirst(const FairTrackParam *par)
void SetTtErr(Double_t val)
const Double_t * GetFitPoint(Int_t n)
const FairTrackParam * GetParamLast() const
Double_t GetFitY(Double_t Z)
Double_t fT0TtCov
Error on slope dT/dr.
Double_t fT0Err
Time at origin.
Double_t fTt
Reference time of reference hit.
Double_t GetChiSq() const
virtual Double_t GetXdif(Int_t iSmType, CbmTofHit *pHit)
void AddTofHitIndex(Int_t tofHitIndex, Int_t iDet, CbmTofHit *pHit, Double_t chi2)
Double_t GetCovariance(int index) const
Double_t GetT0TtCov() const
Int_t GetTofDetIndex(Int_t ind) const
std::vector< Double_t > fMatChi
DetLayer of TofHit.
Double_t GetTrackDy() const
Double_t GetFitT(Double_t R)
virtual Double_t GetYdif(Int_t iSmType, CbmTofHit *pHit)
CbmTofHit * GetTofHitPointer(Int_t ind)
Double_t fDistance
PID hypothesis used for track extrapolation.