//------------------------------------------------
// The Virtual Monte Carlo examples
// Copyright (C) 2007 - 2014 Ivana Hrivnacova
// All rights reserved.
//
// For the licensing terms see geant4_vmc/LICENSE.
// Contact: root-vmc@cern.ch
//-------------------------------------------------

/// \ingroup E03
/// \file E03/g3Config.C
/// \brief Configuration macro for Geant3 VirtualMC for Example03

void Config()
{
/// The configuration function for Geant3 VMC for Example03
/// called during MC application initialization.

  TGeant3* geant3
    = new  TGeant3("C++ Interface to Geant3");

  cout << "Geant3 has been created." << endl;

  gMC->SetProcess("DRAY",1);
  gMC->SetProcess("LOSS",1);
  gMC->SetProcess("HADR",0);
}


