ATLAS Offline Software
LArCalorimeter
LArG4
LArG4H6SD
src
LArGeoH62004EventAction.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 LARG4H6SD_LArGeoH62004EventAction_h
6
#define LARG4H6SD_LArGeoH62004EventAction_h 1
7
8
#include "G4UserEventAction.hh"
9
// For the output write handle
10
#include "
StoreGate/WriteHandle.h
"
11
#include "
TBEvent/TBEventInfo.h
"
12
13
14
class
LArGeoTB2004Options
;
15
16
namespace
G4UA
17
{
19
class
LArGeoH62004EventAction
final:
public
G4UserEventAction
20
{
21
public
:
22
struct
Config
23
{
24
float
yTable
=0.0;
25
float
cryoXposition
=0.0;
26
};
27
28
LArGeoH62004EventAction
(
const
Config
&
config
);
29
30
virtual
void
EndOfEventAction
(
const
G4Event*)
override
;
31
32
private
:
33
inline
static
std::atomic<int>
m_evnum
{0};
34
35
SG::WriteHandle<TBEventInfo>
m_ev
;
36
float
m_xpos
;
37
float
m_ypos
;
38
};
// class LArGeoH62004EventAction
39
40
}
// namespace G4UA
41
42
#endif
G4UA::LArGeoH62004EventAction::m_evnum
static std::atomic< int > m_evnum
Definition:
LArGeoH62004EventAction.h:33
G4UA::LArGeoH62004EventAction::Config
Definition:
LArGeoH62004EventAction.h:23
G4UA
for nSW
Definition:
CalibrationDefaultProcessing.h:19
G4UA::LArGeoH62004EventAction::m_ypos
float m_ypos
Definition:
LArGeoH62004EventAction.h:37
G4UA::LArGeoH62004EventAction
NEEDS DOCUMENTATION.
Definition:
LArGeoH62004EventAction.h:20
G4UA::LArGeoH62004EventAction::EndOfEventAction
virtual void EndOfEventAction(const G4Event *) override
config
Definition:
PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
G4UA::LArGeoH62004EventAction::LArGeoH62004EventAction
LArGeoH62004EventAction(const Config &config)
G4UA::LArGeoH62004EventAction::m_xpos
float m_xpos
Definition:
LArGeoH62004EventAction.h:36
WriteHandle.h
Handle class for recording to StoreGate.
LArGeoTB2004Options
Definition:
LArGeoTB2004Options.h:15
G4UA::LArGeoH62004EventAction::Config::yTable
float yTable
Definition:
LArGeoH62004EventAction.h:24
G4UA::LArGeoH62004EventAction::Config::cryoXposition
float cryoXposition
Definition:
LArGeoH62004EventAction.h:25
SG::WriteHandle< TBEventInfo >
G4UA::LArGeoH62004EventAction::m_ev
SG::WriteHandle< TBEventInfo > m_ev
Definition:
LArGeoH62004EventAction.h:35
TBEventInfo.h
Generated on Thu Nov 7 2024 21:19:38 for ATLAS Offline Software by
1.8.18