ROOT logo
// $Id$
//
// Configuration macro for running aliroot with Geant3
// with primary events read from external file.
//
// By I. Hrivnacova, IPN Orsay

void Config()
{
  cout << "Running g3Config.C ... " << endl;

  // AliRoot setup
  //
  gROOT->LoadMacro("$ALICE_ROOT/test/vmctest/ppbench/commonConfig.C");
  commonConfig();

  // Load Geant3 + Geant3 VMC libraries
  //
#if defined(__CINT__)
    gSystem->Load("libgeant321");
#endif

  // Create TGeant3
  //  
  new  TGeant3TGeo("C++ Interface to Geant3");

  // AliRoot event generator
  // (it has to be created after MC, as it may use decayer via VMC)
  gROOT->LoadMacro("$ALICE_ROOT/test/vmctest/ppbench/genPPbenchConfig.C");
  gROOT->LoadMacro("$ALICE_ROOT/test/vmctest/ppbench/genExtFileConfig.C");
            // The event generator selection (srun) is done in genPPbenchConfig.C
            // thatīs why we have to load it too
  genExtFileConfig(srun);

  cout << "Running g3Config.C finished ... " << endl;
}  
 g3Config.C:1
 g3Config.C:2
 g3Config.C:3
 g3Config.C:4
 g3Config.C:5
 g3Config.C:6
 g3Config.C:7
 g3Config.C:8
 g3Config.C:9
 g3Config.C:10
 g3Config.C:11
 g3Config.C:12
 g3Config.C:13
 g3Config.C:14
 g3Config.C:15
 g3Config.C:16
 g3Config.C:17
 g3Config.C:18
 g3Config.C:19
 g3Config.C:20
 g3Config.C:21
 g3Config.C:22
 g3Config.C:23
 g3Config.C:24
 g3Config.C:25
 g3Config.C:26
 g3Config.C:27
 g3Config.C:28
 g3Config.C:29
 g3Config.C:30
 g3Config.C:31
 g3Config.C:32
 g3Config.C:33
 g3Config.C:34
 g3Config.C:35
 g3Config.C:36
 g3Config.C:37