ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
11namespace 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
Gaudi::Property< std::string > m_materialTrackCollectionName
The name of the recorded material track collection.
virtual std::unique_ptr< MaterialTrackRecorder > makeAndFillAction(G4UA::G4AtlasUserActions &) override final
Make the action and push onto the lists.
MaterialTrackRecorderTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::vector< std::string > > m_excludeMaterials
The list of material excluded from recording.
abstract template utility base-class for G4 user-action tools.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Struct for passing around user actions.