ATLAS Offline Software
Simulation
G4Utilities
G4UserActions
src
HitWrapper.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 G4UserActions_HitWrapper_H
6
#define G4UserActions_HitWrapper_H
7
8
9
#include "G4UserEventAction.hh"
10
#include "
StoreGate/StoreGateSvc.h
"
11
#include "GaudiKernel/ServiceHandle.h"
12
#include "
AthenaBaseComps/AthMessaging.h
"
13
14
namespace
G4UA
15
{
16
18
class
HitWrapper
:
public
AthMessaging
,
public
G4UserEventAction
19
{
20
public
:
21
22
struct
Config
23
{
24
float
time
=25.;
25
};
26
27
HitWrapper
(
const
Config
&
config
);
28
virtual
void
EndOfEventAction
(
const
G4Event*)
override
;
29
30
private
:
31
32
typedef
ServiceHandle<StoreGateSvc>
StoreGateSvc_t
;
34
StoreGateSvc_t
m_evtStore
;
36
StoreGateSvc_t
m_detStore
;
37
38
Config
m_config
;
39
40
};
// class HitWrapper
41
42
}
// namespace G4UA
43
44
#endif
G4UA
for nSW
Definition:
CalibrationDefaultProcessing.h:19
G4UA::HitWrapper::EndOfEventAction
virtual void EndOfEventAction(const G4Event *) override
Definition:
HitWrapper.cxx:39
G4UA::HitWrapper::m_config
Config m_config
Definition:
HitWrapper.h:38
G4UA::HitWrapper::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition:
HitWrapper.h:34
G4UA::HitWrapper::StoreGateSvc_t
ServiceHandle< StoreGateSvc > StoreGateSvc_t
Definition:
HitWrapper.h:32
config
Definition:
PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
G4UA::HitWrapper::Config
Definition:
HitWrapper.h:23
G4UA::HitWrapper
NEEDS DOCUMENTATION.
Definition:
HitWrapper.h:19
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition:
AthMessaging.h:55
G4UA::HitWrapper::HitWrapper
HitWrapper(const Config &config)
Definition:
HitWrapper.cxx:30
G4UA::HitWrapper::Config::time
float time
Definition:
HitWrapper.h:24
AthMessaging.h
G4UA::HitWrapper::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition:
HitWrapper.h:36
StoreGateSvc.h
ServiceHandle< StoreGateSvc >
Generated on Thu Nov 7 2024 21:16:21 for ATLAS Offline Software by
1.8.18