5#ifndef ACTSMATERIAL_MATERIALVALIDATION_H
6#define ACTSMATERIAL_MATERIALVALIDATION_H
11#include "GaudiKernel/ServiceHandle.h"
17#include "Acts/Material/MaterialValidater.hpp"
31 virtual StatusCode
execute (
const EventContext& ctx)
const override;
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"};
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode initialize() override
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.
virtual ~MaterialValidation()
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...