Geant4 VMC Version 6.6
|
Definition of the enumeration TG4CrossSectionType. More...
#include <globals.hh>
Go to the source code of this file.
Enumerations | |
enum | TG4CrossSectionType { kElastic , kInelastic , kCapture , kFission , kChargeExchange , kNoCrossSectionType } |
Enumeration for cross section types. More... | |
Functions | |
G4String | TG4CrossSectionTypeName (G4int type) |
Return name for given cross section type. | |
TG4CrossSectionType | GetCrossSectionType (G4int type) |
Convert G4int to TG4CrossSectionType (for loops) | |
TG4CrossSectionType | GetCrossSectionType (G4String name) |
Return the cross section type by name. | |
Definition of the enumeration TG4CrossSectionType.
Definition in file TG4CrossSectionType.h.
G4String TG4CrossSectionTypeName | ( | G4int | type | ) |
Return name for given cross section type.
Definition at line 18 of file TG4CrossSectionType.cxx.
Referenced by GetCrossSectionType(), TG4CrossSectionManager::PrintCrossSection(), TG4CrossSectionManager::PrintCrossSections(), and TG4CrossSectionMessenger::TG4CrossSectionMessenger().
TG4CrossSectionType GetCrossSectionType | ( | G4int | type | ) |
Convert G4int to TG4CrossSectionType (for loops)
Definition at line 37 of file TG4CrossSectionType.cxx.
Referenced by TG4CrossSectionManager::PrintCrossSections(), and TG4CrossSectionMessenger::SetNewValue().
TG4CrossSectionType GetCrossSectionType | ( | G4String | name | ) |
Return the cross section type by name.
Definition at line 56 of file TG4CrossSectionType.cxx.