Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4GflashFastSimulationMessenger.cxx
Go to the documentation of this file.
1//------------------------------------------------
2// The Geant4 Virtual Monte Carlo package
3// Copyright (C) 2007 - 2015 Ivana Hrivnacova
4// All rights reserved.
5//
6// For the licensing terms see geant4_vmc/LICENSE.
7// Contact: root-vmc@cern.ch
8//-------------------------------------------------
9
14
17
18#include <G4UIcmdWithAString.hh>
19#include <G4UIdirectory.hh>
20
21//______________________________________________________________________________
23 TG4GflashFastSimulation* gflashFastSimulation)
24 : G4UImessenger(),
25 fGflashFastSimulation(gflashFastSimulation),
26 fSetGflashMaterialCmd(0)
27{
29
31 new G4UIcmdWithAString("/mcPhysics/setGflashMaterial", this);
32 fSetGflashMaterialCmd->SetGuidance(
33 "Set material for shower parameterisation");
34 fSetGflashMaterialCmd->SetParameterName("ExtDecayerSelection", false);
35 fSetGflashMaterialCmd->AvailableForStates(G4State_PreInit);
36}
37
38//______________________________________________________________________________
45
46//
47// public methods
48//
49
50//______________________________________________________________________________
52 G4UIcommand* command, G4String newValue)
53{
55
56 if (command == fSetGflashMaterialCmd) {
58 }
59}
Definition of the TG4GflashFastSimulationMessenger class.
Definition of the TG4GflashFastSimulation class.
G4UIcmdWithAString * fSetGflashMaterialCmd
setExtDecayerSelection command
virtual void SetNewValue(G4UIcommand *command, G4String string)
TG4GflashFastSimulation * fGflashFastSimulation
associated class
TG4GflashFastSimulationMessenger()
Not implemented.
Special class for definition of Gflash fast simulation model.
void SetMaterialName(const G4String &materialName)
Set the name of material for shower parameterisation.