Go to the documentation of this file.
11 #include "FairRootManager.h"
13 #include "TClonesArray.h"
44 FairRootManager*
rootMgr = FairRootManager::Instance();
46 cerr <<
"-E- CbmTrdTrackFitterIdeal::Init : "
47 <<
"ROOT manager is not instantiated!" << endl;
53 cout <<
"-W- CbmTrdTrackFitterIdeal::Init : "
54 <<
"no TRD point array!" << endl;
59 cout <<
"-W- CbmTrdTrackFitterIdeal::Init : "
60 <<
"no TRD hit array!" << endl;
73 if (hitIndex < 0)
return 0;
75 if (NULL == hit)
return 0;
77 if (pointIndex < 0)
return 0;
79 if (NULL == point)
return 0;
86 if (hitIndex < 0)
return 0;
88 if (NULL == hit)
return 0;
90 if (pointIndex < 0)
return 0;
92 if (NULL == point)
return 0;
104 FairTrackParam* trackParam) {
108 point->Position(
pos);
109 point->Momentum(mom);
110 trackParam->SetX(
pos.X());
111 trackParam->SetY(
pos.Y());
112 trackParam->SetZ(
pos.Z());
113 trackParam->SetTx(mom.X() / mom.Z());
114 trackParam->SetTy(mom.Y() / mom.Z());
virtual Int_t GetNofHits() const
static FairRootManager * rootMgr
data class for a reconstructed Energy-4D measurement in the TRD
TClonesArray * fArrayTrdHit
void SetParamLast(const FairTrackParam *par)
Int_t DoFit(CbmTrdTrack *pTrack)
TClonesArray * fArrayTrdPoint
Int_t GetHitIndex(Int_t iHit) const
Class for hits in TRD detector.
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
void SetParamFirst(const FairTrackParam *par)
void SetTrackParam(CbmTrdPoint *point, FairTrackParam *trackParam)
virtual ~CbmTrdTrackFitterIdeal()