ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArG4GenShowerLib
LArG4GenShowerLib
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
8
#include "
StoreGate/StoreGateSvc.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
11
#include "
LArG4Code/ILArCalculatorSvc.h
"
12
13
// Geant4 includes
14
#include "G4UserEventAction.hh"
15
#include "G4UserRunAction.hh"
16
#include "G4UserSteppingAction.hh"
17
18
19
// forward declarations in namespaces
20
namespace
ShowerLib
{
21
class
StepInfoCollection
;
22
}
23
#include "
AtlasHepMC/GenParticle_fwd.h
"
24
// forward declarations in global namespace
25
class
EnergyCalculator;
26
class
G4VSolid;
27
class
G4AffineTransform;
28
29
30
namespace
G4UA
31
{
32
46
47
class
TestActionShowerLib
:
48
public
G4UserEventAction,
public
G4UserRunAction,
public
G4UserSteppingAction
49
{
50
51
public
:
52
53
TestActionShowerLib
();
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
63
ServiceHandle<StoreGateSvc>
m_evtStore
;
64
65
/* data members */
66
67
ServiceHandle<ILArCalculatorSvc>
m_current_calculator
;
68
G4VSolid*
m_current_solid
;
69
G4AffineTransform*
m_current_transform
;
70
73
75
ServiceHandle<ILArCalculatorSvc>
m_calculator_EMECIW
;
77
ServiceHandle<ILArCalculatorSvc>
m_calculator_EMECOW
;
78
ServiceHandle<ILArCalculatorSvc>
m_calculator_FCAL1
;
79
ServiceHandle<ILArCalculatorSvc>
m_calculator_FCAL2
;
80
ServiceHandle<ILArCalculatorSvc>
m_calculator_FCAL3
;
81
ServiceHandle<ILArCalculatorSvc>
m_calculator_EMB
;
82
84
86
ShowerLib::StepInfoCollection
*
m_eventSteps
;
87
88
};
// class TestActionShowerLib
89
90
}
// namespace G4UA
91
92
#endif
// LARG4GENSHOWERLIB_TestActionShowerLib_H
GenParticle_fwd.h
ILArCalculatorSvc.h
StoreGateSvc.h
G4UA::TestActionShowerLib::m_calculator_FCAL2
ServiceHandle< ILArCalculatorSvc > m_calculator_FCAL2
Definition
TestActionShowerLib.h:79
G4UA::TestActionShowerLib::UserSteppingAction
virtual void UserSteppingAction(const G4Step *) override
Definition
TestActionShowerLib.cxx:170
G4UA::TestActionShowerLib::m_calculator_FCAL3
ServiceHandle< ILArCalculatorSvc > m_calculator_FCAL3
Definition
TestActionShowerLib.h:80
G4UA::TestActionShowerLib::BeginOfRunAction
virtual void BeginOfRunAction(const G4Run *) override
Definition
TestActionShowerLib.cxx:122
G4UA::TestActionShowerLib::EndOfEventAction
virtual void EndOfEventAction(const G4Event *) override
Definition
TestActionShowerLib.cxx:62
G4UA::TestActionShowerLib::m_current_transform
G4AffineTransform * m_current_transform
Definition
TestActionShowerLib.h:69
G4UA::TestActionShowerLib::EndOfRunAction
virtual void EndOfRunAction(const G4Run *) override
Definition
TestActionShowerLib.cxx:160
G4UA::TestActionShowerLib::m_calculator_EMB
ServiceHandle< ILArCalculatorSvc > m_calculator_EMB
Definition
TestActionShowerLib.h:81
G4UA::TestActionShowerLib::m_current_solid
G4VSolid * m_current_solid
Definition
TestActionShowerLib.h:68
G4UA::TestActionShowerLib::TestActionShowerLib
TestActionShowerLib()
Definition
TestActionShowerLib.cxx:27
G4UA::TestActionShowerLib::m_calculator_EMECOW
ServiceHandle< ILArCalculatorSvc > m_calculator_EMECOW
Pointer to EMEC outer wheel calculator.
Definition
TestActionShowerLib.h:77
G4UA::TestActionShowerLib::m_calculator_FCAL1
ServiceHandle< ILArCalculatorSvc > m_calculator_FCAL1
Definition
TestActionShowerLib.h:78
G4UA::TestActionShowerLib::m_evtStore
ServiceHandle< StoreGateSvc > m_evtStore
Pointer to StoreGate (event store by default).
Definition
TestActionShowerLib.h:63
G4UA::TestActionShowerLib::m_calculator_EMECIW
ServiceHandle< ILArCalculatorSvc > m_calculator_EMECIW
Pointer to EMEC inner wheel calculator.
Definition
TestActionShowerLib.h:75
G4UA::TestActionShowerLib::BeginOfEventAction
virtual void BeginOfEventAction(const G4Event *) override
Definition
TestActionShowerLib.cxx:47
G4UA::TestActionShowerLib::m_current_calculator
ServiceHandle< ILArCalculatorSvc > m_current_calculator
Definition
TestActionShowerLib.h:67
G4UA::TestActionShowerLib::m_eventSteps
ShowerLib::StepInfoCollection * m_eventSteps
Collection of StepInfo.
Definition
TestActionShowerLib.h:86
ServiceHandle
Definition
ClusterMakerTool.h:36
ShowerLib::StepInfoCollection
Class for collection of StepInfo class (G4 hits).
Definition
StepInfoCollection.h:32
G4UA
for nSW
Definition
CalibrationDefaultProcessing.h:19
ShowerLib
Namespace for the ShowerLib related classes.
Definition
StepInfo.h:17
Generated on
for ATLAS Offline Software by
1.17.0