1 //____________________________________________________________________
5 // Script to generate cross-section tables for some particles in some
6 // mediums. The output is put in xsec.root.
8 // It uses the script GetXsection.C and Compile.C to compile the
9 // aforementioned script.
11 // Note, that VMC _must_ be the TGeant3TGeo VMC.
16 gROOT->ProcessLine(".x Compile.C(\"$(ALICE_ROOT)/FMD/scripts/GetXsection.C\"");
17 gAlice->InitMC("$(ALICE_ROOT)/FMD/Config.C");
18 TFile* file = TFile::Open("xsec.root", "RECREATE");
19 GetXsection("FMD_Si$", "pi+");
22 //____________________________________________________________________