VMC Examples Version 6.6
Loading...
Searching...
No Matches
load_g4.C
Go to the documentation of this file.
1//------------------------------------------------
2// The Virtual Monte Carlo examples
3// Copyright (C) 2007 - 2016 Ivana Hrivnacova
4// All rights reserved.
5//
6// For the licensing terms see geant4_vmc/LICENSE.
7// Contact: root-vmc@cern.ch
8//-------------------------------------------------
9
10/// \ingroup ExGarfield
11/// \file ExGarfield/run_g4.C
12/// \brief Macro for loading libraries to run Example ExGarfield with Geant4.
13
14#include "../macro/g4libs.C"
15
16void load_g4()
17{
18 // Load Geant4 + VMC libraries
19 g4libs();
20
21 // Load Garfield library
22 gSystem->Load("libGarfield");
23
24 // Load this example library
25 gSystem->Load("libvmc_ExGarfield");
26
27 // Load library with a user run configuration
28 gSystem->Load("libgeant4_ExGarfield");
29}
void load_g4()
Definition load_g4.C:16
Macro for loading Geant4 and Geant4 VMC libraries.
void g4libs()
Definition g4libs.C:135