]>
Commit | Line | Data |
---|---|---|
72b127a8 | 1 | void AliTOFtestProb(TString fileNameMatch) |
2 | { | |
3 | ///////////////////////////////////////////////////////////////////////// | |
4 | // | |
5 | // Test macro for TOF Prob | |
6 | // Author: F. Pierella | |
7 | // Report problems to pierella@bo.infn.it | |
8 | // input filenames: | |
9 | // fileNameMatch -> file with the result of matching | |
10 | // | |
11 | // Use case: | |
12 | // start root | |
13 | // // load the macro | |
14 | // root[0] .L AliTOFtestProb.C | |
15 | // root[1] AliTOFtestProb("match-6KevPYTHIA-0.2T.root") | |
16 | ///////////////////////////////////////////////////////////////////////// | |
17 | ||
18 | // Dynamically link some shared libs | |
19 | if (gClassTable->GetID("AliRun") < 0) { | |
20 | gROOT->LoadMacro("loadlibs.C"); | |
21 | loadlibs(); | |
22 | cout << "Loaded shared libraries" << endl; | |
23 | } | |
24 | ||
25 | AliTOFProb* tofprob=new AliTOFProb(fileNameMatch.Data()); | |
26 | tofprob->Exec(""); | |
27 | } |