VMC Examples Version 6.6
Loading...
Searching...
No Matches
RunConfiguration.cxx
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/// \file ExGarfield/geant4/src/RunConfiguration.cxx
11/// \brief Implementation of the ExGarfield::RunConfiguration class
12///
13/// Garfield garfieldpp example adapted to Virtual Monte Carlo.
14///
15/// \date 28/10/2015
16/// \author I. Hrivnacova; IPN, Orsay
17
18#include "RunConfiguration.h"
19#include "FastSimulation.h"
20
21namespace VMC
22{
23namespace ExGarfield
24{
25
26//_____________________________________________________________________________
27RunConfiguration::RunConfiguration(const TString& geometry,
28 const TString& physicsList, const TString& specialProcess)
29 : TG4RunConfiguration(geometry, physicsList, specialProcess, false, false)
30{
31 /// Standard constructor
32 /// \param geometry Selection of geometry option
33 /// \param physicsList Selection of physics
34 /// \param specialProcess Selection of the special processes
35}
36
37//_____________________________________________________________________________
39{
40 /// Destructor
41}
42
43//
44// protected methods
45//
46
47//_____________________________________________________________________________
49{
50 /// Create Garfield fast simulation model
51
52 G4cout << "Going to create FastSimulation" << G4endl;
53
54 return new FastSimulation();
55}
56
57} // namespace ExGarfield
58} // namespace VMC
Definition of the ExGarfield::FastSimulation class.
Definition of the ExGarfield::RunConfiguration class.
Special class for definition of fast simulation models.
virtual TG4VUserFastSimulation * CreateUserFastSimulation()
RunConfiguration(const TString &geometry, const TString &physicsList="FTFP_BERT", const TString &specialProcess="stepLimiter")