]> git.uio.no Git - u/mrichter/AliRoot.git/blame - test/vmctest/ppbench/genConfig.C
Update timestamps for new AMANDA simulation (17/02/2015)
[u/mrichter/AliRoot.git] / test / vmctest / ppbench / genConfig.C
CommitLineData
e6dc94be 1// $Id$
2//
3// Configuration macro for primary event generation for ppbench test (in vmctest).
4//
5// By I. Hrivnacova, IPN Orsay
6
7void Config()
8{
9 cout << "Running genConfig.C ... " << endl;
10
11 // AliRoot setup
12 //
13 gROOT->LoadMacro("$ALICE_ROOT/test/vmctest/ppbench/commonConfig.C");
14 commonConfig(kFALSE);
15
16 // Load Geant3 + Geant3 VMC libraries
17 //
18#if defined(__CINT__)
19 gSystem->Load("libgeant321");
20#endif
21
22 // Create TGeant3
23 //
24 new TGeant3TGeo("C++ Interface to Geant3");
25
26 // AliRoot event generator
27 // (it has to be created after MC, as it may use decayer via VMC)
28 //
29 gROOT->LoadMacro("$ALICE_ROOT/test/vmctest/ppbench/genPPbenchConfig.C");
30 genGunConfig();
31
32 cout << "Running genConfig.C finished ... " << endl;
33}