38 #include "SteppingAction.hh"
39 #include "RunAction.hh"
40 #include "DetectorConstruction.hh"
41 #include "Analysis.hh"
49 :fRun(run),fDetector(det)
72 G4int matVoxelPRE = -1;
73 G4int matVoxelPOST = -1;
93 if (preReplicaNumber>0)
101 if (postReplicaNumber>0)
124 (matVoxelPOST == 1)) )
133 man->AddNtupleRow(1);
148 localPosition1 +
G4UniformRand()*(localPosition2-localPosition1);
151 man->FillNtupleDColumn(2,0,localPosition.
x()/
micrometer);
152 man->FillNtupleDColumn(2,1,localPosition.
y()/
micrometer);
153 man->AddNtupleRow(2);
158 ( (matVoxelPOST==1) ||
160 (matVoxelPOST==2) ) )
166 man->AddNtupleRow(3);
173 if (matVoxelPRE == 2)
179 else if (matVoxelPRE == 1)
const DetectorConstruction * fDetector
static constexpr double micrometer
const G4VTouchable * GetTouchable() const
G4LogicalVolume * GetLogicalVolume() const
G4double GetMassCytoplasm() const
G4StepPoint * GetPreStepPoint() const
static constexpr double keV
void AddDoseBox(G4int i, G4double x)
G4VPhysicalVolume * GetPhysicalVolume() const
static constexpr double kg
const G4LogicalVolume * GetLogicalCollDetYoke() const
const G4TouchableHandle & GetTouchableHandle() const
const G4LogicalVolume * GetLogicalPolyprop() const
G4ParticleDefinition * GetDefinition() const
G4double GetStepLength() const
const G4ThreeVector & GetPosition() const
G4double GetMassNucleus() const
static CellParameterisation * Instance()
const G4AffineTransform & GetTopTransform() const
const G4LogicalVolume * GetLogicalCollDetGap4() const
G4Track * GetTrack() const
G4double GetTotalEnergyDeposit() const
static constexpr double eV
G4CsvAnalysisManager G4AnalysisManager
G4StepPoint * GetPostStepPoint() const
void UserSteppingAction(const G4Step *)
G4double GetKineticEnergy() const
const CellParameterisation * fMyCellParameterisation
static G4Alpha * AlphaDefinition()
virtual G4int GetReplicaNumber(G4int depth=0) const
void AddDoseC(G4double dose)
G4int GetTissueType(G4int i) const
static constexpr double joule
const G4LogicalVolume * GetLogicalIsobutane() const
virtual const G4NavigationHistory * GetHistory() const
const G4DynamicParticle * GetDynamicParticle() const
void AddDoseN(G4double dose)
Simple detector construction with a box volume placed in a world.
const G4LogicalVolume * GetLogicalKgm() const