ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/extended/medical/DICOM/include/DicomPhantomZSliceHeader.hh>
Private Member Functions | |
G4bool | IsInteger (const G4String &) |
template<typename T > | |
void | Print (std::ostream &, const std::vector< T > &, const G4String &, G4int breakLine=-1) |
template<typename T > | |
T | G4s2n (const G4String &) |
template<typename T > | |
bool | CheckConsistency (const T &, const T &, G4String) |
G4bool | CheckMaterialExists (const G4String &mateName) |
Private Attributes | |
G4int | fNoVoxelX |
G4int | fNoVoxelY |
G4int | fNoVoxelZ |
G4double | fMinX |
G4double | fMinY |
G4double | fMinZ |
G4double | fMaxX |
G4double | fMaxY |
G4double | fMaxZ |
std::vector< G4String > | fMaterialNames |
G4String | fFilename |
std::vector< std::vector < G4double > > | fValues |
std::vector< std::vector< G4int > > | fMateIDs |
G4double | fSliceLocation |
DicomPhantomZSliceHeader class
Contains the meta data information corresponding to one or several Z slices (number of voxels, dimension)
History: 30.11.07 First version
Definition at line 50 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 50 of file DicomPhantomZSliceHeader.hh
DicomPhantomZSliceHeader::DicomPhantomZSliceHeader | ( | const G4String & | fname | ) |
Definition at line 41 of file DicomPhantomZSliceHeader.cc.
View newest version in sPHENIX GitHub at line 41 of file DicomPhantomZSliceHeader.cc
|
default |
DicomPhantomZSliceHeader::DicomPhantomZSliceHeader | ( | std::ifstream & | fin | ) |
Definition at line 57 of file DicomPhantomZSliceHeader.cc.
View newest version in sPHENIX GitHub at line 57 of file DicomPhantomZSliceHeader.cc
References CheckMaterialExists(), FatalErrorInArgument, fMaterialNames, fMaxX, fMaxY, fMaxZ, fMinX, fMinY, fMinZ, fNoVoxelX, fNoVoxelY, fNoVoxelZ, fSliceLocation, G4cout, G4endl, and G4Exception().
DicomPhantomZSliceHeader::~DicomPhantomZSliceHeader | ( | ) |
Definition at line 51 of file DicomPhantomZSliceHeader.cc.
View newest version in sPHENIX GitHub at line 51 of file DicomPhantomZSliceHeader.cc
Definition at line 130 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 130 of file DicomPhantomZSliceHeader.hh
References fMateIDs.
Referenced by DicomHandler::StoreData().
Definition at line 133 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 133 of file DicomPhantomZSliceHeader.hh
References fMateIDs.
Definition at line 134 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 134 of file DicomPhantomZSliceHeader.hh
References fMateIDs.
Definition at line 115 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 115 of file DicomPhantomZSliceHeader.hh
References fMaterialNames.
Referenced by DicomHandler::ReadFile().
|
inline |
Definition at line 119 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 119 of file DicomPhantomZSliceHeader.hh
References fMateIDs, and fValues.
Referenced by DicomHandler::StoreData().
Definition at line 122 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 122 of file DicomPhantomZSliceHeader.hh
References fValues.
Referenced by DicomHandler::StoreData().
Definition at line 125 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 125 of file DicomPhantomZSliceHeader.hh
References fValues.
|
inline |
Definition at line 126 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 126 of file DicomPhantomZSliceHeader.hh
References fValues.
|
inlineprivate |
Definition at line 203 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 203 of file DicomPhantomZSliceHeader.hh
References G4Exception(), and JustWarning.
Referenced by ReadDataFromFile().
Definition at line 106 of file DicomPhantomZSliceHeader.cc.
View newest version in sPHENIX GitHub at line 106 of file DicomPhantomZSliceHeader.cc
References G4NistManager::FindOrBuildMaterial(), G4Material::GetMaterialTable(), and G4NistManager::Instance().
Referenced by DicomPhantomZSliceHeader().
|
inline |
Definition at line 144 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 144 of file DicomPhantomZSliceHeader.hh
void DicomPhantomZSliceHeader::DumpToFile | ( | ) |
Definition at line 205 of file DicomPhantomZSliceHeader.cc.
View newest version in sPHENIX GitHub at line 205 of file DicomPhantomZSliceHeader.cc
References FatalException, fFilename, fMateIDs, fMaterialNames, fMaxX, fMaxY, fMaxZ, fMinX, fMinY, fMinZ, fNoVoxelX, fNoVoxelY, fNoVoxelZ, fValues, G4cout, G4endl, G4Exception(), Print(), and ReadDataFromFile().
|
inline |
Definition at line 181 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 181 of file DicomPhantomZSliceHeader.hh
References fMateIDs, fValues, and reverse.
Referenced by DicomHandler::StoreData().
Definition at line 193 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 193 of file DicomPhantomZSliceHeader.hh
References T.
|
inline |
Definition at line 139 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 139 of file DicomPhantomZSliceHeader.hh
References fMateIDs.
|
inline |
Definition at line 80 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 80 of file DicomPhantomZSliceHeader.hh
References fMaterialNames.
Referenced by operator+().
|
inline |
Definition at line 72 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 72 of file DicomPhantomZSliceHeader.hh
References fMaxX.
Referenced by DicomDetectorConstruction::ConstructPhantomContainer(), and operator+().
|
inline |
Definition at line 73 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 73 of file DicomPhantomZSliceHeader.hh
References fMaxY.
Referenced by DicomDetectorConstruction::ConstructPhantomContainer(), and operator+().
|
inline |
Definition at line 74 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 74 of file DicomPhantomZSliceHeader.hh
References fMaxZ.
Referenced by DicomPhantomZSliceMerged::CheckSlices(), DicomDetectorConstruction::ConstructPhantomContainer(), and operator+().
|
inline |
Definition at line 69 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 69 of file DicomPhantomZSliceHeader.hh
References fMinX.
Referenced by DicomDetectorConstruction::ConstructPhantomContainer(), and operator+().
|
inline |
Definition at line 70 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 70 of file DicomPhantomZSliceHeader.hh
References fMinY.
Referenced by DicomDetectorConstruction::ConstructPhantomContainer(), and operator+().
|
inline |
Definition at line 71 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 71 of file DicomPhantomZSliceHeader.hh
References fMinZ.
Referenced by DicomPhantomZSliceMerged::CheckSlices(), DicomDetectorConstruction::ConstructPhantomContainer(), and operator+().
|
inline |
Definition at line 67 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 67 of file DicomPhantomZSliceHeader.hh
References fNoVoxelX, fNoVoxelY, and fNoVoxelZ.
Referenced by DicomDetectorConstruction::ReadPhantomDataFile().
|
inline |
Definition at line 64 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 64 of file DicomPhantomZSliceHeader.hh
References fNoVoxelX.
Referenced by DicomDetectorConstruction::ConstructPhantomContainer(), and operator+().
|
inline |
Definition at line 65 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 65 of file DicomPhantomZSliceHeader.hh
References fNoVoxelY.
Referenced by DicomDetectorConstruction::ConstructPhantomContainer(), and operator+().
|
inline |
Definition at line 66 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 66 of file DicomPhantomZSliceHeader.hh
References fNoVoxelZ.
Referenced by DicomDetectorConstruction::ConstructPhantomContainer(), and operator+().
|
inline |
Definition at line 117 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 117 of file DicomPhantomZSliceHeader.hh
References fSliceLocation.
Referenced by DicomPhantomZSliceMerged::AddZSlice(), and DicomPhantomZSliceMerged::CheckSlices().
|
inline |
Definition at line 138 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 138 of file DicomPhantomZSliceHeader.hh
References fValues.
|
inline |
Definition at line 76 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 76 of file DicomPhantomZSliceHeader.hh
References fMaxX, fMinX, and fNoVoxelX.
Referenced by DicomDetectorConstruction::ConstructPhantomContainer().
|
inline |
Definition at line 77 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 77 of file DicomPhantomZSliceHeader.hh
References fMaxY, fMinY, and fNoVoxelY.
Referenced by DicomDetectorConstruction::ConstructPhantomContainer().
|
inline |
Definition at line 78 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 78 of file DicomPhantomZSliceHeader.hh
References fMaxZ, fMinZ, and fNoVoxelZ.
Referenced by DicomDetectorConstruction::ConstructPhantomContainer().
Definition at line 187 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 187 of file DicomPhantomZSliceHeader.hh
Referenced by ReadDataFromFile().
DicomPhantomZSliceHeader DicomPhantomZSliceHeader::operator+ | ( | const DicomPhantomZSliceHeader & | rhs | ) |
Definition at line 130 of file DicomPhantomZSliceHeader.cc.
View newest version in sPHENIX GitHub at line 130 of file DicomPhantomZSliceHeader.cc
References FatalErrorInArgument, fMaterialNames, fMaxX, fMaxY, fMaxZ, fMinX, fMinY, fMinZ, fNoVoxelX, fNoVoxelY, fNoVoxelZ, G4cerr, G4endl, G4Exception(), G4GeometryTolerance::GetInstance(), GetMaterialNames(), GetMaxX(), GetMaxY(), GetMaxZ(), GetMinX(), GetMinY(), GetMinZ(), GetNoVoxelX(), GetNoVoxelY(), GetNoVoxelZ(), G4GeometryTolerance::GetRadialTolerance(), max, min, SetMaxZ(), SetMinZ(), and SetNoVoxelZ().
void DicomPhantomZSliceHeader::operator+= | ( | const DicomPhantomZSliceHeader & | rhs | ) |
Definition at line 124 of file DicomPhantomZSliceHeader.cc.
View newest version in sPHENIX GitHub at line 124 of file DicomPhantomZSliceHeader.cc
|
inlineprivate |
Definition at line 215 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 215 of file DicomPhantomZSliceHeader.hh
References G4endl.
Referenced by DumpToFile().
void DicomPhantomZSliceHeader::ReadDataFromFile | ( | ) |
Definition at line 247 of file DicomPhantomZSliceHeader.cc.
View newest version in sPHENIX GitHub at line 247 of file DicomPhantomZSliceHeader.cc
References CheckConsistency(), FatalException, fFilename, fMateIDs, fMaterialNames, fMaxX, fMaxY, fMaxZ, fMinX, fMinY, fMinZ, fNoVoxelX, fNoVoxelY, fNoVoxelZ, fValues, G4Exception(), in, IsInteger(), k, and G4TrackingService::nMaterials.
Referenced by DumpToFile().
Definition at line 113 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 113 of file DicomPhantomZSliceHeader.hh
References fFilename.
Definition at line 93 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 93 of file DicomPhantomZSliceHeader.hh
References fMaterialNames.
Definition at line 87 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 87 of file DicomPhantomZSliceHeader.hh
References fMaxX.
Referenced by DicomHandler::ReadFile().
Definition at line 89 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 89 of file DicomPhantomZSliceHeader.hh
References fMaxY.
Referenced by DicomHandler::ReadFile().
Definition at line 91 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 91 of file DicomPhantomZSliceHeader.hh
References fMaxZ.
Referenced by DicomPhantomZSliceMerged::CheckSlices(), operator+(), and DicomHandler::ReadFile().
Definition at line 86 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 86 of file DicomPhantomZSliceHeader.hh
References fMinX.
Referenced by DicomHandler::ReadFile().
Definition at line 88 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 88 of file DicomPhantomZSliceHeader.hh
References fMinY.
Referenced by DicomHandler::ReadFile().
Definition at line 90 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 90 of file DicomPhantomZSliceHeader.hh
References fMinZ.
Referenced by DicomPhantomZSliceMerged::CheckSlices(), operator+(), and DicomHandler::ReadFile().
Definition at line 82 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 82 of file DicomPhantomZSliceHeader.hh
References fNoVoxelX.
Referenced by DicomHandler::ReadFile().
Definition at line 83 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 83 of file DicomPhantomZSliceHeader.hh
References fNoVoxelY.
Referenced by DicomHandler::ReadFile().
Definition at line 84 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 84 of file DicomPhantomZSliceHeader.hh
References fNoVoxelZ.
Referenced by operator+(), and DicomHandler::ReadFile().
Definition at line 114 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 114 of file DicomPhantomZSliceHeader.hh
References fSliceLocation.
Referenced by DicomHandler::StoreData().
|
private |
Definition at line 171 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 171 of file DicomPhantomZSliceHeader.hh
Referenced by DumpExcessMemory(), DumpToFile(), ReadDataFromFile(), and SetFilename().
|
private |
Definition at line 173 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 173 of file DicomPhantomZSliceHeader.hh
Referenced by AddMateID(), AddRow(), DumpExcessMemory(), DumpToFile(), FlipData(), GetMateIDs(), and ReadDataFromFile().
|
private |
Definition at line 169 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 169 of file DicomPhantomZSliceHeader.hh
Referenced by AddMaterial(), DicomPhantomZSliceHeader(), DumpToFile(), GetMaterialNames(), operator+(), ReadDataFromFile(), and SetMaterialNames().
|
private |
Definition at line 167 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 167 of file DicomPhantomZSliceHeader.hh
Referenced by DicomPhantomZSliceHeader(), DumpToFile(), GetMaxX(), GetVoxelHalfX(), operator+(), ReadDataFromFile(), and SetMaxX().
|
private |
Definition at line 167 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 167 of file DicomPhantomZSliceHeader.hh
Referenced by DicomPhantomZSliceHeader(), DumpToFile(), GetMaxY(), GetVoxelHalfY(), operator+(), ReadDataFromFile(), and SetMaxY().
|
private |
Definition at line 167 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 167 of file DicomPhantomZSliceHeader.hh
Referenced by DicomPhantomZSliceHeader(), DumpToFile(), GetMaxZ(), GetVoxelHalfZ(), operator+(), ReadDataFromFile(), and SetMaxZ().
|
private |
Definition at line 166 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 166 of file DicomPhantomZSliceHeader.hh
Referenced by DicomPhantomZSliceHeader(), DumpToFile(), GetMinX(), GetVoxelHalfX(), operator+(), ReadDataFromFile(), and SetMinX().
|
private |
Definition at line 166 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 166 of file DicomPhantomZSliceHeader.hh
Referenced by DicomPhantomZSliceHeader(), DumpToFile(), GetMinY(), GetVoxelHalfY(), operator+(), ReadDataFromFile(), and SetMinY().
|
private |
Definition at line 166 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 166 of file DicomPhantomZSliceHeader.hh
Referenced by DicomPhantomZSliceHeader(), DumpToFile(), GetMinZ(), GetVoxelHalfZ(), operator+(), ReadDataFromFile(), and SetMinZ().
|
private |
Definition at line 165 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 165 of file DicomPhantomZSliceHeader.hh
Referenced by DicomPhantomZSliceHeader(), DumpToFile(), GetNoVoxels(), GetNoVoxelX(), GetVoxelHalfX(), operator+(), ReadDataFromFile(), and SetNoVoxelX().
|
private |
Definition at line 165 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 165 of file DicomPhantomZSliceHeader.hh
Referenced by DicomPhantomZSliceHeader(), DumpToFile(), GetNoVoxels(), GetNoVoxelY(), GetVoxelHalfY(), operator+(), ReadDataFromFile(), and SetNoVoxelY().
|
private |
Definition at line 165 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 165 of file DicomPhantomZSliceHeader.hh
Referenced by DicomPhantomZSliceHeader(), DumpToFile(), GetNoVoxels(), GetNoVoxelZ(), GetVoxelHalfZ(), operator+(), ReadDataFromFile(), and SetNoVoxelZ().
|
private |
Definition at line 174 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 174 of file DicomPhantomZSliceHeader.hh
Referenced by DicomPhantomZSliceHeader(), GetSliceLocation(), and SetSliceLocation().
|
private |
Definition at line 172 of file DicomPhantomZSliceHeader.hh.
View newest version in sPHENIX GitHub at line 172 of file DicomPhantomZSliceHeader.hh
Referenced by AddRow(), AddValue(), DumpExcessMemory(), DumpToFile(), FlipData(), GetValues(), and ReadDataFromFile().