ATLAS Offline Software
Loading...
Searching...
No Matches
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
12namespace G4UA
13{
14
16 class PhotonKiller : public G4UserSteppingAction, public G4UserTrackingAction
17 {
18 public:
20 virtual void UserSteppingAction(const G4Step*) override final;
21 virtual void PreUserTrackingAction(const G4Track*) override final;
22 private:
24 float m_energy;
25 }; // class PhotonKiller
26
27} // namespace G4UA
28
29#endif
virtual void UserSteppingAction(const G4Step *) override final
virtual void PreUserTrackingAction(const G4Track *) override final