#ifndef AASTEPPINGACTIONHH #define AASTEPPINGACTIONHH #ifndef __CLING__ #include "G4UserSteppingAction.hh" #include "G4Event.hh" #include "G4RunManager.hh" #include "G4UserTrackingAction.hh" #include "G4Track.hh" #endif #include #include #include using namespace std; using namespace CLHEP; struct AASteppingAction : public G4UserSteppingAction { double total_length; bool simulate_photons; map trk_lengths_vs_pid; AASteppingAction(); virtual ~AASteppingAction(){} virtual void UserSteppingAction(const G4Step* step); }; #endif