ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
G4Utilities
G4UserActions
src
HitWrapperTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef G4USERACTIONS_G4UA__HITWRAPPERTOOL_H
6
#define G4USERACTIONS_G4UA__HITWRAPPERTOOL_H
7
8
// Infrastructure includes
9
#include "
G4AtlasTools/UserActionToolBase.h
"
10
11
// Local includes
12
#include "
HitWrapper.h
"
13
14
namespace
G4UA
15
{
16
18
class
HitWrapperTool
:
public
UserActionToolBase
<HitWrapper>
19
{
20
21
public
:
22
24
HitWrapperTool
(
const
std::string&
type
,
const
std::string& name,
25
const
IInterface* parent);
26
27
protected
:
28
30
virtual
std::unique_ptr<HitWrapper>
31
makeAndFillAction
(
G4AtlasUserActions
&)
override
final
;
32
33
private
:
34
35
HitWrapper::Config
m_config
;
36
37
};
// class HitWrapperTool
38
39
}
// namespace G4UA
40
41
#endif
HitWrapper.h
UserActionToolBase.h
G4UA::HitWrapperTool::m_config
HitWrapper::Config m_config
Definition
HitWrapperTool.h:35
G4UA::HitWrapperTool::makeAndFillAction
virtual std::unique_ptr< HitWrapper > makeAndFillAction(G4AtlasUserActions &) override final
Create the action for the current thread.
Definition
HitWrapperTool.cxx:20
G4UA::HitWrapperTool::HitWrapperTool
HitWrapperTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
HitWrapperTool.cxx:11
G4UA::UserActionToolBase< HitWrapper >::UserActionToolBase
UserActionToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
UserActionToolBase.h:40
G4UA
for nSW
Definition
CalibrationDefaultProcessing.h:19
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition
IUserActionTool.h:35
G4UA::HitWrapper::Config
Definition
HitWrapper.h:23
type
Generated on
for ATLAS Offline Software by
1.14.0