ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Member Functions | |
DicomPartialDetectorConstruction () | |
~DicomPartialDetectorConstruction () | |
virtual G4VPhysicalVolume * | Construct () |
Public Member Functions inherited from DicomDetectorConstruction | |
DicomDetectorConstruction () | |
~DicomDetectorConstruction () | |
G4int | GetTotalVoxels () const |
Public Member Functions inherited from G4VUserDetectorConstruction | |
G4VUserDetectorConstruction () | |
virtual | ~G4VUserDetectorConstruction () |
virtual void | CloneSD () |
virtual void | CloneF () |
void | RegisterParallelWorld (G4VUserParallelWorld *) |
G4int | ConstructParallelGeometries () |
void | ConstructParallelSD () |
G4int | GetNumberOfParallelWorld () const |
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
Private Member Functions | |
virtual void | ReadPhantomData () |
void | ReadPhantomDataFile (const G4String &fname) |
void | ConstructPhantomContainer () |
virtual void | ConstructPhantom () |
void | ReadVoxelDensitiesPartial (std::ifstream &fin) |
Private Attributes | |
G4PartialPhantomParameterisation * | fPartialPhantomParam |
std::multimap< G4int, G4int > | fFilledIDs |
std::map< G4int, std::map < G4int, G4int > > | fFilledMins |
std::map< G4int, std::map < G4int, G4int > > | fFilledMaxs |
G4int | fNVoxels |
G4double | fDimX |
G4double | fDimY |
G4double | fDimZ |
G4double | fOffsetX |
G4double | fOffsetY |
G4double | fOffsetZ |
std::vector< G4Material * > | fPhantomMaterials |
Construct a DICOM Geant4 geometry produced from the intersetion of a DICOM file and a volume
Definition at line 46 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 46 of file DicomPartialDetectorConstruction.hh
DicomPartialDetectorConstruction::DicomPartialDetectorConstruction | ( | ) |
Definition at line 58 of file DicomPartialDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 58 of file DicomPartialDetectorConstruction.cc
DicomPartialDetectorConstruction::~DicomPartialDetectorConstruction | ( | ) |
Definition at line 72 of file DicomPartialDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 72 of file DicomPartialDetectorConstruction.cc
|
virtual |
Reimplemented from DicomDetectorConstruction.
Definition at line 77 of file DicomPartialDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 77 of file DicomPartialDetectorConstruction.cc
References ConstructPhantom(), ConstructPhantomContainer(), DicomDetectorConstruction::fAir, DicomDetectorConstruction::fWorld_logic, DicomDetectorConstruction::InitialisationOfMaterials(), m, and ReadPhantomData().
|
privatevirtual |
Implements DicomDetectorConstruction.
Definition at line 440 of file DicomPartialDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 440 of file DicomPartialDetectorConstruction.cc
References G4PartialPhantomParameterisation::BuildContainerWalls(), DicomDetectorConstruction::fAir, FALSE, FatalErrorInArgument, DicomDetectorConstruction::fContainer_logic, fDimX, fDimY, fDimZ, fFilledIDs, fFilledMins, DicomDetectorConstruction::fMateIDs, fNVoxels, DicomDetectorConstruction::fNVoxelX, DicomDetectorConstruction::fNVoxelY, DicomDetectorConstruction::fNVoxelZ, fPartialPhantomParam, fPhantomMaterials, G4Exception(), kUndefined, kXAxis, G4PartialPhantomParameterisation::SetFilledIDs(), G4PartialPhantomParameterisation::SetFilledMins(), G4PhantomParameterisation::SetMaterialIndices(), G4PhantomParameterisation::SetMaterials(), G4PhantomParameterisation::SetNoVoxel(), G4PVParameterised::SetRegularStructureId(), G4PhantomParameterisation::SetSkipEqualMaterials(), G4LogicalVolume::SetSmartless(), G4LogicalVolume::SetVisAttributes(), and G4PhantomParameterisation::SetVoxelDimensions().
Referenced by Construct().
|
private |
Definition at line 407 of file DicomPartialDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 407 of file DicomPartialDetectorConstruction.cc
References deg, DicomDetectorConstruction::fAir, DicomDetectorConstruction::fContainer_logic, DicomDetectorConstruction::fContainer_phys, and DicomDetectorConstruction::fWorld_logic.
Referenced by Construct().
|
privatevirtual |
Definition at line 113 of file DicomPartialDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 113 of file DicomPartialDetectorConstruction.cc
References FatalErrorInArgument, test::fname, G4Exception(), and ReadPhantomDataFile().
Referenced by Construct().
Definition at line 148 of file DicomPartialDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 148 of file DicomPartialDetectorConstruction.cc
References G4UIcommand::ConvertToString(), FatalErrorInArgument, FatalException, fDimX, fDimY, fDimZ, fFilledIDs, fFilledMaxs, fFilledMins, fin, DicomDetectorConstruction::fMateIDs, fNVoxels, DicomDetectorConstruction::fNVoxelX, DicomDetectorConstruction::fNVoxelY, DicomDetectorConstruction::fNVoxelZ, fOffsetX, fOffsetY, fOffsetZ, G4cout, G4endl, G4Exception(), in, G4TrackingService::nMaterials, and ReadVoxelDensitiesPartial().
Referenced by ReadPhantomData().
|
private |
Definition at line 263 of file DicomPartialDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 263 of file DicomPartialDetectorConstruction.cc
References DicomDetectorConstruction::BuildMaterialWithChangingDensity(), cm3, G4UIcommand::ConvertToDouble(), G4UIcommand::ConvertToString(), DBL_MAX, e, fFilledMaxs, fFilledMins, matInfo::fId, DicomDetectorConstruction::fMateIDs, DicomDetectorConstruction::fMaterials, matInfo::fNvoxels, DicomDetectorConstruction::fNVoxelX, DicomDetectorConstruction::fNVoxelY, DicomDetectorConstruction::fNVoxelZ, DicomDetectorConstruction::fOriginalMaterials, fPhantomMaterials, matInfo::fSumdens, Acts::UnitConstants::g, G4cout, G4endl, G4Material::GetDensity(), G4Material::GetName(), and part.
Referenced by ReadPhantomDataFile().
|
private |
Definition at line 84 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 84 of file DicomPartialDetectorConstruction.hh
Referenced by ConstructPhantom(), and ReadPhantomDataFile().
|
private |
Definition at line 84 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 84 of file DicomPartialDetectorConstruction.hh
Referenced by ConstructPhantom(), and ReadPhantomDataFile().
|
private |
Definition at line 84 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 84 of file DicomPartialDetectorConstruction.hh
Referenced by ConstructPhantom(), and ReadPhantomDataFile().
Definition at line 80 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 80 of file DicomPartialDetectorConstruction.hh
Referenced by ConstructPhantom(), and ReadPhantomDataFile().
Definition at line 82 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 82 of file DicomPartialDetectorConstruction.hh
Referenced by ReadPhantomDataFile(), and ReadVoxelDensitiesPartial().
Definition at line 81 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 81 of file DicomPartialDetectorConstruction.hh
Referenced by ConstructPhantom(), ReadPhantomDataFile(), and ReadVoxelDensitiesPartial().
|
private |
Definition at line 83 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 83 of file DicomPartialDetectorConstruction.hh
Referenced by ConstructPhantom(), and ReadPhantomDataFile().
|
private |
Definition at line 85 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 85 of file DicomPartialDetectorConstruction.hh
Referenced by ReadPhantomDataFile().
|
private |
Definition at line 85 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 85 of file DicomPartialDetectorConstruction.hh
Referenced by ReadPhantomDataFile().
|
private |
Definition at line 85 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 85 of file DicomPartialDetectorConstruction.hh
Referenced by ReadPhantomDataFile().
|
private |
Definition at line 78 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 78 of file DicomPartialDetectorConstruction.hh
Referenced by ConstructPhantom().
|
private |
Definition at line 86 of file DicomPartialDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 86 of file DicomPartialDetectorConstruction.hh
Referenced by ConstructPhantom(), and ReadVoxelDensitiesPartial().