ATLAS Offline Software
Loading...
Searching...
No Matches
MaterialJsonDumpAlg.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 ACTSMATERIAL_MATERIALJSONDUMPALG_H
6#define ACTSMATERIAL_MATERIALJSONDUMPALG_H
7
9
10#include "GaudiKernel/ServiceHandle.h"
11#include "AsgTools/ToolHandle.h"
14
15namespace ActsTrk {
26 public:
27 MaterialJsonDumpAlg(const std::string& name, ISvcLocator* pSvcLocator);
28 virtual ~MaterialJsonDumpAlg() = default;
29 virtual StatusCode initialize() override;
30 virtual StatusCode execute(const EventContext& ctx) const override;
31 virtual StatusCode finalize() override;
32
33 private:
35 ToolHandle<IMaterialDumperTool> m_materialDumper{this, "MaterialDumper", "", "The material dumper tool"};
36
38 ServiceHandle<ActsTrk::ITrackingGeometrySvc> m_trackingGeometrySvc{this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc", "The ACTS geometry service"};
39 };
40}
41
42#endif
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeometrySvc
The tracking geometry service holding the decorated geometry.
virtual StatusCode finalize() override
virtual ~MaterialJsonDumpAlg()=default
MaterialJsonDumpAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< IMaterialDumperTool > m_materialDumper
The material dumper, shared with the material mapping.
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
An algorithm that can be simultaneously executed in multiple threads.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...