ATLAS Offline Software
Loading...
Searching...
No Matches
SteppingValidation.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef SteppingValidation_H
6#define SteppingValidation_H
7
8#include "G4UserRunAction.hh"
9#include "G4UserEventAction.hh"
10#include "G4UserSteppingAction.hh"
11
12#include "SimTestHisto.h"
13
14// Forward declarations
15class TH1;
16class TH2;
17class G4Track;
18
19
20namespace G4UA
21{
22
24 class SteppingValidation : public G4UserRunAction,
25 public G4UserEventAction,
26 public G4UserSteppingAction,
27 public SimTestHisto
28 {
29
30 public:
31
32 // Constructor
34
37 virtual void BeginOfRunAction(const G4Run*) override;
38 virtual void EndOfEventAction(const G4Event*) override;
39 virtual void BeginOfEventAction(const G4Event*) override;
40 virtual void UserSteppingAction(const G4Step*) override;
42
43 private:
44
46 TH2 *m_EvsR;
47 G4Track *m_prim, *m_sec;
49
50 }; // class SteppingValidation
51
52} // namespace G4UA
53
54#endif
virtual void BeginOfRunAction(const G4Run *) override
virtual void UserSteppingAction(const G4Step *) override
virtual void EndOfEventAction(const G4Event *) override
virtual void BeginOfEventAction(const G4Event *) override
SimTestHisto()=default