ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/extended/medical/dna/dnadamage1/include/DNAParser.hh>
Classes | |
struct | Molecule |
Public Types | |
using | GeoData = std::unordered_map< const G4VPhysicalVolume *, DNAVolumeType > |
Public Member Functions | |
DNAParser () | |
~DNAParser () | |
G4LogicalVolume * | CreateLogicVolume () |
G4double | GetVoxelSize () |
std::unique_ptr< G4MoleculeGun > | ReleaseMoleculeGun () |
GeoData | ReleaseGeoData () |
void | ParseFile (const std::string &) |
Private Member Functions | |
void | EnumParser () |
G4VSolid * | CreateCutSolid (G4Orb *, Molecule &, std::vector< Molecule > &, G4bool) |
Private Attributes | |
G4double | fSize |
std::string | fGeoName |
std::map< G4String, G4double > | fRadiusMap |
std::map< G4String, G4double > | fWaterRadiusMap |
std::vector< Molecule > | fMolecules |
G4Material * | fpWater |
std::unique_ptr< G4MoleculeGun > | fpGun |
std::map< std::string, DNAVolumeType > | fEnumMap |
GeoData | fGeometryMap |
Definition at line 48 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 48 of file DNAParser.hh
using DNAParser::GeoData = std::unordered_map<const G4VPhysicalVolume*, DNAVolumeType> |
Definition at line 52 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 52 of file DNAParser.hh
DNAParser::DNAParser | ( | ) |
Definition at line 80 of file DNAParser.cc.
View newest version in sPHENIX GitHub at line 80 of file DNAParser.cc
References EnumParser().
|
default |
|
private |
Definition at line 397 of file DNAParser.cc.
View newest version in sPHENIX GitHub at line 397 of file DNAParser.cc
References kdfinder::abs(), d, FatalException, DNAParser::Molecule::fPosition, DNAParser::Molecule::fRadius, DNAParser::Molecule::fRadiusWater, fSize, G4Exception(), CLHEP::Hep3Vector::getR(), CLHEP::Hep3Vector::getX(), CLHEP::Hep3Vector::getY(), CLHEP::Hep3Vector::getZ(), G4Box::GetZHalfLength(), nm, phi, CLHEP::pi, pos(), CLHEP::HepRotation::rotate(), CLHEP::Hep3Vector::rotateZ(), theta(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by CreateLogicVolume().
G4LogicalVolume * DNAParser::CreateLogicVolume | ( | ) |
Definition at line 95 of file DNAParser.cc.
View newest version in sPHENIX GitHub at line 95 of file DNAParser.cc
References CreateCutSolid(), e, FatalException, fEnumMap, fGeometryMap, fGeoName, G4NistManager::FindOrBuildMaterial(), fMolecules, fpWater, fRadiusMap, fSize, fWaterRadiusMap, G4Exception(), G4NistManager::Instance(), it, nm, position, and radius.
|
private |
Definition at line 684 of file DNAParser.cc.
View newest version in sPHENIX GitHub at line 684 of file DNAParser.cc
References base_adenine, base_adenine_water, base_cytosine, base_cytosine_water, base_guanine, base_guanine_water, base_thymine, base_thymine_water, deoxyribose1, deoxyribose1_water, deoxyribose2, deoxyribose2_water, fEnumMap, histone, phosphate1, phosphate1_water, phosphate2, phosphate2_water, physWorld, and VoxelStraight.
Referenced by DNAParser().
G4double DNAParser::GetVoxelSize | ( | ) |
void DNAParser::ParseFile | ( | const std::string & | fileName | ) |
Definition at line 257 of file DNAParser.cc.
View newest version in sPHENIX GitHub at line 257 of file DNAParser.cc
References base_adenine, base_cytosine, base_guanine, base_thymine, deoxyribose1, deoxyribose2, FatalException, fEnumMap, fGeoName, file, fMolecules, fpGun, fRadiusMap, fSize, fWaterRadiusMap, G4Exception(), histone, material(), molecule(), nm, phosphate1, phosphate2, picosecond, radius, x, y, and z.
|
inline |
Definition at line 63 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 63 of file DNAParser.hh
References fGeometryMap.
|
inline |
Definition at line 58 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 58 of file DNAParser.hh
References fpGun.
|
private |
Definition at line 79 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 79 of file DNAParser.hh
Referenced by CreateLogicVolume(), EnumParser(), and ParseFile().
|
private |
Definition at line 80 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 80 of file DNAParser.hh
Referenced by CreateLogicVolume(), and ReleaseGeoData().
|
private |
Definition at line 73 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 73 of file DNAParser.hh
Referenced by CreateLogicVolume(), and ParseFile().
|
private |
Definition at line 76 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 76 of file DNAParser.hh
Referenced by CreateLogicVolume(), and ParseFile().
|
private |
Definition at line 78 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 78 of file DNAParser.hh
Referenced by ParseFile(), and ReleaseMoleculeGun().
|
private |
Definition at line 77 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 77 of file DNAParser.hh
Referenced by CreateLogicVolume().
Definition at line 74 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 74 of file DNAParser.hh
Referenced by CreateLogicVolume(), and ParseFile().
|
private |
Definition at line 72 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 72 of file DNAParser.hh
Referenced by CreateCutSolid(), CreateLogicVolume(), and ParseFile().
Definition at line 75 of file DNAParser.hh.
View newest version in sPHENIX GitHub at line 75 of file DNAParser.hh
Referenced by CreateLogicVolume(), and ParseFile().