Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4RegionsMessenger.h
Go to the documentation of this file.
1#ifndef TG4_REGIONS_MESSENGER_H
2#define TG4_REGIONS_MESSENGER_H
3
4//------------------------------------------------
5// The Geant4 Virtual Monte Carlo package
6// Copyright (C) 2007 - 2014 Ivana Hrivnacova
7// All rights reserved.
8//
9// For the licensing terms see geant4_vmc/LICENSE.
10// Contact: root-vmc@cern.ch
11//-------------------------------------------------
12
17
18#include <G4UImessenger.hh>
19#include <globals.hh>
20
23
24class G4UIdirectory;
25class G4UIcmdWithADouble;
26class G4UIcmdWithAString;
27class G4UIcmdWithAnInteger;
28class G4UIcmdWithABool;
29
52
54{
55 public:
58 virtual ~TG4RegionsMessenger();
59
60 // methods
61 virtual void SetNewValue(G4UIcommand* command, G4String string);
62
63 private:
67
68 // methods
69 void CreateCommands();
70
71 // data members
74 G4UIdirectory* fDirectory = nullptr;
75
77 G4UIcmdWithABool* fSetCheckCmd = nullptr;
79 G4UIcmdWithABool* fSetPrintCmd = nullptr;
81 G4UIcmdWithABool* fSetSaveCmd = nullptr;
83 G4UIcmdWithAString* fSetFileNameCmd = nullptr;
84
85 // commands working only with old regions messenger
87 G4UIcmdWithAString* fDumpRegionCmd = nullptr;
89 G4UIcmdWithAnInteger* fSetRangePrecisionCmd = nullptr;
91 G4UIcmdWithADouble* fSetEnergyToleranceCmd = nullptr;
93 G4UIcmdWithABool* fApplyForGammaCmd = nullptr;
95 G4UIcmdWithABool* fApplyForElectronCmd = nullptr;
97 G4UIcmdWithABool* fApplyForPositronCmd = nullptr;
99 G4UIcmdWithABool* fApplyForProtonCmd = nullptr;
101 G4UIcmdWithABool* fSetLoadCmd = nullptr;
103 G4UIcmdWithABool* fSetFromG4TableCmd = nullptr;
104};
105
106#endif // TG4_RUN_MESSENGER_H
Manager class for setting VMC cuts in energy in G4 regions.
Manager class for converting VMC cuts in energy in G4 regions.
Messenger class that defines commands for TG4RegionsManager[2].
G4UIcmdWithAString * fSetFileNameCmd
command: /mcRegions/setFileName fileName
TG4RegionsManager * fRegionsManager
associated class
G4UIcmdWithABool * fApplyForPositronCmd
command: /mcRegions/applyForPositron true|false
G4UIcmdWithADouble * fSetEnergyToleranceCmd
command: /mcRegions/setEnergyTolerance value
G4UIcmdWithABool * fSetPrintCmd
command: /mcRegions/print [true|false]
G4UIcmdWithAnInteger * fSetRangePrecisionCmd
command: /mcRegions/setRangePrecision value
G4UIcmdWithAString * fDumpRegionCmd
command: /mcRegions/dump [lvName]
G4UIdirectory * fDirectory
command directory
G4UIcmdWithABool * fApplyForElectronCmd
command: /mcRegions/applyForElectron true|false
TG4RegionsMessenger & operator=(const TG4RegionsMessenger &right)=delete
G4UIcmdWithABool * fSetSaveCmd
command: /mcRegions/save [true|false]
G4UIcmdWithABool * fApplyForProtonCmd
command: /mcRegions/applyForProton true|false
TG4RegionsMessenger()=delete
G4UIcmdWithABool * fApplyForGammaCmd
command: /mcRegions/applyForGamma true|false
G4UIcmdWithABool * fSetLoadCmd
command: /mcRegions/load [true|false]
TG4RegionsManager2 * fRegionsManager2
associated class
virtual void SetNewValue(G4UIcommand *command, G4String string)
TG4RegionsMessenger(const TG4RegionsMessenger &right)=delete
G4UIcmdWithABool * fSetFromG4TableCmd
command: /mcRegions/fromG4Table [true|false]
G4UIcmdWithABool * fSetCheckCmd
command: /mcRegions/check [true|false]