Geant4  10.03
HadrontherapyModulator Class Reference

#include <HadrontherapyModulator.hh>

+ Collaboration diagram for HadrontherapyModulator:

Public Member Functions

 HadrontherapyModulator ()
 
 ~HadrontherapyModulator ()
 
void BuildModulator (G4VPhysicalVolume *)
 
void SetModulatorAngle (G4double)
 
void SetModulatorMaterial (G4String)
 
void SetModulatorPosition (G4ThreeVector)
 
void SetModulatorInnerRadius (G4double)
 
void SetModulatorOuterRadius (G4double)
 
void ModulatorDefaultProperties ()
 
void ModulatorPropertiesFromFile (G4String)
 
void GetDataFromFile (G4String value)
 
void GetStepInformation ()
 
void BuildSteps ()
 

Private Attributes

std::ifstream File
 
G4LogicalVolumelogicMotherMod
 
G4VPhysicalVolumephysiMotherMod
 
G4MaterialMod0Mater
 
G4MaterialModMater
 
G4TubssolidMod1
 
G4LogicalVolumelogicMod1
 
G4VPhysicalVolumephysiMod1
 
G4TubssolidMod2
 
G4LogicalVolumelogicMod2
 
G4VPhysicalVolumephysiMod2
 
G4TubssolidMod3
 
G4LogicalVolumelogicMod3
 
G4VPhysicalVolumephysiMod3
 
G4TubssolidMod4
 
G4LogicalVolumelogicMod4
 
G4VPhysicalVolumephysiMod4
 
G4double pi
 
G4int StepNumbers
 
G4doubleWeight
 
G4doubleStepThickness
 
G4doubleStartingAngle
 
G4doubleSpanningAngle
 
G4ThreeVectorPositionMod
 
G4Tubs ** solidMod
 
G4LogicalVolume ** logicMod
 
G4VPhysicalVolume ** physiMod
 
G4RotationMatrixrm
 
G4String FileName
 
HadrontherapyModulatorMessengerModulatorMessenger
 
G4double innerRadiusOfTheTube
 
G4double outerRadiusOfTheTube
 

Detailed Description

Definition at line 51 of file HadrontherapyModulator.hh.

Constructor & Destructor Documentation

HadrontherapyModulator::HadrontherapyModulator ( )

Definition at line 59 of file HadrontherapyModulator.cc.

References deg, logicMod, ModulatorDefaultProperties(), ModulatorMessenger, physiMod, pi, PositionMod, rm, solidMod, SpanningAngle, StartingAngle, StepNumbers, StepThickness, and Weight.

+ Here is the call graph for this function:

HadrontherapyModulator::~HadrontherapyModulator ( )

Member Function Documentation

void HadrontherapyModulator::BuildModulator ( G4VPhysicalVolume motherVolume)

Definition at line 249 of file HadrontherapyModulator.cc.

References BuildSteps(), cm, G4NistManager::FindOrBuildMaterial(), innerRadiusOfTheTube, G4NistManager::Instance(), logicMotherMod, mm, Mod0Mater, ModMater, outerRadiusOfTheTube, physiMotherMod, and rm.

+ Here is the call graph for this function:

void HadrontherapyModulator::BuildSteps ( )

Definition at line 279 of file HadrontherapyModulator.cc.

References cm, deg, pyG4RunManager::GeometryHasBeenModified, G4VisAttributes::GetInvisible(), G4RunManager::GetRunManager(), innerRadiusOfTheTube, logicMod, logicMod1, logicMod2, logicMod3, logicMod4, logicMotherMod, Mod0Mater, ModMater, outerRadiusOfTheTube, physiMod, physiMod1, physiMod2, physiMod3, physiMod4, PositionMod, red, rm3, G4LogicalVolume::SetVisAttributes(), solidMod, solidMod1, solidMod2, solidMod3, solidMod4, SpanningAngle, StartingAngle, StepNumbers, and StepThickness.

Referenced by BuildModulator(), and ModulatorPropertiesFromFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HadrontherapyModulator::GetDataFromFile ( G4String  value)

Definition at line 568 of file HadrontherapyModulator.cc.

References FileName, G4cout, G4endl, and ModulatorPropertiesFromFile().

Referenced by HadrontherapyModulatorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HadrontherapyModulator::GetStepInformation ( )

Definition at line 213 of file HadrontherapyModulator.cc.

References deg, pi, PositionMod, SpanningAngle, StartingAngle, StepNumbers, StepThickness, and Weight.

Referenced by ModulatorDefaultProperties(), and ModulatorPropertiesFromFile().

+ Here is the caller graph for this function:

void HadrontherapyModulator::ModulatorDefaultProperties ( )

Definition at line 119 of file HadrontherapyModulator.cc.

References GetStepInformation(), StepThickness, and Weight.

Referenced by HadrontherapyModulator().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HadrontherapyModulator::ModulatorPropertiesFromFile ( G4String  Name)

Definition at line 151 of file HadrontherapyModulator.cc.

References BuildSteps(), FatalException, File, G4cout, G4endl, G4Exception(), GetStepInformation(), logicMod, logicMod1, logicMod2, logicMod3, logicMod4, physiMod, physiMod1, physiMod2, physiMod3, physiMod4, PositionMod, solidMod, solidMod1, solidMod2, solidMod3, solidMod4, SpanningAngle, StartingAngle, StepNumbers, StepThickness, and Weight.

Referenced by GetDataFromFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HadrontherapyModulator::SetModulatorAngle ( G4double  angle)

Definition at line 489 of file HadrontherapyModulator.cc.

References angle, deg, G4cout, G4endl, pyG4RunManager::GeometryHasBeenModified, G4RunManager::GetRunManager(), physiMotherMod, and rm.

+ Here is the call graph for this function:

void HadrontherapyModulator::SetModulatorInnerRadius ( G4double  newvalue)

Definition at line 539 of file HadrontherapyModulator.cc.

References G4cout, G4endl, pyG4RunManager::GeometryHasBeenModified, G4RunManager::GetRunManager(), mm, solidMod, solidMod1, solidMod2, solidMod3, solidMod4, and StepNumbers.

+ Here is the call graph for this function:

void HadrontherapyModulator::SetModulatorMaterial ( G4String  Material)

Definition at line 500 of file HadrontherapyModulator.cc.

References G4cout, G4endl, pyG4RunManager::GeometryHasBeenModified, G4RunManager::GetRunManager(), G4NistManager::Instance(), logicMod, and StepNumbers.

+ Here is the call graph for this function:

void HadrontherapyModulator::SetModulatorOuterRadius ( G4double  newvalue)

Definition at line 554 of file HadrontherapyModulator.cc.

References G4cout, G4endl, pyG4RunManager::GeometryHasBeenModified, G4RunManager::GetRunManager(), mm, solidMod, solidMod1, solidMod2, solidMod3, solidMod4, and StepNumbers.

+ Here is the call graph for this function:

void HadrontherapyModulator::SetModulatorPosition ( G4ThreeVector  Pos)

Definition at line 529 of file HadrontherapyModulator.cc.

References G4cout, G4endl, pyG4RunManager::GeometryHasBeenModified, G4RunManager::GetRunManager(), mm, and physiMotherMod.

+ Here is the call graph for this function:

Member Data Documentation

std::ifstream HadrontherapyModulator::File
private

Definition at line 71 of file HadrontherapyModulator.hh.

Referenced by ModulatorPropertiesFromFile().

G4String HadrontherapyModulator::FileName
private

Definition at line 108 of file HadrontherapyModulator.hh.

Referenced by GetDataFromFile().

G4double HadrontherapyModulator::innerRadiusOfTheTube
private

Definition at line 110 of file HadrontherapyModulator.hh.

Referenced by BuildModulator(), and BuildSteps().

G4LogicalVolume* HadrontherapyModulator::logicMod1
private

Definition at line 80 of file HadrontherapyModulator.hh.

Referenced by BuildSteps(), and ModulatorPropertiesFromFile().

G4LogicalVolume* HadrontherapyModulator::logicMod2
private

Definition at line 84 of file HadrontherapyModulator.hh.

Referenced by BuildSteps(), and ModulatorPropertiesFromFile().

G4LogicalVolume* HadrontherapyModulator::logicMod3
private

Definition at line 88 of file HadrontherapyModulator.hh.

Referenced by BuildSteps(), and ModulatorPropertiesFromFile().

G4LogicalVolume* HadrontherapyModulator::logicMod4
private

Definition at line 92 of file HadrontherapyModulator.hh.

Referenced by BuildSteps(), and ModulatorPropertiesFromFile().

G4LogicalVolume* HadrontherapyModulator::logicMotherMod
private

Definition at line 73 of file HadrontherapyModulator.hh.

Referenced by BuildModulator(), and BuildSteps().

G4Material* HadrontherapyModulator::Mod0Mater
private

Definition at line 76 of file HadrontherapyModulator.hh.

Referenced by BuildModulator(), and BuildSteps().

G4Material* HadrontherapyModulator::ModMater
private

Definition at line 77 of file HadrontherapyModulator.hh.

Referenced by BuildModulator(), and BuildSteps().

HadrontherapyModulatorMessenger* HadrontherapyModulator::ModulatorMessenger
private

Definition at line 109 of file HadrontherapyModulator.hh.

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

G4double HadrontherapyModulator::outerRadiusOfTheTube
private

Definition at line 111 of file HadrontherapyModulator.hh.

Referenced by BuildModulator(), and BuildSteps().

G4VPhysicalVolume** HadrontherapyModulator::physiMod
private
G4VPhysicalVolume* HadrontherapyModulator::physiMod1
private

Definition at line 81 of file HadrontherapyModulator.hh.

Referenced by BuildSteps(), and ModulatorPropertiesFromFile().

G4VPhysicalVolume* HadrontherapyModulator::physiMod2
private

Definition at line 85 of file HadrontherapyModulator.hh.

Referenced by BuildSteps(), and ModulatorPropertiesFromFile().

G4VPhysicalVolume* HadrontherapyModulator::physiMod3
private

Definition at line 89 of file HadrontherapyModulator.hh.

Referenced by BuildSteps(), and ModulatorPropertiesFromFile().

G4VPhysicalVolume* HadrontherapyModulator::physiMod4
private

Definition at line 93 of file HadrontherapyModulator.hh.

Referenced by BuildSteps(), and ModulatorPropertiesFromFile().

G4VPhysicalVolume* HadrontherapyModulator::physiMotherMod
private
G4double HadrontherapyModulator::pi
private

Definition at line 95 of file HadrontherapyModulator.hh.

Referenced by GetStepInformation(), and HadrontherapyModulator().

G4ThreeVector* HadrontherapyModulator::PositionMod
private
G4RotationMatrix* HadrontherapyModulator::rm
private
G4Tubs* HadrontherapyModulator::solidMod1
private
G4Tubs* HadrontherapyModulator::solidMod2
private
G4Tubs* HadrontherapyModulator::solidMod3
private
G4Tubs* HadrontherapyModulator::solidMod4
private
G4double* HadrontherapyModulator::SpanningAngle
private
G4double* HadrontherapyModulator::StartingAngle
private

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