ATLAS Offline Software
Loading...
Searching...
No Matches
TestActionShowerLib.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARG4GENSHOWERLIB_TestActionShowerLib_H
6#define LARG4GENSHOWERLIB_TestActionShowerLib_H
7
9#include "GaudiKernel/ServiceHandle.h"
10
12
13// Geant4 includes
14#include "G4UserEventAction.hh"
15#include "G4UserRunAction.hh"
16#include "G4UserSteppingAction.hh"
17
18
19// forward declarations in namespaces
20namespace ShowerLib {
22}
24// forward declarations in global namespace
25class EnergyCalculator;
26class G4VSolid;
27class G4AffineTransform;
28
29
30namespace G4UA
31{
32
46
48 public G4UserEventAction, public G4UserRunAction, public G4UserSteppingAction
49 {
50
51 public:
52
54 virtual void BeginOfEventAction(const G4Event*) override;
55 virtual void EndOfEventAction(const G4Event*) override;
56 virtual void BeginOfRunAction(const G4Run*) override;
57 virtual void EndOfRunAction(const G4Run*) override;
58 virtual void UserSteppingAction(const G4Step*) override;
59
60 private:
61
64
65 /* data members */
66
68 G4VSolid* m_current_solid;
69 G4AffineTransform* m_current_transform;
70
73
82
84
87
88 }; // class TestActionShowerLib
89
90} // namespace G4UA
91
92#endif // LARG4GENSHOWERLIB_TestActionShowerLib_H
ServiceHandle< ILArCalculatorSvc > m_calculator_FCAL2
virtual void UserSteppingAction(const G4Step *) override
ServiceHandle< ILArCalculatorSvc > m_calculator_FCAL3
virtual void BeginOfRunAction(const G4Run *) override
virtual void EndOfEventAction(const G4Event *) override
G4AffineTransform * m_current_transform
virtual void EndOfRunAction(const G4Run *) override
ServiceHandle< ILArCalculatorSvc > m_calculator_EMB
ServiceHandle< ILArCalculatorSvc > m_calculator_EMECOW
Pointer to EMEC outer wheel calculator.
ServiceHandle< ILArCalculatorSvc > m_calculator_FCAL1
ServiceHandle< StoreGateSvc > m_evtStore
Pointer to StoreGate (event store by default)
ServiceHandle< ILArCalculatorSvc > m_calculator_EMECIW
Pointer to EMEC inner wheel calculator.
virtual void BeginOfEventAction(const G4Event *) override
ServiceHandle< ILArCalculatorSvc > m_current_calculator
ShowerLib::StepInfoCollection * m_eventSteps
Collection of StepInfo.
Class for collection of StepInfo class (G4 hits)
Namespace for the ShowerLib related classes.
Definition StepInfo.h:17