3 #include "AliITStrackerV2.h"
6 #include "TStopwatch.h"
9 Int_t AliITSPropagateBackV2() {
10 cerr<<"Propagating tracks back through the ITS...\n";
12 TFile *in=TFile::Open("AliITStracksV2.root");
13 if (!in->IsOpen()) {cerr<<"Can't open AliITStracksV2.root !\n"; return 1;}
15 TFile *out=TFile::Open("AliTPCtracks.root","update");
17 cerr<<"Can't open AliTPCtracks.root !\n"; return 2;
19 TFile *file=TFile::Open("AliITSclustersV2.root");
20 if (!file->IsOpen()) {
21 cerr<<"Can't open AliITSclustersV2.root !\n";return 3;
23 AliITSgeom *geom=(AliITSgeom*)file->Get("AliITSgeom");
26 AliITStrackerV2 tracker(geom);
27 Int_t rc=tracker.PropagateBack(in,out);
28 timer.Stop(); timer.Print();