Geant4-11
|
#include <G4MaterialScanner.hh>
Public Member Functions | |
G4MaterialScanner () | |
G4ThreeVector | GetEyePosition () const |
G4int | GetNPhi () const |
G4int | GetNTheta () const |
G4double | GetPhiMin () const |
G4double | GetPhiSpan () const |
const G4String & | GetRegionName () const |
G4bool | GetRegionSensitive () const |
G4double | GetThetaMin () const |
G4double | GetThetaSpan () const |
void | Scan () |
void | SetEyePosition (const G4ThreeVector &val) |
void | SetNPhi (G4int val) |
void | SetNTheta (G4int val) |
void | SetPhiMin (G4double val) |
void | SetPhiSpan (G4double val) |
G4bool | SetRegionName (const G4String &val) |
void | SetRegionSensitive (G4bool val=true) |
void | SetThetaMin (G4double val) |
void | SetThetaSpan (G4double val) |
~G4MaterialScanner () | |
Private Member Functions | |
void | DoScan () |
void | RestoreUserActions () |
void | StoreUserActions () |
Private Attributes | |
G4ThreeVector | eyeDirection |
G4ThreeVector | eyePosition |
G4int | nPhi = 37 |
G4int | nTheta = 91 |
G4double | phiMin = 0.0 |
G4double | phiSpan = 0.0 |
G4String | regionName = "notDefined" |
G4bool | regionSensitive = false |
G4EventManager * | theEventManager = nullptr |
G4UserEventAction * | theMatScannerEventAction = nullptr |
G4UserStackingAction * | theMatScannerStackingAction = nullptr |
G4MSSteppingAction * | theMatScannerSteppingAction = nullptr |
G4UserTrackingAction * | theMatScannerTrackingAction = nullptr |
G4MatScanMessenger * | theMessenger = nullptr |
G4RayShooter * | theRayShooter = nullptr |
G4Region * | theRegion = nullptr |
G4double | thetaMin = 0.0 |
G4double | thetaSpan = 0.0 |
G4UserEventAction * | theUserEventAction = nullptr |
G4UserStackingAction * | theUserStackingAction = nullptr |
G4UserSteppingAction * | theUserSteppingAction = nullptr |
G4UserTrackingAction * | theUserTrackingAction = nullptr |
Definition at line 52 of file G4MaterialScanner.hh.
G4MaterialScanner::G4MaterialScanner | ( | ) |
Definition at line 50 of file G4MaterialScanner.cc.
References deg, eyePosition, G4EventManager::GetEventManager(), phiSpan, theEventManager, theMessenger, theRayShooter, and thetaSpan.
G4MaterialScanner::~G4MaterialScanner | ( | ) |
Definition at line 62 of file G4MaterialScanner.cc.
References theMatScannerSteppingAction, theMessenger, and theRayShooter.
|
private |
= G4Geantino::GeantinoDefinition()->GetProcessManager()->GetProcessList();
Definition at line 129 of file G4MaterialScanner.cc.
References G4GeometryManager::CloseGeometry(), deg, eyeDirection, eyePosition, G4cout, G4endl, G4State_GeomClosed, G4State_Idle, G4GeometryManager::GetInstance(), G4MSSteppingAction::GetLambda0(), G4TransportationManager::GetNavigatorForTracking(), G4RunManagerKernel::GetRunManagerKernel(), G4StateManager::GetStateManager(), G4MSSteppingAction::GetTotalStepLength(), G4TransportationManager::GetTransportationManager(), G4MSSteppingAction::GetX0(), G4MSSteppingAction::Initialize(), G4InuclParticleNames::lambda, mm, write_gdml::navigator, nPhi, nTheta, G4GeometryManager::OpenGeometry(), phiMin, phiSpan, G4EventManager::ProcessOneEvent(), regionSensitive, G4StateManager::SetNewState(), G4RayShooter::Shoot(), theEventManager, theMatScannerSteppingAction, theRayShooter, theRegion, thetaMin, thetaSpan, and G4RunManagerKernel::UpdateRegion().
Referenced by Scan().
|
inline |
Definition at line 64 of file G4MaterialScanner.hh.
References eyePosition.
Referenced by G4MatScanMessenger::GetCurrentValue().
|
inline |
Definition at line 72 of file G4MaterialScanner.hh.
References nPhi.
Referenced by G4MatScanMessenger::GetCurrentValue(), and G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 66 of file G4MaterialScanner.hh.
References nTheta.
Referenced by G4MatScanMessenger::GetCurrentValue(), and G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 74 of file G4MaterialScanner.hh.
References phiMin.
Referenced by G4MatScanMessenger::GetCurrentValue(), and G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 76 of file G4MaterialScanner.hh.
References phiSpan.
Referenced by G4MatScanMessenger::GetCurrentValue(), and G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 80 of file G4MaterialScanner.hh.
References regionName.
Referenced by G4MatScanMessenger::GetCurrentValue().
|
inline |
Definition at line 78 of file G4MaterialScanner.hh.
References regionSensitive.
Referenced by G4MatScanMessenger::GetCurrentValue().
|
inline |
Definition at line 68 of file G4MaterialScanner.hh.
References thetaMin.
Referenced by G4MatScanMessenger::GetCurrentValue(), and G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 70 of file G4MaterialScanner.hh.
References thetaSpan.
Referenced by G4MatScanMessenger::GetCurrentValue(), and G4MatScanMessenger::SetNewValue().
|
private |
Definition at line 114 of file G4MaterialScanner.cc.
References G4SDManager::Activate(), G4SDManager::GetSDMpointerIfExist(), G4EventManager::SetUserAction(), theEventManager, theUserEventAction, theUserStackingAction, theUserSteppingAction, and theUserTrackingAction.
Referenced by Scan().
void G4MaterialScanner::Scan | ( | ) |
Definition at line 70 of file G4MaterialScanner.cc.
References DoScan(), G4cerr, G4endl, G4State_Idle, G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), RestoreUserActions(), StoreUserActions(), and theMatScannerSteppingAction.
Referenced by G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 63 of file G4MaterialScanner.hh.
References eyePosition.
Referenced by G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 71 of file G4MaterialScanner.hh.
References nPhi.
Referenced by G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 65 of file G4MaterialScanner.hh.
References nTheta.
Referenced by G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 73 of file G4MaterialScanner.hh.
References phiMin.
Referenced by G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 75 of file G4MaterialScanner.hh.
References phiSpan.
Referenced by G4MatScanMessenger::SetNewValue().
Definition at line 209 of file G4MaterialScanner.cc.
References G4cerr, G4endl, G4RegionStore::GetInstance(), G4RegionStore::GetRegion(), regionName, and theRegion.
Referenced by G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 77 of file G4MaterialScanner.hh.
References regionSensitive.
Referenced by G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 67 of file G4MaterialScanner.hh.
References thetaMin.
Referenced by G4MatScanMessenger::SetNewValue().
|
inline |
Definition at line 69 of file G4MaterialScanner.hh.
References thetaSpan.
Referenced by G4MatScanMessenger::SetNewValue().
|
private |
Definition at line 90 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().
|
private |
Definition at line 116 of file G4MaterialScanner.hh.
Referenced by DoScan().
|
private |
Definition at line 108 of file G4MaterialScanner.hh.
Referenced by DoScan(), G4MaterialScanner(), GetEyePosition(), and SetEyePosition().
|
private |
Definition at line 112 of file G4MaterialScanner.hh.
|
private |
Definition at line 109 of file G4MaterialScanner.hh.
Referenced by DoScan(), GetNTheta(), and SetNTheta().
|
private |
Definition at line 113 of file G4MaterialScanner.hh.
Referenced by DoScan(), GetPhiMin(), and SetPhiMin().
|
private |
Definition at line 114 of file G4MaterialScanner.hh.
Referenced by DoScan(), G4MaterialScanner(), GetPhiSpan(), and SetPhiSpan().
|
private |
Definition at line 119 of file G4MaterialScanner.hh.
Referenced by GetRegionName(), and SetRegionName().
|
private |
Definition at line 118 of file G4MaterialScanner.hh.
Referenced by DoScan(), GetRegionSensitive(), and SetRegionSensitive().
|
private |
Definition at line 96 of file G4MaterialScanner.hh.
Referenced by DoScan(), G4MaterialScanner(), RestoreUserActions(), and StoreUserActions().
|
private |
Definition at line 103 of file G4MaterialScanner.hh.
Referenced by StoreUserActions().
|
private |
Definition at line 104 of file G4MaterialScanner.hh.
Referenced by StoreUserActions().
|
private |
Definition at line 106 of file G4MaterialScanner.hh.
Referenced by DoScan(), Scan(), StoreUserActions(), and ~G4MaterialScanner().
|
private |
Definition at line 105 of file G4MaterialScanner.hh.
Referenced by StoreUserActions().
|
private |
Definition at line 94 of file G4MaterialScanner.hh.
Referenced by G4MaterialScanner(), and ~G4MaterialScanner().
|
private |
Definition at line 93 of file G4MaterialScanner.hh.
Referenced by DoScan(), G4MaterialScanner(), and ~G4MaterialScanner().
|
private |
Definition at line 120 of file G4MaterialScanner.hh.
Referenced by DoScan(), and SetRegionName().
|
private |
Definition at line 110 of file G4MaterialScanner.hh.
Referenced by DoScan(), GetThetaMin(), and SetThetaMin().
|
private |
Definition at line 111 of file G4MaterialScanner.hh.
Referenced by DoScan(), G4MaterialScanner(), GetThetaSpan(), and SetThetaSpan().
|
private |
Definition at line 98 of file G4MaterialScanner.hh.
Referenced by RestoreUserActions(), and StoreUserActions().
|
private |
Definition at line 99 of file G4MaterialScanner.hh.
Referenced by RestoreUserActions(), and StoreUserActions().
|
private |
Definition at line 101 of file G4MaterialScanner.hh.
Referenced by RestoreUserActions(), and StoreUserActions().
|
private |
Definition at line 100 of file G4MaterialScanner.hh.
Referenced by RestoreUserActions(), and StoreUserActions().