34 #include "TrackingAction.hh"
36 #include "DetectorConstruction.hh"
38 #include "HistoManager.hh"
57 Run* run =
static_cast<Run*
>(
89 analysisManager->FillNtupleDColumn(
id,0,
double(pid));
90 analysisManager->FillNtupleDColumn(
id,1,
double(Z));
91 analysisManager->FillNtupleDColumn(
id,2,
double(A));
92 analysisManager->FillNtupleDColumn(
id,3, energy);
93 analysisManager->FillNtupleDColumn(
id,4, time/
s);
94 analysisManager->FillNtupleDColumn(
id,5, weight);
95 analysisManager->AddNtupleRow(
id);
100 analysisManager->FillNtupleDColumn(
id,0,
double(pid));
101 analysisManager->FillNtupleDColumn(
id,1, energy);
102 analysisManager->FillNtupleDColumn(
id,2, time/
s);
103 analysisManager->FillNtupleDColumn(
id,3, weight);
104 analysisManager->AddNtupleRow(
id);
106 analysisManager->FillH1(6, energy, weight);
107 analysisManager->FillH1(7, energy, weight);
108 analysisManager->FillH1(8, energy, weight);
114 if ((unstableIon) && (iVol == 1)) {
117 analysisManager->FillNtupleDColumn(
id,0,
double(pid));
118 analysisManager->FillNtupleDColumn(
id,1, time/
s);
119 analysisManager->FillNtupleDColumn(
id,2, weight);
120 analysisManager->AddNtupleRow(
id);
static G4RunManager * GetRunManager()
G4double GetKineticEnergy() const
G4int GetAtomicNumber() const
G4LogicalVolume * GetLogicalVolume() const
const G4String & GetParticleName() const
G4double GetPDGCharge() const
const G4ParticleDefinition * GetParticleDefinition() const
void ParticleCount(G4String, G4double)
void PostUserTrackingAction(const G4Track *)
G4double GetWeight() const
G4LogicalVolume * GetLogicTarget()
G4LogicalVolume * GetLogicDetector()
G4double GetGlobalTime() const
double A(double temperature)
G4CsvAnalysisManager G4AnalysisManager
G4Run * GetNonConstCurrentRun() const
G4bool GetPDGStable() const
DetectorConstruction * fDetector
const G4VProcess * GetCreatorProcess() const
G4int GetAtomicMass() const
G4int GetPDGEncoding() const
void PreUserTrackingAction(const G4Track *)
Simple detector construction with a box volume placed in a world.
G4VPhysicalVolume * GetVolume() const
G4int GetProcessSubType() const