ROOT logo
//____________________________________________________________________
//
// $Id$
//
// Script to generate cross-section tables for some particles in some
// mediums.   The output is put in xsec.root. 
// 
// It uses the script GetXsection.C and Compile.C to compile the
// aforementioned script. 
//
// Note, that VMC _must_ be the TGeant3TGeo VMC. 
//
void
MakeXsection()
{
  gROOT->ProcessLine(".x Compile.C(\"$(ALICE_ROOT)/FMD/scripts/GetXsection.C\"");
  gAlice->InitMC("$(ALICE_ROOT)/FMD/Config.C");
  TFile* file = TFile::Open("xsec.root", "RECREATE");
  GetXsection("FMD_Si$", "pi+");
  file->Close();
}
//____________________________________________________________________
//
// EOF
// 

 MakeXsection.C:1
 MakeXsection.C:2
 MakeXsection.C:3
 MakeXsection.C:4
 MakeXsection.C:5
 MakeXsection.C:6
 MakeXsection.C:7
 MakeXsection.C:8
 MakeXsection.C:9
 MakeXsection.C:10
 MakeXsection.C:11
 MakeXsection.C:12
 MakeXsection.C:13
 MakeXsection.C:14
 MakeXsection.C:15
 MakeXsection.C:16
 MakeXsection.C:17
 MakeXsection.C:18
 MakeXsection.C:19
 MakeXsection.C:20
 MakeXsection.C:21
 MakeXsection.C:22
 MakeXsection.C:23
 MakeXsection.C:24
 MakeXsection.C:25
 MakeXsection.C:26
 MakeXsection.C:27