Geant4 VMC Version 6.7
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
TG4G3Defaults.h
Go to the documentation of this file.
1#ifndef TG4_G3_DEFAULTS_H
2#define TG4_G3_DEFAULTS_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 "TG4G3Control.h"
19#include "TG4G3ControlVector.h"
20#include "TG4G3Cut.h"
21#include "TG4G3CutVector.h"
22
23#include <globals.hh>
24
32
34{
35 public:
38
39 // static access methods
40 static TG4G3Defaults* Instance();
41
42 // methods
43 G4bool IsDefaultCut(TG4G3Cut cut, G4double value) const;
44 G4bool IsDefaultControl(TG4G3Control control, TG4G3ControlValue value) const;
45
46 // get methods
47 G4double CutValue(G4int cut) const;
48 TG4G3ControlValue ControlValue(G4int control) const;
49
50 private:
55
56 // static data members
58
59 // data members
62};
63
64// inline methods
65
71
72#endif // ALI_G3_DEFAULTS_H
Definition of the TG4G3ControlVector class.
Definition of the enumerations TG4G3Control, TG4G3ControlValue.
Definition of the TG4G3CutVector class.
Definition of the enumeration TG4G3Cut.
Vector of control process values with convenient set/get methods.
Vector of kinetic energy cut values with convenient set/get methods.
TG4G3Defaults & operator=(const TG4G3Defaults &right)
Not implemented.
TG4G3CutVector fCutVector
vector of default cut values
static TG4G3Defaults * fgInstance
this instance
TG4G3Defaults(const TG4G3Defaults &right)
Not implemented.
static TG4G3Defaults * Instance()
G4bool IsDefaultCut(TG4G3Cut cut, G4double value) const
TG4G3ControlValue ControlValue(G4int control) const
G4double CutValue(G4int cut) const
G4bool IsDefaultControl(TG4G3Control control, TG4G3ControlValue value) const
TG4G3ControlVector fControlVector
vector of default control values
TG4G3ControlValue
Enumeration for G3 processes control values.
TG4G3Cut
Enumeration for G3 types of kinetic energy cuts.
Definition TG4G3Cut.h:22
TG4G3Control
Enumeration for G3 types of physics processes controls.