ROOT logo
void AliTOFtestPID(TString fileNameMatch, TString fileNameCuts) 
{
  /////////////////////////////////////////////////////////////////////////
  //
  // Test macro for TOF PID 
  // Author: F. Pierella
  // Report problems to pierella@bo.infn.it
  // input filenames:
  // fileNameMatch -> file with the result of matching
  // fileNameCuts  -> file containing the graphical cuts
  //
  // Use case:
  // start root
  // // load the macro
  // root[0] .L AliTOFtestPID.C
  // root[1] AliTOFtestPID("match-6KevPYTHIA-0.2T.root","stdCutspp.root")
  /////////////////////////////////////////////////////////////////////////

  // Dynamically link some shared libs
  if (gClassTable->GetID("AliRun") < 0) {
    gROOT->LoadMacro("loadlibs.C");
    loadlibs();
    cout << "Loaded shared libraries" << endl;
  }
  
  AliTOFPID* tofpid=new AliTOFPID(fileNameMatch.Data(),fileNameCuts.Data());
  // make a choice: uncomment one of these lines and try
  // tofpid->Exec("pp","visual","asC");
  // tofpid->Exec("pp","novisual","asC");
  // tofpid->Exec("Pb-Pb","visual","asC");
  // e.g. for p-p events
  tofpid->Exec("pp","visual","asC");
  //tofpid->Exec("pp","novisual","asEPS");
}
 AliTOFtestPID.C:1
 AliTOFtestPID.C:2
 AliTOFtestPID.C:3
 AliTOFtestPID.C:4
 AliTOFtestPID.C:5
 AliTOFtestPID.C:6
 AliTOFtestPID.C:7
 AliTOFtestPID.C:8
 AliTOFtestPID.C:9
 AliTOFtestPID.C:10
 AliTOFtestPID.C:11
 AliTOFtestPID.C:12
 AliTOFtestPID.C:13
 AliTOFtestPID.C:14
 AliTOFtestPID.C:15
 AliTOFtestPID.C:16
 AliTOFtestPID.C:17
 AliTOFtestPID.C:18
 AliTOFtestPID.C:19
 AliTOFtestPID.C:20
 AliTOFtestPID.C:21
 AliTOFtestPID.C:22
 AliTOFtestPID.C:23
 AliTOFtestPID.C:24
 AliTOFtestPID.C:25
 AliTOFtestPID.C:26
 AliTOFtestPID.C:27
 AliTOFtestPID.C:28
 AliTOFtestPID.C:29
 AliTOFtestPID.C:30
 AliTOFtestPID.C:31
 AliTOFtestPID.C:32
 AliTOFtestPID.C:33
 AliTOFtestPID.C:34
 AliTOFtestPID.C:35