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);
112 if ((unstableIon) && (iVol == 1)) {
115 analysisManager->FillNtupleDColumn(
id,0,
double(pid));
116 analysisManager->FillNtupleDColumn(
id,1, time/
s);
117 analysisManager->FillNtupleDColumn(
id,2, weight);
118 analysisManager->AddNtupleRow(
id);
G4LogicalVolume * GetLogicTarget()
G4bool GetPDGStable() const
G4int GetPDGEncoding() const
const G4String & GetParticleName() const
G4int GetAtomicNumber() const
const G4VProcess * GetCreatorProcess() const
G4double GetKineticEnergy() const
double A(double temperature)
void PreUserTrackingAction(const G4Track *)
const G4ParticleDefinition * GetParticleDefinition() const
G4double GetGlobalTime() const
void PostUserTrackingAction(const G4Track *)
G4int GetAtomicMass() const
static G4RunManager * GetRunManager()
G4LogicalVolume * GetLogicalVolume() const
G4double energy(const ThreeVector &p, const G4double m)
G4VPhysicalVolume * GetVolume() const
G4double GetWeight() const
Detector construction class to define materials and geometry.
G4double GetPDGCharge() const
G4CsvAnalysisManager G4AnalysisManager
G4int GetProcessSubType() const
G4Run * GetNonConstCurrentRun() const
G4LogicalVolume * GetLogicDetector()
void ParticleCount(G4String, G4double)