Geant4
10.00.p01
|
#include <ML2ExpVoxels.hh>
Public Member Functions | |
CML2ExpVoxels (G4bool bHasExperimentalData, G4int saving_in_Selected_Voxels_every_events, G4int seed, G4String FileExperimentalData, G4String FileExperimentalDataOut) | |
~CML2ExpVoxels (void) | |
void | add (G4ThreeVector pos, G4double depEnergy, G4double density) |
void | add (const G4Step *aStep) |
std::vector< Svoxel > | getVoxels () |
G4int | getMinNumberOfEvents () |
G4int | getMaxNumberOfEvents () |
G4bool | loadData () |
void | setRecycling (int recycling) |
void | saveResults (void) |
void | resetNEventsInVoxels () |
Private Member Functions | |
void | saveHeader () |
void | calculateNormalizedEd (std::vector< Svoxel > &voxels) |
Definition at line 51 of file ML2ExpVoxels.hh.
CML2ExpVoxels::CML2ExpVoxels | ( | G4bool | bHasExperimentalData, |
G4int | saving_in_Selected_Voxels_every_events, | ||
G4int | seed, | ||
G4String | FileExperimentalData, | ||
G4String | FileExperimentalDataOut | ||
) |
Definition at line 48 of file ML2ExpVoxels.cc.
References a, bHasExperimentalData, fullFileIn, fullFileOut, maxZone, minZone, nParticle, nRecycling, nTotalEvents, saving_in_Selected_Voxels_every_events, and seedName.
CML2ExpVoxels::~CML2ExpVoxels | ( | void | ) |
Definition at line 70 of file ML2ExpVoxels.cc.
References chi2Factor, nVoxelsgeometry, startCurve, and stopCurve.
void CML2ExpVoxels::add | ( | G4ThreeVector | pos, |
G4double | depEnergy, | ||
G4double | density | ||
) |
void CML2ExpVoxels::add | ( | const G4Step * | aStep | ) |
Definition at line 165 of file ML2ExpVoxels.cc.
References density, Sparticle::dir, G4Track::GetDefinition(), G4Material::GetDensity(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetMaterial(), G4StepPoint::GetMomentumDirection(), G4ParticleDefinition::GetPDGEncoding(), G4StepPoint::GetPhysicalVolume(), G4StepPoint::GetPosition(), G4Step::GetPreStepPoint(), G4Step::GetTotalEnergyDeposit(), G4Step::GetTrack(), Sparticle::kinEnergy, maxZone, minZone, Sparticle::nPrimaryPart, nRecycling, nTotalEvents, nVoxelsgeometry, Sparticle::partPDGE, pos, Sparticle::pos, Sparticle::primaryParticlePDGE, saveResults(), saving_in_Selected_Voxels_every_events, Sparticle::volumeId, Sparticle::volumeName, and voxels.
|
private |
Definition at line 284 of file ML2ExpVoxels.cc.
References chi2Factor, d2, n, nCurves, startCurve, and stopCurve.
Referenced by saveResults().
G4int CML2ExpVoxels::getMaxNumberOfEvents | ( | ) |
Definition at line 234 of file ML2ExpVoxels.cc.
References n, nVoxelsgeometry, and voxels.
Referenced by CML2Convergence::convergenceCriteria().
G4int CML2ExpVoxels::getMinNumberOfEvents | ( | ) |
Definition at line 225 of file ML2ExpVoxels.cc.
|
inline |
Definition at line 59 of file ML2ExpVoxels.hh.
References voxels.
G4bool CML2ExpVoxels::loadData | ( | void | ) |
Definition at line 77 of file ML2ExpVoxels.cc.
References a, bHasExperimentalData, chi2Factor, Svoxel::depEnergy, Svoxel::depEnergy2, Svoxel::depEnergyNorm, Svoxel::depEnergyNormError, Svoxel::expDose, fullFileIn, G4endl, Svoxel::halfSize, headerText1, headerText2, joule, kg, maxZone, minZone, nCurves, Svoxel::nEvents, nVoxelsgeometry, pos, Svoxel::pos, resetNEventsInVoxels(), startCurve, stopCurve, Svoxel::volumeId, and voxels.
Referenced by CML2Convergence::CML2Convergence().
void CML2ExpVoxels::resetNEventsInVoxels | ( | ) |
Definition at line 159 of file ML2ExpVoxels.cc.
References nVoxelsgeometry, and voxels.
Referenced by CML2Convergence::convergenceCriteria(), and loadData().
|
private |
Definition at line 243 of file ML2ExpVoxels.cc.
References chi2Factor, fullFileOut, G4endl, headerText1, nCurves, seedName, startCurve, and stopCurve.
Referenced by saveResults().
void CML2ExpVoxels::saveResults | ( | void | ) |
Definition at line 262 of file ML2ExpVoxels.cc.
References calculateNormalizedEd(), fullFileOut, G4endl, joule, kg, mm, nTotalEvents, saveHeader(), seedName, and voxels.
Referenced by add(), and CML2Convergence::saveResults().
|
inline |
Definition at line 66 of file ML2ExpVoxels.hh.
References nRecycling.
Referenced by CML2Convergence::CML2Convergence().
|
private |
Definition at line 83 of file ML2ExpVoxels.hh.
Referenced by CML2ExpVoxels(), and loadData().
|
private |
Definition at line 77 of file ML2ExpVoxels.hh.
Referenced by calculateNormalizedEd(), loadData(), saveHeader(), and ~CML2ExpVoxels().
|
private |
Definition at line 78 of file ML2ExpVoxels.hh.
Referenced by CML2ExpVoxels(), and loadData().
|
private |
Definition at line 78 of file ML2ExpVoxels.hh.
Referenced by CML2ExpVoxels(), saveHeader(), and saveResults().
|
private |
Definition at line 80 of file ML2ExpVoxels.hh.
|
private |
Definition at line 78 of file ML2ExpVoxels.hh.
Referenced by loadData(), and saveHeader().
|
private |
Definition at line 78 of file ML2ExpVoxels.hh.
Referenced by loadData().
|
private |
Definition at line 79 of file ML2ExpVoxels.hh.
|
private |
Definition at line 74 of file ML2ExpVoxels.hh.
Referenced by add(), CML2ExpVoxels(), and loadData().
|
private |
Definition at line 74 of file ML2ExpVoxels.hh.
Referenced by add(), CML2ExpVoxels(), and loadData().
|
private |
Definition at line 75 of file ML2ExpVoxels.hh.
Referenced by calculateNormalizedEd(), loadData(), and saveHeader().
|
private |
Definition at line 81 of file ML2ExpVoxels.hh.
Referenced by CML2ExpVoxels().
|
private |
Definition at line 82 of file ML2ExpVoxels.hh.
Referenced by add(), CML2ExpVoxels(), and setRecycling().
|
private |
Definition at line 82 of file ML2ExpVoxels.hh.
Referenced by add(), CML2ExpVoxels(), and saveResults().
|
private |
Definition at line 73 of file ML2ExpVoxels.hh.
Referenced by add(), getMaxNumberOfEvents(), loadData(), resetNEventsInVoxels(), and ~CML2ExpVoxels().
|
private |
Definition at line 82 of file ML2ExpVoxels.hh.
Referenced by add(), and CML2ExpVoxels().
|
private |
Definition at line 79 of file ML2ExpVoxels.hh.
Referenced by CML2ExpVoxels(), saveHeader(), and saveResults().
|
private |
Definition at line 76 of file ML2ExpVoxels.hh.
Referenced by calculateNormalizedEd(), loadData(), saveHeader(), and ~CML2ExpVoxels().
|
private |
Definition at line 76 of file ML2ExpVoxels.hh.
Referenced by calculateNormalizedEd(), loadData(), saveHeader(), and ~CML2ExpVoxels().
|
private |
Definition at line 72 of file ML2ExpVoxels.hh.
Referenced by add(), getMaxNumberOfEvents(), getMinNumberOfEvents(), getVoxels(), loadData(), resetNEventsInVoxels(), and saveResults().