Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

MaGeGeneratorPositionSampling Class Reference

#include <MaGeGeneratorPositionSampling.hh>

List of all members.

Public Member Functions

 MaGeGeneratorPositionSampling ()
 ~MaGeGeneratorPositionSampling ()
G4ThreeVector SampleUniformlyInVolume (G4String volName, G4int copynumber)
G4ThreeVector SampleOnSurface (G4String volName, G4int copynumber)
void SetGlobalTranslation (G4ThreeVector vect)
void SetGlobalRotation (G4RotationMatrix mat)
G4ThreeVector GetGlobalTranslation ()
G4RotationMatrix GetGlobalRotation ()

Private Member Functions

G4bool InitializeSamplingVolume ()
G4VPhysicalVolume * FindTheDirectMother (G4VPhysicalVolume *)

Private Attributes

G4String volumeName
MJGeneratorUtilgeneratorUtil
G4int copyNumber
G4Navigator * myNavigator
G4VPhysicalVolume * myVolume
G4RotationMatrix globalRotation
G4ThreeVector globalTranslation
G4double radius
G4GeometryType fSolid_type
G4double fSolid_par_arr [6]


Constructor & Destructor Documentation

MaGeGeneratorPositionSampling::MaGeGeneratorPositionSampling  ) 
 

Definition at line 43 of file MaGeGeneratorPositionSampling.cc.

References copyNumber, fSolid_type, generatorUtil, myNavigator, radius, and volumeName.

MaGeGeneratorPositionSampling::~MaGeGeneratorPositionSampling  ) 
 

Definition at line 55 of file MaGeGeneratorPositionSampling.cc.


Member Function Documentation

G4VPhysicalVolume * MaGeGeneratorPositionSampling::FindTheDirectMother G4VPhysicalVolume *   )  [private]
 

Definition at line 306 of file MaGeGeneratorPositionSampling.cc.

Referenced by InitializeSamplingVolume().

G4RotationMatrix MaGeGeneratorPositionSampling::GetGlobalRotation  )  [inline]
 

Definition at line 54 of file MaGeGeneratorPositionSampling.hh.

Referenced by SampleUniformlyInVolume().

G4ThreeVector MaGeGeneratorPositionSampling::GetGlobalTranslation  )  [inline]
 

Definition at line 53 of file MaGeGeneratorPositionSampling.hh.

Referenced by SampleUniformlyInVolume().

G4bool MaGeGeneratorPositionSampling::InitializeSamplingVolume  )  [private]
 

Definition at line 151 of file MaGeGeneratorPositionSampling.cc.

References copyNumber, FindTheDirectMother(), fSolid_par_arr, fSolid_type, MJLog, myNavigator, myVolume, radius, SetGlobalRotation(), SetGlobalTranslation(), and volumeName.

Referenced by SampleOnSurface(), and SampleUniformlyInVolume().

G4ThreeVector MaGeGeneratorPositionSampling::SampleOnSurface G4String  volName,
G4int  copynumber
 

Definition at line 266 of file MaGeGeneratorPositionSampling.cc.

References copyNumber, InitializeSamplingVolume(), MJLog, and volumeName.

Referenced by MJGeneratorPrimary::GeneratePrimaries().

G4ThreeVector MaGeGeneratorPositionSampling::SampleUniformlyInVolume G4String  volName,
G4int  copynumber
 

Definition at line 60 of file MaGeGeneratorPositionSampling.cc.

References copyNumber, fSolid_par_arr, fSolid_type, generatorUtil, GetGlobalRotation(), GetGlobalTranslation(), InitializeSamplingVolume(), MJLog, myNavigator, MJGeneratorUtil::pick_point_in_annulus(), MJGeneratorUtil::pick_point_in_box(), MJGeneratorUtil::pick_point_in_sphere(), radius, and volumeName.

Referenced by MJGeneratorPrimary::GeneratePrimaries().

void MaGeGeneratorPositionSampling::SetGlobalRotation G4RotationMatrix  mat  )  [inline]
 

Definition at line 52 of file MaGeGeneratorPositionSampling.hh.

Referenced by InitializeSamplingVolume().

void MaGeGeneratorPositionSampling::SetGlobalTranslation G4ThreeVector  vect  )  [inline]
 

Definition at line 51 of file MaGeGeneratorPositionSampling.hh.

Referenced by InitializeSamplingVolume().


Member Data Documentation

G4int MaGeGeneratorPositionSampling::copyNumber [private]
 

Definition at line 60 of file MaGeGeneratorPositionSampling.hh.

Referenced by InitializeSamplingVolume(), MaGeGeneratorPositionSampling(), SampleOnSurface(), and SampleUniformlyInVolume().

G4double MaGeGeneratorPositionSampling::fSolid_par_arr[6] [private]
 

Definition at line 71 of file MaGeGeneratorPositionSampling.hh.

Referenced by InitializeSamplingVolume(), and SampleUniformlyInVolume().

G4GeometryType MaGeGeneratorPositionSampling::fSolid_type [private]
 

Definition at line 70 of file MaGeGeneratorPositionSampling.hh.

Referenced by InitializeSamplingVolume(), MaGeGeneratorPositionSampling(), and SampleUniformlyInVolume().

MJGeneratorUtil* MaGeGeneratorPositionSampling::generatorUtil [private]
 

Definition at line 58 of file MaGeGeneratorPositionSampling.hh.

Referenced by MaGeGeneratorPositionSampling(), and SampleUniformlyInVolume().

G4RotationMatrix MaGeGeneratorPositionSampling::globalRotation [private]
 

Definition at line 65 of file MaGeGeneratorPositionSampling.hh.

G4ThreeVector MaGeGeneratorPositionSampling::globalTranslation [private]
 

Definition at line 66 of file MaGeGeneratorPositionSampling.hh.

G4Navigator* MaGeGeneratorPositionSampling::myNavigator [private]
 

Definition at line 62 of file MaGeGeneratorPositionSampling.hh.

Referenced by InitializeSamplingVolume(), MaGeGeneratorPositionSampling(), and SampleUniformlyInVolume().

G4VPhysicalVolume* MaGeGeneratorPositionSampling::myVolume [private]
 

Definition at line 63 of file MaGeGeneratorPositionSampling.hh.

Referenced by InitializeSamplingVolume().

G4double MaGeGeneratorPositionSampling::radius [private]
 

Definition at line 68 of file MaGeGeneratorPositionSampling.hh.

Referenced by InitializeSamplingVolume(), MaGeGeneratorPositionSampling(), and SampleUniformlyInVolume().

G4String MaGeGeneratorPositionSampling::volumeName [private]
 

Definition at line 57 of file MaGeGeneratorPositionSampling.hh.

Referenced by InitializeSamplingVolume(), MaGeGeneratorPositionSampling(), SampleOnSurface(), and SampleUniformlyInVolume().


The documentation for this class was generated from the following files:
Generated on Mon Nov 29 16:58:55 2004 for Majorana Simulation by  doxygen 1.3.9.1