/// SolidTrackingAction.hh /// Author: Benton Pahlka /// Copyright: 2008 (C) NEMO3/SuperNEMO - University of Texas at Austin #ifndef SolidTrackingAction_h #define SolidTrackingAction_h 1 #include "G4UserTrackingAction.hh" #include "G4Track.hh" #include "globals.hh" class SolidTrajectory; class SolidTrackingAction : public G4UserTrackingAction { public: SolidTrackingAction(); ~SolidTrackingAction(); void PreUserTrackingAction(const G4Track*); void PostUserTrackingAction(const G4Track*); inline G4ParticleDefinition* GetParticleName() const {return ParticleName;} public: G4int fParentId; private: G4ParticleDefinition* ParticleName; }; #endif