Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4CrossSectionType.cxx File Reference

Definition of the enumeration TG4CrossSectionType. More...

Go to the source code of this file.

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.
 

Detailed Description

Definition of the enumeration TG4CrossSectionType.

Author
I. Hrivnacova; IPN, Orsay

Definition in file TG4CrossSectionType.cxx.

Function Documentation

◆ TG4CrossSectionTypeName()

G4String TG4CrossSectionTypeName ( G4int type)

◆ GetCrossSectionType() [1/2]

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().

◆ GetCrossSectionType() [2/2]

TG4CrossSectionType GetCrossSectionType ( G4String name)

Return the cross section type by name.

Definition at line 56 of file TG4CrossSectionType.cxx.