ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
G4Utilities
G4UserActions
src
ScoringPlaneTool.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__SCORINGPLANETOOL_H
6
#define G4USERACTIONS_G4UA__SCORINGPLANETOOL_H
7
8
// Infrastructure includes
9
#include "
G4AtlasTools/UserActionToolBase.h
"
10
11
// Local includes
12
#include "
ScoringPlane.h
"
13
14
15
namespace
G4UA
16
{
17
24
class
ScoringPlaneTool
:
public
UserActionToolBase
<ScoringPlane>
25
{
26
27
public
:
28
30
ScoringPlaneTool
(
const
std::string&
type
,
const
std::string& name,
31
const
IInterface* parent);
32
33
protected
:
34
36
virtual
std::unique_ptr<ScoringPlane>
37
makeAndFillAction
(
G4AtlasUserActions
&)
override
final
;
38
39
private
:
40
42
ScoringPlane::Config
m_config
;
43
44
};
// class ScoringPlaneTool
45
46
}
// namespace G4UA
47
48
#endif
ScoringPlane.h
UserActionToolBase.h
G4UA::ScoringPlaneTool::m_config
ScoringPlane::Config m_config
holds the python configuration
Definition
ScoringPlaneTool.h:42
G4UA::ScoringPlaneTool::ScoringPlaneTool
ScoringPlaneTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard tool ctor.
Definition
ScoringPlaneTool.cxx:11
G4UA::ScoringPlaneTool::makeAndFillAction
virtual std::unique_ptr< ScoringPlane > makeAndFillAction(G4AtlasUserActions &) override final
creates the action instances
Definition
ScoringPlaneTool.cxx:22
G4UA::UserActionToolBase< ScoringPlane >::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::ScoringPlane::Config
Definition
ScoringPlane.h:31
type
Generated on
for ATLAS Offline Software by
1.14.0