5#ifndef G4UserActions_MomentumConservation_H
6#define G4UserActions_MomentumConservation_H
8#include "G4UserEventAction.hh"
9#include "G4UserSteppingAction.hh"
20 public G4UserSteppingAction,
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
virtual void UserSteppingAction(const G4Step *) override
double _sum_edep
Sum of energy deposited in the detector.
double _sum_eesc
Sum of energy escaping the detector (volume = 0)
virtual void EndOfEventAction(const G4Event *) override