|
Geant4 VMC Version 6.7
|
Manager class for setting VMC cuts in energy in G4 regions. More...
#include <TG4RegionsManager2.h>

Public Member Functions | |
| TG4RegionsManager2 () | |
| ~TG4RegionsManager2 () override=default | |
| void | DefineRegions () override |
| void | UpdateProductionCutsTable () override |
Public Member Functions inherited from TG4VRegionsManager | |
| TG4VRegionsManager () | |
| virtual | ~TG4VRegionsManager () |
| virtual void | CheckRegions () const |
| virtual void | PrintRegions (std::ostream &output) const |
| virtual void | SaveRegions () |
| virtual void | DumpRegionStore () const |
| void | SetFileName (const G4String &fileName) |
| Set the file name for regions output. | |
| void | SetApplyForGamma (G4bool applyForGamma) |
| Set the option to apply range cuts for gamma (default is true) | |
| void | SetApplyForElectron (G4bool applyForElectron) |
| Set the option to apply range cuts for e- (default is true) | |
| void | SetApplyForPositron (G4bool applyForPositron) |
| Set the option to apply range cuts for e+ (default is true) | |
| void | SetApplyForProton (G4bool applyForProton) |
| Set the option to apply range cuts for proton (default is true) | |
| void | SetCheck (G4bool isCheck) |
| Set the option to perform consistency check (by default false) | |
| void | SetPrint (G4bool isPrint) |
| Set the option to print all regions. | |
| void | SetSave (G4bool isSave) |
| Set the option to save all regions in a file. | |
| G4String | GetFileName () const |
| Return the file name for regions output. | |
| G4bool | GetApplyForGamma () const |
| Return the option to apply range cuts for gamma. | |
| G4bool | GetApplyForElectron () const |
| Return the option to apply range cuts for e+. | |
| G4bool | GetApplyForPositron () const |
| Return the option to apply range cuts for positron. | |
| G4bool | GetApplyForProton () const |
| Return the option to apply range cuts for proton. | |
| G4bool | IsCheck () const |
| Return the option to perform consistency check. | |
| G4bool | IsPrint () const |
| Return the option to print all regions. | |
| G4bool | IsSave () const |
| Return option to save all regions in a file. | |
Public Member Functions inherited from TG4Verbose | |
| TG4Verbose (const G4String &cmdName) | |
| TG4Verbose (const G4String &cmdName, G4int verboseLevel) | |
| virtual | ~TG4Verbose () |
| virtual void | VerboseLevel (G4int level) |
| virtual G4int | VerboseLevel () const |
Private Member Functions | |
| TG4RegionsManager2 (const TG4RegionsManager2 &right)=delete | |
| TG4RegionsManager2 & | operator= (const TG4RegionsManager2 &right)=delete |
Private Attributes | |
| TG4RegionsMessenger | fMessenger |
| messenger | |
Additional Inherited Members | |
Static Public Member Functions inherited from TG4VRegionsManager | |
| static TG4VRegionsManager * | Instance () |
| Return the singleton instance. | |
Protected Types inherited from TG4VRegionsManager | |
| using | TG4RegionData = std::array<G4double, fgkValuesSize> |
Protected Member Functions inherited from TG4VRegionsManager | |
| TG4VRegionsManager (const TG4VRegionsManager &right)=delete | |
| TG4VRegionsManager & | operator= (const TG4VRegionsManager &right)=delete |
| G4double | GetGlobalEnergyCut (TG4G3Cut cutType) const |
| G4double | GetEnergyCut (TG4Limits *limits, TG4G3Cut cutType, G4double globalCutValue) const |
| G4bool | IsCoupleUsedInTheRegion (const G4MaterialCutsCouple *couple, const G4Region *region) const |
| void | CheckRegionsInGeometry () const |
| void | PrintLegend (std::ostream &output) const |
| void | PrintRegionData (std::ostream &output, const G4String &matName, const TG4RegionData &values) const |
| void | PrintFromG4Table (std::ostream &output) const |
Protected Attributes inherited from TG4VRegionsManager | |
| G4String | fFileName |
| file name for regions output | |
| G4bool | fApplyForGamma = true |
| option to apply cuts for gamma (default is true) | |
| G4bool | fApplyForElectron = true |
| option to apply cuts for e- (default is true) | |
| G4bool | fApplyForPositron = true |
| option to apply cuts for e+ (default is true) | |
| G4bool | fApplyForProton = true |
| option to apply cuts for proton (default is true) | |
| G4bool | fIsCheck = false |
| option to perform consistency check (by default false) | |
| G4bool | fIsPrint = false |
| option to print all regions | |
| G4bool | fIsSave = false |
| option to save all regions in a file | |
Static Protected Attributes inherited from TG4VRegionsManager | |
| static constexpr size_t | fgkRangeGamIdx = 0 |
| static constexpr size_t | fgkRangeEleIdx = 1 |
| static constexpr size_t | fgkCutGamIdx = 2 |
| static constexpr size_t | fgkCutEleIdx = 3 |
| static constexpr size_t | fgkVmcCutGamIdx = 4 |
| static constexpr size_t | fgkVmcCutEleIdx = 5 |
| static constexpr size_t | fgkValuesSize = 6 |
| static TG4VRegionsManager * | fgInstance = nullptr |
| the singleton instance | |
| static const G4String | fgkDefaultRegionName |
| the name of the region with default cuts | |
| static const G4String | fgkDefaultFileName = "regions.dat" |
| the name of the region with default cuts | |
Manager class for setting VMC cuts in energy in G4 regions.
The VMC cuts in energy can be defined via the following TVirtulaMC functions:
The TG4RegionsManager2 class defines regions with production cuts corresponding to the VMC energy cuts set by user in two steps:
User can select several levels of verbosity; the following information is then printed:
Definition at line 53 of file TG4RegionsManager2.h.
| TG4RegionsManager2::TG4RegionsManager2 | ( | ) |
Definition at line 31 of file TG4RegionsManager2.cxx.
Referenced by operator=(), and TG4RegionsManager2().
|
overridedefault |
|
privatedelete |
|
overridevirtual |
Define regions according to tracking media
Implements TG4VRegionsManager.
Definition at line 40 of file TG4RegionsManager2.cxx.
|
overridevirtual |
Update production cuts table according to stored region information
Implements TG4VRegionsManager.
Definition at line 140 of file TG4RegionsManager2.cxx.
|
privatedelete |
|
private |