1 void AliTOFtestPID(TString fileNameMatch, TString fileNameCuts)
3 /////////////////////////////////////////////////////////////////////////
5 // Test macro for TOF PID
7 // Report problems to pierella@bo.infn.it
9 // fileNameMatch -> file with the result of matching
10 // fileNameCuts -> file containing the graphical cuts
15 // root[0] .L AliTOFtestPID.C
16 // root[1] AliTOFtestPID("match-6KevPYTHIA-0.2T.root","stdCutspp.root")
17 /////////////////////////////////////////////////////////////////////////
19 // Dynamically link some shared libs
20 if (gClassTable->GetID("AliRun") < 0) {
21 gROOT->LoadMacro("loadlibs.C");
23 cout << "Loaded shared libraries" << endl;
26 AliTOFPID* tofpid=new AliTOFPID(fileNameMatch.Data(),fileNameCuts.Data());
27 // make a choice: uncomment one of these lines and try
28 // tofpid->Exec("pp","visual","asC");
29 // tofpid->Exec("pp","novisual","asC");
30 // tofpid->Exec("Pb-Pb","visual","asC");
31 // e.g. for p-p events
32 tofpid->Exec("pp","visual","asC");
33 //tofpid->Exec("pp","novisual","asEPS");