Geant4
10.01
|
#include <ML2SDWithVoxels.hh>
Private Member Functions | |
void | saveData (G4String Filename, Svoxel ***voxels) |
G4int | getIdFromVolumeName (G4String name) |
Additional Inherited Members | |
Protected Member Functions inherited from G4VSensitiveDetector | |
virtual G4int | GetCollectionID (G4int i) |
Protected Attributes inherited from G4VSensitiveDetector | |
G4CollectionNameVector | collectionName |
G4String | SensitiveDetectorName |
G4String | thePathName |
G4String | fullPathName |
G4int | verboseLevel |
G4bool | active |
G4VReadOutGeometry * | ROgeometry |
G4VSDFilter * | filter |
Definition at line 55 of file ML2SDWithVoxels.hh.
CML2SDWithVoxels::CML2SDWithVoxels | ( | G4String | name, |
G4int | saving_in_ROG_Voxels_every_events, | ||
G4int | seed, | ||
G4String | ROGOutFile, | ||
G4bool | bSaveROG, | ||
G4ThreeVector | centre, | ||
G4ThreeVector | halfSize, | ||
G4int | NumberOfVoxelsAlongX, | ||
G4int | NumberOfVoxelsAlongY, | ||
G4int | NumberOfVoxelsAlongZ | ||
) |
Definition at line 49 of file ML2SDWithVoxels.cc.
References a, bActive, bSaveROG, centre, density, Svoxel::depEnergy, Svoxel::depEnergy2, Svoxel::depEnergyNorm, Svoxel::depEnergyNormError, Svoxel::expDose, fullOutFileData, fullOutFileDataSingle, halfSize, Svoxel::halfSize, halfXVoxelDimensionX, halfXVoxelDimensionY, halfXVoxelDimensionZ, iz, Svoxel::nEvents, nParticle, nParticleValatile, nRecycling, nSingleTotalEvents, nTotalEvents, NumberOfVoxelsAlongX, NumberOfVoxelsAlongY, NumberOfVoxelsAlongZ, Svoxel::pos, saving_in_ROG_Voxels_every_events, Svoxel::volumeId, voxelMass, voxelsSingle, voxelsSum, and voxelVolume.
CML2SDWithVoxels::~CML2SDWithVoxels | ( | void | ) |
Definition at line 140 of file ML2SDWithVoxels.cc.
References bSaveROG, voxelsSingle, and voxelsSum.
|
inlinevirtual |
Reimplemented from G4VSensitiveDetector.
Definition at line 62 of file ML2SDWithVoxels.hh.
Definition at line 210 of file ML2SDWithVoxels.cc.
References volumeNameIdLink.
Referenced by ProcessHits().
|
inline |
Definition at line 63 of file ML2SDWithVoxels.hh.
References nTotalEvents.
Referenced by CML2Ph_FullWater::getTotalNumberOfEvents(), and CML2Ph_BoxInBox::getTotalNumberOfEvents().
|
inlinevirtual |
Reimplemented from G4VSensitiveDetector.
Definition at line 61 of file ML2SDWithVoxels.hh.
|
virtual |
Implements G4VSensitiveDetector.
Definition at line 172 of file ML2SDWithVoxels.cc.
References bActive, bSaveROG, density, Svoxel::depEnergy, Svoxel::depEnergy2, G4Material::GetDensity(), getIdFromVolumeName(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetMaterial(), G4Material::GetName(), G4StepPoint::GetPhysicalVolume(), G4Step::GetPreStepPoint(), G4TouchableHistory::GetReplicaNumber(), G4Step::GetTotalEnergyDeposit(), iz, Svoxel::nEvents, nRecycling, nSingleTotalEvents, nTotalEvents, save(), saving_in_ROG_Voxels_every_events, Svoxel::volumeId, voxelMass, voxelsSingle, voxelsSum, and voxelVolume.
void CML2SDWithVoxels::resetVoxelsSingle | ( | ) |
Definition at line 148 of file ML2SDWithVoxels.cc.
References centre, Svoxel::depEnergy, Svoxel::depEnergy2, Svoxel::depEnergyNorm, Svoxel::depEnergyNormError, Svoxel::expDose, halfSize, Svoxel::halfSize, halfXVoxelDimensionX, halfXVoxelDimensionY, halfXVoxelDimensionZ, iz, Svoxel::nEvents, nSingleTotalEvents, NumberOfVoxelsAlongX, NumberOfVoxelsAlongY, NumberOfVoxelsAlongZ, Svoxel::pos, Svoxel::volumeId, and voxelsSingle.
Referenced by CML2PhantomConstruction::applyNewCentre(), and CML2PhantomConstruction::resetSensDet().
void CML2SDWithVoxels::save | ( | ) |
Definition at line 222 of file ML2SDWithVoxels.cc.
References fullOutFileData, fullOutFileDataSingle, G4endl, nSingleTotalEvents, nTotalEvents, saveData(), voxelsSingle, and voxelsSum.
Referenced by ProcessHits(), and CML2PhantomConstruction::saveData().
Definition at line 231 of file ML2SDWithVoxels.cc.
References centre, Svoxel::depEnergy, Svoxel::depEnergy2, G4endl, halfSize, halfXVoxelDimensionX, halfXVoxelDimensionY, halfXVoxelDimensionZ, iz, joule, kg, mm, Svoxel::nEvents, nTotalEvents, NumberOfVoxelsAlongX, NumberOfVoxelsAlongY, NumberOfVoxelsAlongZ, Svoxel::pos, Svoxel::volumeId, and volumeNameIdLink.
Referenced by save().
|
inline |
Definition at line 64 of file ML2SDWithVoxels.hh.
References bActive.
void CML2SDWithVoxels::setFullOutFileDataSingle | ( | G4String | val | ) |
Definition at line 278 of file ML2SDWithVoxels.cc.
References fullOutFileData, and fullOutFileDataSingle.
Referenced by CML2PhantomConstruction::setNewName().
|
inline |
Definition at line 66 of file ML2SDWithVoxels.hh.
References nRecycling.
|
inline |
Definition at line 67 of file ML2SDWithVoxels.hh.
References volumeNameIdLink.
Referenced by CML2PhantomConstruction::Construct().
|
private |
Definition at line 81 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), ProcessHits(), and setActive().
|
private |
Definition at line 81 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), ProcessHits(), and ~CML2SDWithVoxels().
|
private |
Definition at line 74 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), resetVoxelsSingle(), and saveData().
|
private |
Definition at line 82 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), and ProcessHits().
|
private |
Definition at line 79 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), save(), and setFullOutFileDataSingle().
|
private |
Definition at line 79 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), save(), and setFullOutFileDataSingle().
|
private |
Definition at line 74 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), resetVoxelsSingle(), and saveData().
|
private |
Definition at line 76 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), resetVoxelsSingle(), and saveData().
|
private |
Definition at line 76 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), resetVoxelsSingle(), and saveData().
|
private |
Definition at line 76 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), resetVoxelsSingle(), and saveData().
|
private |
Definition at line 80 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels().
|
private |
Definition at line 80 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels().
|
private |
Definition at line 80 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), ProcessHits(), and setRecycling().
|
private |
Definition at line 80 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), ProcessHits(), resetVoxelsSingle(), and save().
|
private |
Definition at line 80 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), getTotalNumberOfEvents(), ProcessHits(), save(), and saveData().
|
private |
Definition at line 77 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), resetVoxelsSingle(), and saveData().
|
private |
Definition at line 77 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), resetVoxelsSingle(), and saveData().
|
private |
Definition at line 77 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), resetVoxelsSingle(), and saveData().
|
private |
Definition at line 75 of file ML2SDWithVoxels.hh.
|
private |
Definition at line 80 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), and ProcessHits().
|
private |
Definition at line 83 of file ML2SDWithVoxels.hh.
Referenced by getIdFromVolumeName(), saveData(), and setVolumeNameIdLink().
|
private |
Definition at line 82 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), and ProcessHits().
|
private |
Definition at line 78 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), ProcessHits(), resetVoxelsSingle(), save(), and ~CML2SDWithVoxels().
|
private |
Definition at line 78 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), ProcessHits(), save(), and ~CML2SDWithVoxels().
|
private |
Definition at line 82 of file ML2SDWithVoxels.hh.
Referenced by CML2SDWithVoxels(), and ProcessHits().