ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Static Public Member Functions | |
static HadrontherapyDetectorConstruction * | GetInstance () |
Public Attributes | |
G4VPhysicalVolume * | motherPhys |
HadrontherapyDetectorSD * | detectorSD |
G4bool | NewSource |
G4ThreeVector | VirtualLayerPosition |
Private Member Functions | |
void | ConstructPhantom () |
void | ConstructDetector () |
void | ParametersCheck () |
void | CheckOverlaps () |
Static Private Attributes | |
static HadrontherapyDetectorConstruction * | instance = 0 |
Definition at line 48 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 48 of file HadrontherapyDetectorConstruction.hh
HadrontherapyDetectorConstruction::HadrontherapyDetectorConstruction | ( | G4VPhysicalVolume * | physicalTreatmentRoom | ) |
Definition at line 67 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 67 of file HadrontherapyDetectorConstruction.cc
References cm, detectorMessenger, SetDetectorPosition(), SetDetectorSize(), SetDetectorToPhantomPosition(), SetPhantomMaterial(), SetPhantomPosition(), SetPhantomSize(), sizeOfVoxelAlongX, sizeOfVoxelAlongY, sizeOfVoxelAlongZ, um, and UpdateGeometry().
HadrontherapyDetectorConstruction::~HadrontherapyDetectorConstruction | ( | ) |
Definition at line 112 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 112 of file HadrontherapyDetectorConstruction.cc
References detectorMessenger, detectorROGeometry, and matrix.
|
private |
Definition at line 486 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 486 of file HadrontherapyDetectorConstruction.cc
References G4cout, G4endl, and G4PhysicalVolumeStore::GetInstance().
|
private |
Definition at line 180 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 180 of file HadrontherapyDetectorConstruction.cc
References G4Region::AddRootLogicalVolume(), aRegion, detector, detectorLogicalVolume, detectorMaterial, detectorPhysicalVolume, detectorPosition, phantomPhysicalVolume, phantomSizeX, phantomSizeY, phantomSizeZ, and skyBlue.
Referenced by UpdateGeometry().
|
private |
Definition at line 129 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 129 of file HadrontherapyDetectorConstruction.cc
References motherPhys, phantom, phantomLogicalVolume, phantomMaterial, phantomPhysicalVolume, phantomPosition, phantomSizeX, phantomSizeY, phantomSizeZ, and red.
Referenced by UpdateGeometry().
|
inline |
Definition at line 167 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 167 of file HadrontherapyDetectorConstruction.hh
References detectorLogicalVolume.
|
inline |
Definition at line 85 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 85 of file HadrontherapyDetectorConstruction.hh
References detectorPosition, detectorSizeX, detectorSizeY, detectorSizeZ, CLHEP::Hep3Vector::getX(), CLHEP::Hep3Vector::getY(), CLHEP::Hep3Vector::getZ(), phantomSizeX, phantomSizeY, and phantomSizeZ.
|
inline |
Definition at line 79 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 79 of file HadrontherapyDetectorConstruction.hh
References detectorPosition, and phantomPosition.
Referenced by PassiveCarbonBeamLine::Construct(), PassiveProtonBeamLine::Construct(), LaserDrivenBeamLine::Construct(), and UpdateGeometry().
|
static |
Definition at line 120 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 120 of file HadrontherapyDetectorConstruction.cc
References instance.
void HadrontherapyDetectorConstruction::InitializeDetectorROGeometry | ( | HadrontherapyDetectorROGeometry * | RO, |
G4ThreeVector | detectorToWorldPosition | ||
) |
Definition at line 228 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 228 of file HadrontherapyDetectorConstruction.cc
References detectorSizeX, detectorSizeY, detectorSizeZ, HadrontherapyDetectorROGeometry::Initialize(), numberOfVoxelsAlongX, numberOfVoxelsAlongY, and numberOfVoxelsAlongZ.
Referenced by PassiveCarbonBeamLine::Construct(), PassiveProtonBeamLine::Construct(), and LaserDrivenBeamLine::Construct().
|
inline |
Definition at line 106 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 106 of file HadrontherapyDetectorConstruction.hh
References G4cout, G4endl, CLHEP::Hep3Vector::getX(), CLHEP::Hep3Vector::getY(), and CLHEP::Hep3Vector::getZ().
Referenced by ParametersCheck().
|
private |
Definition at line 279 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 279 of file HadrontherapyDetectorConstruction.cc
References detectorSizeX, detectorSizeY, detectorSizeZ, detectorToPhantomPosition, FatalException, G4Exception(), IsInside(), phantomSizeX, phantomSizeY, phantomSizeZ, sizeOfVoxelAlongX, sizeOfVoxelAlongY, and sizeOfVoxelAlongZ.
Referenced by UpdateGeometry().
void HadrontherapyDetectorConstruction::PrintParameters | ( | ) |
Definition at line 502 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 502 of file HadrontherapyDetectorConstruction.cc
References detector, G4BestUnit, G4cout, G4endl, CLHEP::Hep3Vector::getX(), CLHEP::Hep3Vector::getY(), CLHEP::Hep3Vector::getZ(), numberOfVoxelsAlongX, numberOfVoxelsAlongY, numberOfVoxelsAlongZ, phantom, phantomPosition, sizeOfVoxelAlongX, sizeOfVoxelAlongY, and sizeOfVoxelAlongZ.
Referenced by UpdateGeometry().
|
inline |
Definition at line 95 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 95 of file HadrontherapyDetectorConstruction.hh
References detectorPosition, detectorSizeX, detectorSizeY, detectorSizeZ, detectorToPhantomPosition, CLHEP::Hep3Vector::getX(), CLHEP::Hep3Vector::getY(), CLHEP::Hep3Vector::getZ(), phantomSizeX, phantomSizeY, phantomSizeZ, CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), and CLHEP::Hep3Vector::setZ().
Referenced by HadrontherapyDetectorConstruction(), and UpdateGeometry().
void HadrontherapyDetectorConstruction::SetDetectorSize | ( | G4double | sizeX, |
G4double | sizeY, | ||
G4double | sizeZ | ||
) |
Definition at line 342 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 342 of file HadrontherapyDetectorConstruction.cc
References detectorSizeX, detectorSizeY, detectorSizeZ, SetVoxelSize(), sizeOfVoxelAlongX, sizeOfVoxelAlongY, and sizeOfVoxelAlongZ.
Referenced by HadrontherapyDetectorConstruction().
void HadrontherapyDetectorConstruction::SetDetectorToPhantomPosition | ( | G4ThreeVector | DetectorToPhantomPosition | ) |
Definition at line 365 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 365 of file HadrontherapyDetectorConstruction.cc
References detectorToPhantomPosition.
Referenced by HadrontherapyDetectorConstruction().
Definition at line 306 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 306 of file HadrontherapyDetectorConstruction.cc
References detectorLogicalVolume, detectorMaterial, G4cout, G4endl, pyG4RunManager::GeometryHasBeenModified, G4RunManager::GetRunManager(), G4NistManager::Instance(), phantomLogicalVolume, phantomMaterial, and EmPlot::SetMaterial().
Referenced by HadrontherapyDetectorConstruction().
void HadrontherapyDetectorConstruction::SetPhantomPosition | ( | G4ThreeVector | pos | ) |
Definition at line 359 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 359 of file HadrontherapyDetectorConstruction.cc
References phantomPosition, and pos().
Referenced by HadrontherapyDetectorConstruction().
void HadrontherapyDetectorConstruction::SetPhantomSize | ( | G4double | sizeX, |
G4double | sizeY, | ||
G4double | sizeZ | ||
) |
Definition at line 334 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 334 of file HadrontherapyDetectorConstruction.cc
References phantomSizeX, phantomSizeY, and phantomSizeZ.
Referenced by HadrontherapyDetectorConstruction().
void HadrontherapyDetectorConstruction::SetVirtualLayerPosition | ( | G4ThreeVector | position | ) |
Definition at line 370 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 370 of file HadrontherapyDetectorConstruction.cc
References physVirtualLayer, position, G4VPhysicalVolume::SetTranslation(), and VirtualLayerPosition.
void HadrontherapyDetectorConstruction::SetVoxelSize | ( | G4double | sizeX, |
G4double | sizeY, | ||
G4double | sizeZ | ||
) |
Definition at line 351 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 351 of file HadrontherapyDetectorConstruction.cc
References sizeOfVoxelAlongX, sizeOfVoxelAlongY, and sizeOfVoxelAlongZ.
Referenced by SetDetectorSize().
void HadrontherapyDetectorConstruction::UpdateGeometry | ( | ) |
Definition at line 378 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 378 of file HadrontherapyDetectorConstruction.cc
References ConstructDetector(), ConstructPhantom(), HadrontherapyRBE::CreateInstance(), detector, detectorMaterial, detectorPhysicalVolume, detectorPosition, detectorSizeX, detectorSizeY, detectorSizeZ, G4lrint(), pyG4RunManager::GeometryHasBeenModified, GetDetectorToWorldPosition(), HadrontherapyLet::GetInstance(), G4GeometryManager::GetInstance(), HadrontherapyMatrix::GetInstance(), G4VUserDetectorConstruction::GetParallelWorld(), G4RunManager::GetRunManager(), G4RunManager::GetUserDetectorConstruction(), HadrontherapyDetectorROGeometry::Initialize(), Initialize(), let, massOfVoxel, matrix, numberOfVoxelsAlongX, numberOfVoxelsAlongY, numberOfVoxelsAlongZ, ParametersCheck(), phantom, phantomPhysicalVolume, phantomPosition, phantomSizeX, phantomSizeY, phantomSizeZ, PrintParameters(), SetDetectorPosition(), sizeOfVoxelAlongX, sizeOfVoxelAlongY, sizeOfVoxelAlongZ, HadrontherapyDetectorROGeometry::UpdateROGeometry(), and volumeOfVoxel.
Referenced by HadrontherapyDetectorConstruction().
Definition at line 241 of file HadrontherapyDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 241 of file HadrontherapyDetectorConstruction.cc
References cm, G4NistManager::FindOrBuildMaterial(), G4NistManager::Instance(), logicVirtualLayer, motherPhys, NewSource, physVirtualLayer, skyBlue, solidVirtualLayer, um, and VirtualLayerPosition.
Referenced by HadrontherapyDetectorMessenger::SetNewValue().
|
private |
Definition at line 209 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 209 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructDetector().
|
private |
Definition at line 180 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 180 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructDetector(), PrintParameters(), and UpdateGeometry().
|
private |
Definition at line 181 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 181 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructDetector(), GetDetectorLogicalVolume(), and SetPhantomMaterial().
|
private |
Definition at line 208 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 208 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructDetector(), SetPhantomMaterial(), and UpdateGeometry().
|
private |
Definition at line 171 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 171 of file HadrontherapyDetectorConstruction.hh
Referenced by HadrontherapyDetectorConstruction(), and ~HadrontherapyDetectorConstruction().
|
private |
Definition at line 182 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 182 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructDetector(), and UpdateGeometry().
|
private |
Definition at line 196 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 196 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructDetector(), GetDetectorToPhantomPosition(), GetDetectorToWorldPosition(), SetDetectorPosition(), and UpdateGeometry().
|
private |
Definition at line 176 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 176 of file HadrontherapyDetectorConstruction.hh
Referenced by ~HadrontherapyDetectorConstruction().
HadrontherapyDetectorSD* HadrontherapyDetectorConstruction::detectorSD |
Definition at line 61 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 61 of file HadrontherapyDetectorConstruction.hh
|
private |
Definition at line 192 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 192 of file HadrontherapyDetectorConstruction.hh
Referenced by GetDetectorToPhantomPosition(), InitializeDetectorROGeometry(), ParametersCheck(), SetDetectorPosition(), SetDetectorSize(), and UpdateGeometry().
|
private |
Definition at line 193 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 193 of file HadrontherapyDetectorConstruction.hh
Referenced by GetDetectorToPhantomPosition(), InitializeDetectorROGeometry(), ParametersCheck(), SetDetectorPosition(), SetDetectorSize(), and UpdateGeometry().
|
private |
Definition at line 194 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 194 of file HadrontherapyDetectorConstruction.hh
Referenced by GetDetectorToPhantomPosition(), InitializeDetectorROGeometry(), ParametersCheck(), SetDetectorPosition(), SetDetectorSize(), and UpdateGeometry().
|
private |
Definition at line 196 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 196 of file HadrontherapyDetectorConstruction.hh
Referenced by ParametersCheck(), SetDetectorPosition(), and SetDetectorToPhantomPosition().
|
staticprivate |
Definition at line 170 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 170 of file HadrontherapyDetectorConstruction.hh
Referenced by GetInstance().
|
private |
Definition at line 178 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 178 of file HadrontherapyDetectorConstruction.hh
Referenced by UpdateGeometry().
|
private |
Definition at line 185 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 185 of file HadrontherapyDetectorConstruction.hh
Referenced by VirtualLayer().
|
private |
Definition at line 206 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 206 of file HadrontherapyDetectorConstruction.hh
Referenced by UpdateGeometry().
|
private |
Definition at line 177 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 177 of file HadrontherapyDetectorConstruction.hh
Referenced by UpdateGeometry(), and ~HadrontherapyDetectorConstruction().
G4VPhysicalVolume* HadrontherapyDetectorConstruction::motherPhys |
Definition at line 60 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 60 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructPhantom(), and VirtualLayer().
G4bool HadrontherapyDetectorConstruction::NewSource |
Definition at line 65 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 65 of file HadrontherapyDetectorConstruction.hh
Referenced by VirtualLayer().
|
private |
Definition at line 202 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 202 of file HadrontherapyDetectorConstruction.hh
Referenced by InitializeDetectorROGeometry(), PrintParameters(), and UpdateGeometry().
|
private |
Definition at line 203 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 203 of file HadrontherapyDetectorConstruction.hh
Referenced by InitializeDetectorROGeometry(), PrintParameters(), and UpdateGeometry().
|
private |
Definition at line 204 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 204 of file HadrontherapyDetectorConstruction.hh
Referenced by InitializeDetectorROGeometry(), PrintParameters(), and UpdateGeometry().
|
private |
Definition at line 180 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 180 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructPhantom(), PrintParameters(), and UpdateGeometry().
|
private |
Definition at line 181 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 181 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructPhantom(), and SetPhantomMaterial().
|
private |
Definition at line 208 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 208 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructPhantom(), and SetPhantomMaterial().
|
private |
Definition at line 182 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 182 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructDetector(), ConstructPhantom(), and UpdateGeometry().
|
private |
Definition at line 196 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 196 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructPhantom(), GetDetectorToWorldPosition(), PrintParameters(), SetPhantomPosition(), and UpdateGeometry().
|
private |
Definition at line 188 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 188 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructDetector(), ConstructPhantom(), GetDetectorToPhantomPosition(), ParametersCheck(), SetDetectorPosition(), SetPhantomSize(), and UpdateGeometry().
|
private |
Definition at line 189 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 189 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructDetector(), ConstructPhantom(), GetDetectorToPhantomPosition(), ParametersCheck(), SetDetectorPosition(), SetPhantomSize(), and UpdateGeometry().
|
private |
Definition at line 190 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 190 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructDetector(), ConstructPhantom(), GetDetectorToPhantomPosition(), ParametersCheck(), SetDetectorPosition(), SetPhantomSize(), and UpdateGeometry().
|
private |
Definition at line 186 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 186 of file HadrontherapyDetectorConstruction.hh
Referenced by SetVirtualLayerPosition(), and VirtualLayer().
|
private |
Definition at line 174 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 174 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructPhantom().
|
private |
Definition at line 198 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 198 of file HadrontherapyDetectorConstruction.hh
Referenced by HadrontherapyDetectorConstruction(), ParametersCheck(), PrintParameters(), SetDetectorSize(), SetVoxelSize(), and UpdateGeometry().
|
private |
Definition at line 199 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 199 of file HadrontherapyDetectorConstruction.hh
Referenced by HadrontherapyDetectorConstruction(), ParametersCheck(), PrintParameters(), SetDetectorSize(), SetVoxelSize(), and UpdateGeometry().
|
private |
Definition at line 200 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 200 of file HadrontherapyDetectorConstruction.hh
Referenced by HadrontherapyDetectorConstruction(), ParametersCheck(), PrintParameters(), SetDetectorSize(), SetVoxelSize(), and UpdateGeometry().
|
private |
Definition at line 173 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 173 of file HadrontherapyDetectorConstruction.hh
Referenced by ConstructDetector(), and VirtualLayer().
|
private |
Definition at line 184 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 184 of file HadrontherapyDetectorConstruction.hh
Referenced by VirtualLayer().
G4ThreeVector HadrontherapyDetectorConstruction::VirtualLayerPosition |
Definition at line 67 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 67 of file HadrontherapyDetectorConstruction.hh
Referenced by SetVirtualLayerPosition(), and VirtualLayer().
|
private |
Definition at line 206 of file HadrontherapyDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 206 of file HadrontherapyDetectorConstruction.hh
Referenced by UpdateGeometry().