34 #include "TrackingAction.hh"
36 #include "HistoManager.hh"
38 #include "EventAction.hh"
53 fEvent(EA),fTrackMessenger(0),
112 if (ih) G4AnalysisManager::Instance()->FillH1(ih, Ekin);
157 const std::vector<const G4Track*>* secondaries
159 size_t nbtrk = (*secondaries).size();
164 G4double EkinTot = 0., EkinVis = 0.;
166 for (
size_t itr=0; itr<nbtrk; itr++) {
167 const G4Track* trk = (*secondaries)[itr];
173 if (visible) EkinVis += Ekin;
179 analysis->FillH1(6,EkinTot);
180 analysis->FillH1(7,Pbal);
188 analysis->FillH1(8,time);
static G4RunManager * GetRunManager()
G4double GetKineticEnergy() const
ParticleList decay(Cluster *const c)
Carries out a cluster decay.
G4double GetPDGLifeTime() const
void SetTimeWindow(G4double, G4double)
const std::vector< const G4Track * > * GetSecondaryInCurrentStep() const
const G4String & GetParticleName() const
G4double GetPDGCharge() const
G4double condition(const G4ErrorSymMatrix &m)
G4ParticleDefinition * GetDefinition() const
void ParticleCount(G4String, G4double)
G4double GetPDGMass() const
void PostUserTrackingAction(const G4Track *)
G4ThreeVector GetMomentum() const
static G4AntiNeutrinoE * AntiNeutrinoE()
G4double GetGlobalTime() const
static G4Positron * Positron()
G4CsvAnalysisManager G4AnalysisManager
const G4Step * GetStep() const
void CountInTimeWindow(G4String, G4bool, G4bool, G4bool)
static G4Electron * Electron()
G4Run * GetNonConstCurrentRun() const
void PrimaryTiming(G4double)
void SetTimeWindow(G4double, G4double)
void EventTiming(G4double)
static G4NeutrinoE * NeutrinoE()
void AddEvisible(G4double val)
virtual void rndmSaveThisEvent()
void AddDecayChain(G4String val)
void SetTrackStatus(const G4TrackStatus aTrackStatus)
TrackingMessenger * fTrackMessenger
Definition of the TrackingMessenger class.
void PreUserTrackingAction(const G4Track *)