4 #include "TClonesArray.h"
6 #include "CbmEcalInf.h"
7 #include "CbmEcalStructure.h"
14 #include "FairRootManager.h"
15 #include "FairTrackParam.h"
21 : CbmEcalTrackExtrapolation(1)
22 , fTrackParamArray(NULL)
32 : CbmEcalTrackExtrapolation(verbose)
33 , fTrackParamArray(NULL)
48 CbmEcalTrackExtrapolation::Init();
50 FairRootManager* ioman = FairRootManager::Instance();
52 Fatal(
"CbmEcalTrackExtrapolationKF::Init()",
53 "Can't instantise Rootmanager");
56 fSTSArray = (TClonesArray*) ioman->GetObject(
"StsTrack");
58 cout <<
"-W- CbmEcalTrackExtrapolationKF::Init: No sts track array!"
66 TClonesArray* gTrackArray,
67 TClonesArray* fTrackParamArray_) {
68 if (!fTrackParamArray_) {
69 cout <<
"-E- CbmEcalTrackExtrapolationKF::DoExtrapolate: ";
70 cout <<
"TrackParamArray missing! " << endl;
75 cout <<
"-E- CbmEcalTrackExtrapolationKF::DoExtrapolate: ";
76 cout <<
"Track Array missing! " << endl;
81 Int_t n = gTrackArray->GetEntriesFast();
94 new ((*fTrackParamArray_)[nTr++]) FairTrackParam(trpar);