New macros
[u/mrichter/AliRoot.git] / ITS / AliTPCTracking4ITS.C
CommitLineData
af8e1c2d 1void AliTPCTracking4ITS( Int_t N =-1 )
2{
3 // Dynamically link some shared libs
4/* gROOT->LoadMacro("loadlibs.C");
5 loadlibs();
6
7// Connect the Root Galice file containing Geometry, Kine and Hits
8 TFile *in=TFile::Open("galice.root");
9 if (!in->IsOpen()) {cerr<<"Can't open galice.root !\n"; return;}
10
11 if (!(gAlice=(AliRun*)in->Get("gAlice"))) {
12 cerr<<"gAlice have not been found on galice.root !\n";
13 return;
14 }
15
16 if (N < 0 ) N = (Int_t)gAlice->TreeE()->GetEntries();
17 cout<<endl<<N<<" EVENTS FOUND"<<endl;
18 */
19
20 cout<<"Running AliBarrelReconstruction4ITS.C ...\n";
21 gROOT->LoadMacro("$ALICE_ROOT/ITS/AliBarrelReconstruction4ITS.C");
22 AliBarrelReconstruction4ITS(N);
23
24 cout<<"Running AliTPCComparison4ITS.C ...\n";
25 gROOT->LoadMacro("$ALICE_ROOT/ITS/AliTPCComparison4ITS.C");
26 AliTPCComparison4ITS(N);
27
28
29 }