#include <G4MaterialScanner.hh>
Definition at line 52 of file G4MaterialScanner.hh.
◆ G4MaterialScanner()
G4MaterialScanner::G4MaterialScanner |
( |
| ) |
|
Definition at line 50 of file G4MaterialScanner.cc.
51{
52 theRayShooter = new G4RayShooter();
53 theMessenger = new G4MatScanMessenger(this);
55
57 thetaSpan = 90. * deg;
58 phiSpan = 360. * deg;
59}
CLHEP::Hep3Vector G4ThreeVector
static G4EventManager * GetEventManager()
◆ ~G4MaterialScanner()
G4MaterialScanner::~G4MaterialScanner |
( |
| ) |
|
Definition at line 62 of file G4MaterialScanner.cc.
63{
64 delete theRayShooter;
65 delete theMatScannerSteppingAction;
66 delete theMessenger;
67}
◆ GetEyePosition()
◆ GetNPhi()
G4int G4MaterialScanner::GetNPhi |
( |
| ) |
const |
|
inline |
◆ GetNTheta()
G4int G4MaterialScanner::GetNTheta |
( |
| ) |
const |
|
inline |
◆ GetPhiMin()
G4double G4MaterialScanner::GetPhiMin |
( |
| ) |
const |
|
inline |
◆ GetPhiSpan()
G4double G4MaterialScanner::GetPhiSpan |
( |
| ) |
const |
|
inline |
◆ GetRegionName()
const G4String & G4MaterialScanner::GetRegionName |
( |
| ) |
const |
|
inline |
◆ GetRegionSensitive()
G4bool G4MaterialScanner::GetRegionSensitive |
( |
| ) |
const |
|
inline |
◆ GetThetaMin()
G4double G4MaterialScanner::GetThetaMin |
( |
| ) |
const |
|
inline |
◆ GetThetaSpan()
G4double G4MaterialScanner::GetThetaSpan |
( |
| ) |
const |
|
inline |
◆ Scan()
void G4MaterialScanner::Scan |
( |
| ) |
|
Definition at line 70 of file G4MaterialScanner.cc.
71{
75 G4cerr <<
"Illegal application state - Scan() ignored." <<
G4endl;
76 return;
77 }
78
79 if (theMatScannerSteppingAction == nullptr) {
80 theMatScannerSteppingAction = new G4MSSteppingAction();
81 }
82 StoreUserActions();
83 DoScan();
84 RestoreUserActions();
85}
G4GLOB_DLL std::ostream G4cerr
const G4ApplicationState & GetCurrentState() const
static G4StateManager * GetStateManager()
◆ SetEyePosition()
void G4MaterialScanner::SetEyePosition |
( |
const G4ThreeVector & | val | ) |
|
|
inline |
◆ SetNPhi()
void G4MaterialScanner::SetNPhi |
( |
G4int | val | ) |
|
|
inline |
◆ SetNTheta()
void G4MaterialScanner::SetNTheta |
( |
G4int | val | ) |
|
|
inline |
◆ SetPhiMin()
void G4MaterialScanner::SetPhiMin |
( |
G4double | val | ) |
|
|
inline |
◆ SetPhiSpan()
void G4MaterialScanner::SetPhiSpan |
( |
G4double | val | ) |
|
|
inline |
◆ SetRegionName()
Definition at line 196 of file G4MaterialScanner.cc.
197{
199 if (aRegion != nullptr) {
200 theRegion = aRegion;
201 regionName = val;
202 return true;
203 }
204
205 G4cerr <<
"Region <" << val <<
"> not found. Command ignored." <<
G4endl;
208 G4cerr <<
" " << i->GetName();
209 }
211 return false;
212}
static G4RegionStore * GetInstance()
G4Region * GetRegion(const G4String &name, G4bool verbose=true) const
◆ SetRegionSensitive()
void G4MaterialScanner::SetRegionSensitive |
( |
G4bool | val = true | ) |
|
|
inline |
◆ SetThetaMin()
void G4MaterialScanner::SetThetaMin |
( |
G4double | val | ) |
|
|
inline |
◆ SetThetaSpan()
void G4MaterialScanner::SetThetaSpan |
( |
G4double | val | ) |
|
|
inline |
◆ SetVerbosity()
void G4MaterialScanner::SetVerbosity |
( |
G4int | v | ) |
|
|
inline |
The documentation for this class was generated from the following files: