Geant4  10.00.p03
G4MaterialScanner Class Reference

#include <G4MaterialScanner.hh>

+ Collaboration diagram for G4MaterialScanner:

Public Member Functions

 G4MaterialScanner ()
 
 ~G4MaterialScanner ()
 
void Scan ()
 
void SetEyePosition (const G4ThreeVector &val)
 
G4ThreeVector GetEyePosition () const
 
void SetNTheta (G4int val)
 
G4int GetNTheta () const
 
void SetThetaMin (G4double val)
 
G4double GetThetaMin () const
 
void SetThetaSpan (G4double val)
 
G4double GetThetaSpan () const
 
void SetNPhi (G4int val)
 
G4int GetNPhi () const
 
void SetPhiMin (G4double val)
 
G4double GetPhiMin () const
 
void SetPhiSpan (G4double val)
 
G4double GetPhiSpan () const
 
void SetRegionSensitive (G4bool val=true)
 
G4bool GetRegionSensitive () const
 
G4bool SetRegionName (const G4String &val)
 
G4String GetRegionName () const
 

Private Member Functions

void DoScan ()
 
void StoreUserActions ()
 
void RestoreUserActions ()
 

Private Attributes

G4RayShootertheRayShooter
 
G4MatScanMessengertheMessenger
 
G4EventManagertheEventManager
 
G4UserEventActiontheUserEventAction
 
G4UserStackingActiontheUserStackingAction
 
G4UserTrackingActiontheUserTrackingAction
 
G4UserSteppingActiontheUserSteppingAction
 
G4UserEventActiontheMatScannerEventAction
 
G4UserStackingActiontheMatScannerStackingAction
 
G4UserTrackingActiontheMatScannerTrackingAction
 
G4MSSteppingActiontheMatScannerSteppingAction
 
G4ThreeVector eyePosition
 
G4int nTheta
 
G4double thetaMin
 
G4double thetaSpan
 
G4int nPhi
 
G4double phiMin
 
G4double phiSpan
 
G4ThreeVector eyeDirection
 
G4bool regionSensitive
 
G4String regionName
 
G4RegiontheRegion
 

Detailed Description

Definition at line 54 of file G4MaterialScanner.hh.

Constructor & Destructor Documentation

G4MaterialScanner::G4MaterialScanner ( )
G4MaterialScanner::~G4MaterialScanner ( )

Definition at line 80 of file G4MaterialScanner.cc.

References theMatScannerSteppingAction, theMessenger, and theRayShooter.

Member Function Documentation

G4ThreeVector G4MaterialScanner::GetEyePosition ( ) const
inline

Definition at line 106 of file G4MaterialScanner.hh.

References eyePosition.

Referenced by G4MatScanMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4int G4MaterialScanner::GetNPhi ( ) const
inline

Definition at line 114 of file G4MaterialScanner.hh.

References nPhi.

Referenced by G4MatScanMessenger::GetCurrentValue(), and G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

G4int G4MaterialScanner::GetNTheta ( ) const
inline

Definition at line 108 of file G4MaterialScanner.hh.

References nTheta.

Referenced by G4MatScanMessenger::GetCurrentValue(), and G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

G4double G4MaterialScanner::GetPhiMin ( ) const
inline

Definition at line 116 of file G4MaterialScanner.hh.

References phiMin.

Referenced by G4MatScanMessenger::GetCurrentValue(), and G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

G4double G4MaterialScanner::GetPhiSpan ( ) const
inline

Definition at line 118 of file G4MaterialScanner.hh.

References phiSpan.

Referenced by G4MatScanMessenger::GetCurrentValue(), and G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

G4String G4MaterialScanner::GetRegionName ( ) const
inline

Definition at line 122 of file G4MaterialScanner.hh.

References regionName.

Referenced by G4MatScanMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4bool G4MaterialScanner::GetRegionSensitive ( ) const
inline

Definition at line 120 of file G4MaterialScanner.hh.

References regionSensitive.

Referenced by G4MatScanMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4double G4MaterialScanner::GetThetaMin ( ) const
inline

Definition at line 110 of file G4MaterialScanner.hh.

References thetaMin.

Referenced by G4MatScanMessenger::GetCurrentValue(), and G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

G4double G4MaterialScanner::GetThetaSpan ( ) const
inline

Definition at line 112 of file G4MaterialScanner.hh.

References thetaSpan.

Referenced by G4MatScanMessenger::GetCurrentValue(), and G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4MaterialScanner::RestoreUserActions ( )
private

Definition at line 125 of file G4MaterialScanner.cc.

References G4SDManager::Activate(), G4SDManager::GetSDMpointerIfExist(), G4EventManager::SetUserAction(), theEventManager, theUserEventAction, theUserStackingAction, theUserSteppingAction, and theUserTrackingAction.

Referenced by Scan().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4MaterialScanner::Scan ( )

Definition at line 87 of file G4MaterialScanner.cc.

References DoScan(), G4cerr, G4endl, G4State_Idle, G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), RestoreUserActions(), StoreUserActions(), and theMatScannerSteppingAction.

Referenced by G4MatScanMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4MaterialScanner::SetEyePosition ( const G4ThreeVector val)
inline

Definition at line 105 of file G4MaterialScanner.hh.

Referenced by G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4MaterialScanner::SetNPhi ( G4int  val)
inline

Definition at line 113 of file G4MaterialScanner.hh.

Referenced by G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4MaterialScanner::SetNTheta ( G4int  val)
inline

Definition at line 107 of file G4MaterialScanner.hh.

Referenced by G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4MaterialScanner::SetPhiMin ( G4double  val)
inline

Definition at line 115 of file G4MaterialScanner.hh.

Referenced by G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4MaterialScanner::SetPhiSpan ( G4double  val)
inline

Definition at line 117 of file G4MaterialScanner.hh.

Referenced by G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

G4bool G4MaterialScanner::SetRegionName ( const G4String val)

Definition at line 213 of file G4MaterialScanner.cc.

References G4cerr, G4endl, G4RegionStore::GetInstance(), G4RegionStore::GetRegion(), regionName, and theRegion.

Referenced by G4MatScanMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4MaterialScanner::SetRegionSensitive ( G4bool  val = true)
inline

Definition at line 119 of file G4MaterialScanner.hh.

Referenced by G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4MaterialScanner::SetThetaMin ( G4double  val)
inline

Definition at line 109 of file G4MaterialScanner.hh.

Referenced by G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4MaterialScanner::SetThetaSpan ( G4double  val)
inline

Definition at line 111 of file G4MaterialScanner.hh.

Referenced by G4MatScanMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4MaterialScanner::StoreUserActions ( )
private

Definition at line 104 of file G4MaterialScanner.cc.

References G4SDManager::Activate(), G4GeometryManager::CloseGeometry(), G4GeometryManager::GetInstance(), G4SDManager::GetSDMpointerIfExist(), G4EventManager::GetUserEventAction(), G4EventManager::GetUserStackingAction(), G4EventManager::GetUserSteppingAction(), G4EventManager::GetUserTrackingAction(), G4GeometryManager::OpenGeometry(), G4EventManager::SetUserAction(), theEventManager, theMatScannerEventAction, theMatScannerStackingAction, theMatScannerSteppingAction, theMatScannerTrackingAction, theUserEventAction, theUserStackingAction, theUserSteppingAction, and theUserTrackingAction.

Referenced by Scan().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4ThreeVector G4MaterialScanner::eyeDirection
private

Definition at line 98 of file G4MaterialScanner.hh.

Referenced by DoScan().

G4ThreeVector G4MaterialScanner::eyePosition
private

Definition at line 90 of file G4MaterialScanner.hh.

Referenced by DoScan(), G4MaterialScanner(), and GetEyePosition().

G4int G4MaterialScanner::nPhi
private

Definition at line 94 of file G4MaterialScanner.hh.

Referenced by DoScan(), G4MaterialScanner(), and GetNPhi().

G4int G4MaterialScanner::nTheta
private

Definition at line 91 of file G4MaterialScanner.hh.

Referenced by DoScan(), G4MaterialScanner(), and GetNTheta().

G4double G4MaterialScanner::phiMin
private

Definition at line 95 of file G4MaterialScanner.hh.

Referenced by DoScan(), G4MaterialScanner(), and GetPhiMin().

G4double G4MaterialScanner::phiSpan
private

Definition at line 96 of file G4MaterialScanner.hh.

Referenced by DoScan(), G4MaterialScanner(), and GetPhiSpan().

G4String G4MaterialScanner::regionName
private

Definition at line 101 of file G4MaterialScanner.hh.

Referenced by G4MaterialScanner(), GetRegionName(), and SetRegionName().

G4bool G4MaterialScanner::regionSensitive
private

Definition at line 100 of file G4MaterialScanner.hh.

Referenced by DoScan(), G4MaterialScanner(), and GetRegionSensitive().

G4EventManager* G4MaterialScanner::theEventManager
private
G4UserEventAction* G4MaterialScanner::theMatScannerEventAction
private

Definition at line 85 of file G4MaterialScanner.hh.

Referenced by G4MaterialScanner(), and StoreUserActions().

G4UserStackingAction* G4MaterialScanner::theMatScannerStackingAction
private

Definition at line 86 of file G4MaterialScanner.hh.

Referenced by G4MaterialScanner(), and StoreUserActions().

G4MSSteppingAction* G4MaterialScanner::theMatScannerSteppingAction
private
G4UserTrackingAction* G4MaterialScanner::theMatScannerTrackingAction
private

Definition at line 87 of file G4MaterialScanner.hh.

Referenced by G4MaterialScanner(), and StoreUserActions().

G4MatScanMessenger* G4MaterialScanner::theMessenger
private

Definition at line 76 of file G4MaterialScanner.hh.

Referenced by G4MaterialScanner(), and ~G4MaterialScanner().

G4RayShooter* G4MaterialScanner::theRayShooter
private

Definition at line 75 of file G4MaterialScanner.hh.

Referenced by DoScan(), G4MaterialScanner(), and ~G4MaterialScanner().

G4Region* G4MaterialScanner::theRegion
private

Definition at line 102 of file G4MaterialScanner.hh.

Referenced by DoScan(), G4MaterialScanner(), and SetRegionName().

G4double G4MaterialScanner::thetaMin
private

Definition at line 92 of file G4MaterialScanner.hh.

Referenced by DoScan(), G4MaterialScanner(), and GetThetaMin().

G4double G4MaterialScanner::thetaSpan
private

Definition at line 93 of file G4MaterialScanner.hh.

Referenced by DoScan(), G4MaterialScanner(), and GetThetaSpan().

G4UserEventAction* G4MaterialScanner::theUserEventAction
private

Definition at line 80 of file G4MaterialScanner.hh.

Referenced by G4MaterialScanner(), RestoreUserActions(), and StoreUserActions().

G4UserStackingAction* G4MaterialScanner::theUserStackingAction
private

Definition at line 81 of file G4MaterialScanner.hh.

Referenced by G4MaterialScanner(), RestoreUserActions(), and StoreUserActions().

G4UserSteppingAction* G4MaterialScanner::theUserSteppingAction
private

Definition at line 83 of file G4MaterialScanner.hh.

Referenced by G4MaterialScanner(), RestoreUserActions(), and StoreUserActions().

G4UserTrackingAction* G4MaterialScanner::theUserTrackingAction
private

Definition at line 82 of file G4MaterialScanner.hh.

Referenced by G4MaterialScanner(), RestoreUserActions(), and StoreUserActions().


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