21#include <G4VProcess.hh>
48 : fControlVector(right.fControlVector.size())
73 if (
this == &right)
return *
this;
91 "TG4G3ControlVector",
"operator[]",
"Index out of the vector scope");
231 if (control ==
kDRAY) {
234 "TG4Limits",
"SetG3Control",
"Cannot set DRAY=1 when LOSS=2.");
267 G4bool result =
false;
302 std::ostringstream tmpStream;
304 std::strstream tmpStream;
307 tmpStream <<
" G3 control vector:" << G4endl;
314 return tmpStream.str();
Definition of the TG4G3ControlVector class.
Definition of the TG4G3CutVector class.
Definition of the TG4G3Defaults class.
Definition of the TG4Globals class and basic container types.
Definition of the TG4ProcessMap class.
Vector of control process values with convenient set/get methods.
TG4G3ControlVector & operator=(const TG4G3ControlVector &right)
static const G4String & GetControlName(TG4G3Control control)
TG4G3ControlValue operator[](G4int index) const
static TG4G3Control GetControl(const G4String &controlName)
G4bool Update(const TG4G3ControlVector &vector)
TG4ControlValueVector fControlVector
vector of control process values
G4bool SetControl(TG4G3Control control, TG4G3ControlValue controlValue, TG4G3CutVector &cuts)
static TG4StringVector fgControlNameVector
vector of control parameters names
static void FillControlNameVector()
static TG4G3ControlValue GetControlValue(G4int value, TG4G3Control control)
Vector of kinetic energy cut values with convenient set/get methods.
void SetDeltaRaysOn(G4bool value)
static TG4G3Defaults * Instance()
TG4G3ControlValue ControlValue(G4int control) const
static void Warning(const TString &className, const TString &methodName, const TString &text)
static void Exception(const TString &className, const TString &methodName, const TString &text)
TG4G3Control GetControl(const G4VProcess *process) const
static TG4ProcessMap * Instance()
std::vector< G4String > TG4StringVector
TG4G3ControlValue
Enumeration for G3 processes control values.
TG4G3Control
Enumeration for G3 types of physics processes controls.
@ kInActivate
process is not activated
@ kActivate
process is activated WITH generation of secondaries
@ kUnsetControlValue
value not set
@ kActivate2
process is activated WITHOUT generation of secondaries
@ kNoG3Controls
No process control.