34 #include "TrackingAction.hh"
35 #include "HistoManager.hh"
59 if (phi < 0.) phi +=
twopi;
65 G4double dr = analysisManager->GetH1Width(2);
69 analysisManager->FillH1(1,ekin);
70 if (dv > 0.) analysisManager->FillH1(2, r, 1./dv);
71 analysisManager->FillH1(3,cost);
72 analysisManager->FillH1(4,phi);
73 analysisManager->FillH2(1,x,
y);
74 analysisManager->FillH2(2,
y,
z);
75 analysisManager->FillH2(3,
z,x);
76 analysisManager->FillH2(4,phi,cost);
77 analysisManager->FillH2(5,phi,theta);
80 analysisManager->FillNtupleIColumn(0,pid);
81 analysisManager->FillNtupleDColumn(1,ekin);
82 analysisManager->FillNtupleDColumn(2,x);
83 analysisManager->FillNtupleDColumn(3,
y);
84 analysisManager->FillNtupleDColumn(4,
z);
85 analysisManager->FillNtupleDColumn(5,theta);
86 analysisManager->FillNtupleDColumn(6,phi);
87 analysisManager->FillNtupleDColumn(7,weight);
88 analysisManager->AddNtupleRow();
G4double GetKineticEnergy() const
G4double GetWeight() const
static constexpr double twopi
const G4ThreeVector & GetPosition() const
G4CsvAnalysisManager G4AnalysisManager
const G4ThreeVector & GetMomentumDirection() const
const G4DynamicParticle * GetDynamicParticle() const
void PreUserTrackingAction(const G4Track *)