LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
G4BadIdeaAction.h
Go to the documentation of this file.
1 
13 //
16 
17 #ifndef LArG4_G4BADIDEAACTION_H
18 #define LArG4_G4BADIDEAACTION_H
19 
22 #include "nug4/G4Base/UserAction.h"
23 
24 // Forward declarations.
25 class G4Step;
26 
27 namespace larg4 {
28 
30  public:
31  // Standard constructors and destructors;
32  G4BadIdeaAction(int);
33  virtual ~G4BadIdeaAction();
34 
35  // UserActions method that we'll override, to obtain access to
36  // Geant4's steps
37  virtual void SteppingAction(const G4Step*);
38 
39  private:
40  art::ServiceHandle<geo::Geometry const> fGeo; //< handle to geometry service
42  };
43 
44 } // namespace LArG4
45 
46 #endif // LArG4_G4BADIDEAACTION_H
art::ServiceHandle< geo::Geometry const > fGeo
Geant4 interface.
see below
virtual void SteppingAction(const G4Step *)
G4UserSteppingAction interface.
art framework interface to geometry description