ATLAS Offline Software
Loading...
Searching...
No Matches
Acts/ActsMaterial/src/MaterialValidation.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_MATERIALVALIDATION_H
6#define ACTSMATERIAL_MATERIALVALIDATION_H
7
8
10
11#include "GaudiKernel/ServiceHandle.h"
16
17#include "Acts/Material/MaterialValidater.hpp"
18
19namespace ActsTrk {
26
28 public:
29 MaterialValidation(const std::string &name, ISvcLocator *pSvcLocator);
30 virtual StatusCode initialize() override;
31 virtual StatusCode execute (const EventContext& ctx) const override;
32 virtual ~MaterialValidation();
33
34 private:
36 std::shared_ptr<Acts::MaterialValidater> m_materialValidater;
38 ServiceHandle<IAthRNGSvc> m_rndmGenSvc{this, "AthRNGSvc", "AthRNGSvc", "The random number service"};
40 Gaudi::Property<size_t> m_nTracks{this, "NumberOfTracks", 1000, "Number of tracks to use per event"};
42 Gaudi::Property<std::pair<double, double>> m_etaRange{this, "EtaRange", {-4.5, 4.5}, "The eta range for tracks"};
43
45 ServiceHandle<ActsTrk::ITrackingGeometrySvc> m_trackingGeometrySvc{this, "TrackingGeometrySvc","ActsTrackingGeometrySvc", "The ACTS geometry service for the geometry context"};
46
48 SG::WriteHandleKey<RecordedMaterialTrackCollection> m_materialTrackCollectionKey {this, "MaterialTrackCollectionKey", "OutputMaterialTracks", "Name of the output RecordedMaterialTrackCollection"};
49 };
50}
51
52#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode execute(const EventContext &ctx) const override
ServiceHandle< IAthRNGSvc > m_rndmGenSvc
The random number service.
SG::WriteHandleKey< RecordedMaterialTrackCollection > m_materialTrackCollectionKey
The RecordedMaterialTrackCollection to write.
Gaudi::Property< std::pair< double, double > > m_etaRange
The eta range for track generation.
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeometrySvc
The tracking geometry service to retrive the geometry context and material surfaces.
std::shared_ptr< Acts::MaterialValidater > m_materialValidater
The material validater from the ACTS core components.
Gaudi::Property< size_t > m_nTracks
The number of tracks to use per event.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a WriteHandle is made.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...