1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
20 /// \brief Configuration macro for MUON spectrometer Geant3 simulation
22 void Config(const char* directory="",
23 const char* option="param",
24 const char* digitstore="AliMUONDigitStoreV2S",
25 bool forEmbedding=kFALSE)
27 cout << "Running g3Config.C ... " << endl;
31 gROOT->LoadMacro("$ALICE_ROOT/MUON/commonConfig.C");
32 commonConfig(directory, digitstore, forEmbedding);
34 // Load Geant3 + Geant3 VMC libraries
37 gSystem->Load("libgeant321");
42 new TGeant3TGeo("C++ Interface to Geant3");
44 // AliRoot event generator
45 // (it has to be created after MC, as it may use decayer via VMC)
47 gROOT->LoadMacro("$ALICE_ROOT/MUON/genTestConfig.C");
52 //gROOT->LoadMacro("$ALICE_ROOT/MUON/genExtFileConfig.C");
56 cout << "Running g3Config.C finished ... " << endl;