ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsMaterial
src
MaterialTrackRecorderTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ACTSGEOMETRY_MATERIALTRACKRECORDERTOOL_H
6
#define ACTSGEOMETRY_MATERIALTRACKRECORDERTOOL_H
7
8
#include "
G4AtlasTools/UserActionToolBase.h
"
9
#include "
MaterialTrackRecorder.h
"
10
11
namespace
ActsTrk
12
{
16
17
class
MaterialTrackRecorderTool
:
public
G4UA::UserActionToolBase
<MaterialTrackRecorder>
18
{
19
public
:
20
MaterialTrackRecorderTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
21
22
protected
:
23
virtual
std::unique_ptr<MaterialTrackRecorder>
makeAndFillAction
(
G4UA::G4AtlasUserActions
&)
override
final
;
24
25
private
:
27
Gaudi::Property<std::string>
m_materialTrackCollectionName
28
{
this
,
"MaterialTrackCollectionName"
,
"OutputMaterialTracks"
,
"Name of the output recorded material track collection"
};
29
31
Gaudi::Property<std::vector<std::string>>
m_excludeMaterials
32
{
this
,
"ExcludeMaterials"
, {
"Air"
,
"Vacuum"
},
"Material you want to exclude from recording"
};
33
34
};
35
}
36
37
#endif
38
MaterialTrackRecorder.h
UserActionToolBase.h
ActsTrk::MaterialTrackRecorderTool::m_materialTrackCollectionName
Gaudi::Property< std::string > m_materialTrackCollectionName
The name of the recorded material track collection.
Definition
MaterialTrackRecorderTool.h:28
ActsTrk::MaterialTrackRecorderTool::makeAndFillAction
virtual std::unique_ptr< MaterialTrackRecorder > makeAndFillAction(G4UA::G4AtlasUserActions &) override final
Make the action and push onto the lists.
Definition
MaterialTrackRecorderTool.cxx:17
ActsTrk::MaterialTrackRecorderTool::MaterialTrackRecorderTool
MaterialTrackRecorderTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
MaterialTrackRecorderTool.cxx:9
ActsTrk::MaterialTrackRecorderTool::m_excludeMaterials
Gaudi::Property< std::vector< std::string > > m_excludeMaterials
The list of material excluded from recording.
Definition
MaterialTrackRecorderTool.h:32
G4UA::UserActionToolBase
abstract template utility base-class for G4 user-action tools.
Definition
UserActionToolBase.h:35
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition
IUserActionTool.h:35
type
Generated on
for ATLAS Offline Software by
1.17.0