ATLAS Offline Software
Loading...
Searching...
No Matches
ScoringVolumeTrackKiller.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_ScoringVolumeTrackKiller_H
6#define G4UserActions_ScoringVolumeTrackKiller_H
7
8#include "G4UserEventAction.hh"
9#include "G4UserSteppingAction.hh"
11
12namespace G4UA
13{
14
16 class ScoringVolumeTrackKiller : public AthMessaging, public G4UserEventAction,
17 public G4UserSteppingAction
18 {
19 public:
21 virtual void EndOfEventAction(const G4Event*) override;
22 virtual void UserSteppingAction(const G4Step*) override;
23 private:
24 unsigned long m_killCount;
25 }; // class ScoringVolumeTrackKiller
26
27} // namespace G4UA
28
29#endif
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
virtual void UserSteppingAction(const G4Step *) override
virtual void EndOfEventAction(const G4Event *) override