35 #include "TrackingAction.hh"
36 #include "HistoManager.hh"
61 analysis->FillH1(1, r);
67 analysis->FillH1(2, costheta);
71 G4double phi = std::atan2(ur.y(), ur.x());
72 if (phi < 0.) phi +=
twopi;
73 analysis->FillH1(3, phi);
80 analysis->FillH1(4, cosalpha);
88 G4double psi = std::atan2(u2*um, u1*um);
89 if (psi < 0.) psi +=
twopi;
90 analysis->FillH1(5, psi);
96 analysis->FillH1(6, cosalphaM);
97 analysis->FillH1(7, psiM);
const G4ThreeVector & GetVertexPosition() const
static constexpr double um
void PostUserTrackingAction(const G4Track *)
static constexpr double twopi
G4CsvAnalysisManager G4AnalysisManager
const G4ThreeVector & GetMomentumDirection() const
void PreUserTrackingAction(const G4Track *)