Geant4 VMC Version 6.7
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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)

◆ GetCrossSectionType() [2/2]

TG4CrossSectionType GetCrossSectionType ( G4String name)

Return the cross section type by name.

Definition at line 56 of file TG4CrossSectionType.cxx.