ATLAS Offline Software
Loading...
Searching...
No Matches
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
WriteHandle.h
Handle class for recording to StoreGate.
TBEventInfo.h
G4UA::LArGeoH62004EventAction::EndOfEventAction
virtual void EndOfEventAction(const G4Event *) override
G4UA::LArGeoH62004EventAction::m_ypos
float m_ypos
Definition
LArGeoH62004EventAction.h:37
G4UA::LArGeoH62004EventAction::m_ev
SG::WriteHandle< TBEventInfo > m_ev
Definition
LArGeoH62004EventAction.h:35
G4UA::LArGeoH62004EventAction::m_evnum
static std::atomic< int > m_evnum
Definition
LArGeoH62004EventAction.h:33
G4UA::LArGeoH62004EventAction::m_xpos
float m_xpos
Definition
LArGeoH62004EventAction.h:36
G4UA::LArGeoH62004EventAction::LArGeoH62004EventAction
LArGeoH62004EventAction(const Config &config)
LArGeoTB2004Options
Definition
LArGeoTB2004Options.h:15
SG::WriteHandle
Definition
StoreGate/StoreGate/WriteHandle.h:73
G4UA
for nSW
Definition
CalibrationDefaultProcessing.h:19
config
Definition
PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
G4UA::LArGeoH62004EventAction::Config
Definition
LArGeoH62004EventAction.h:23
G4UA::LArGeoH62004EventAction::Config::cryoXposition
float cryoXposition
Definition
LArGeoH62004EventAction.h:25
G4UA::LArGeoH62004EventAction::Config::yTable
float yTable
Definition
LArGeoH62004EventAction.h:24
Generated on
for ATLAS Offline Software by
1.14.0