REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Private Attributes | Friends
TRestGeant4PrimaryGeneratorInfo Class Reference

Detailed Description

Definition at line 93 of file TRestGeant4PrimaryGeneratorInfo.h.

Public Member Functions

Double_t GetSpatialGeneratorCosmicRadius () const
 Returns cosmic generator radius (mm)
 
Double_t GetSpatialGeneratorCosmicSurfaceTermCm2 () const
 Returns cosmic surface term (cm2) for simulation time computation.
 
TString GetSpatialGeneratorFrom () const
 Returns the name of the GDML volume where primary events are produced. This value has meaning only when using volume or surface generator types.
 
TVector3 GetSpatialGeneratorPosition () const
 Returns a 3d-std::vector with the position of the primary event generator. This value has meaning only when using point and virtual generator types.
 
TVector3 GetSpatialGeneratorRotationAxis () const
 Returns a 3d-std::vector, fGenRotation, with the XYZ rotation angle values in degrees. This value is used by virtualWall, virtualCircleWall and virtualCylinder generator types.
 
Double_t GetSpatialGeneratorRotationValue () const
 Returns the degree of rotation.
 
TString GetSpatialGeneratorShape () const
 Returns a std::string specifying the generator shape (point, wall, box, etc )
 
TVector3 GetSpatialGeneratorSize () const
 Returns the main spatial dimension of virtual generator. It is the size of a virtualBox.
 
TString GetSpatialGeneratorSpatialDensityFunction () const
 Returns the density function of the generator.
 
TString GetSpatialGeneratorType () const
 Returns a std::string specifying the generator type (volume, surface, point, virtualWall, etc )
 
TVector3 GetSpatialGeneratorWorldSize () const
 
void Print () const
 

Private Attributes

TString fSpatialGeneratorFrom
 The volume name where the events are generated, in case of volume or surface generator types.
 
TVector3 fSpatialGeneratorPosition
 The position of the generator for virtual, and point, generator types.
 
TVector3 fSpatialGeneratorRotationAxis
 A 3d-std::vector with the angles, measured in degrees, of a XYZ rotation applied to the virtual generator. This rotation is used by virtualWall, virtualCircleWall and virtualCylinder generators.
 
Double_t fSpatialGeneratorRotationValue = 0
 degrees of rotation for generator virtual shape along the axis
 
TString fSpatialGeneratorShape
 Shape of spatial generator (wall, GDML, sphere, etc)
 
TVector3 fSpatialGeneratorSize
 The size of the generator. Stores up to three dimensions according to the shape box: length, width, height sphere: radius wall: length, width circle: radius cylinder: radius, length.
 
TString fSpatialGeneratorSpatialDensityFunction
 Defines density distribution of the generator shape. rho=F(x,y,z), in range 0~1.
 
TString fSpatialGeneratorType = "point"
 Type of spatial generator (point, surface, volume, custom)
 
TVector3 fSpatialGeneratorWorldSize
 The size of the world volume (box half lengths for x, y and z)
 

Friends

class DetectorConstruction
 
class TRestGeant4Metadata
 

The documentation for this class was generated from the following files: