ATLAS Offline Software
PhotonKiller.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef G4UserActions_PhotonKiller_H
6 #define G4UserActions_PhotonKiller_H
7 
8 // Geant4 includes
9 #include "G4UserSteppingAction.hh"
10 #include "G4UserTrackingAction.hh"
11 
12 namespace G4UA
13 {
14 
16  class PhotonKiller : public G4UserSteppingAction, public G4UserTrackingAction
17  {
18  public:
19  PhotonKiller();
20  virtual void UserSteppingAction(const G4Step*) override final;
21  virtual void PreUserTrackingAction(const G4Track*) override final;
22  private:
23  int m_count;
24  float m_energy;
25  }; // class PhotonKiller
26 
27 } // namespace G4UA
28 
29 #endif
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
G4UA::PhotonKiller::UserSteppingAction
virtual void UserSteppingAction(const G4Step *) override final
Definition: PhotonKiller.cxx:30
G4UA::PhotonKiller::m_count
int m_count
Definition: PhotonKiller.h:23
G4UA::PhotonKiller::m_energy
float m_energy
Definition: PhotonKiller.h:24
G4UA::PhotonKiller
NEEDS DOCUMENTATION.
Definition: PhotonKiller.h:17
G4UA::PhotonKiller::PreUserTrackingAction
virtual void PreUserTrackingAction(const G4Track *) override final
Definition: PhotonKiller.cxx:22
G4UA::PhotonKiller::PhotonKiller
PhotonKiller()
Definition: PhotonKiller.cxx:17