5#ifndef ACTSMATERIAL_MATERIALTRACKREADER_H
6#define ACTSMATERIAL_MATERIALTRACKREADER_H
9#include "GaudiKernel/ServiceHandle.h"
15#include <ActsPlugins/Root/RootMaterialTrackIo.hpp>
35 virtual StatusCode
execute (
const EventContext& ctx)
const override;
46 Gaudi::Property<std::vector<std::string>>
m_fileNames{
this,
"FileNames", {},
"The list of input file names"};
48 Gaudi::Property<std::string>
m_treeName{
this,
"TreeName",
"material-tracks",
"The input tree name"};
Property holding a SG store/key/clid from which a ReadHandle is made.
std::unique_ptr< TChain > m_inputChain ATLAS_THREAD_SAFE
The input chain of entries.
virtual StatusCode execute(const EventContext &ctx) const override
ActsPlugins::RootMaterialTrackIo m_accessor
The read - write payload.
virtual StatusCode initialize() override
MaterialTrackReader(const std::string &name, ISvcLocator *pSvcLocator)
std::mutex m_readMutex
mutex used to protect multi-threaded reads
Gaudi::Property< std::vector< std::string > > m_fileNames
The list of input filenames.
Gaudi::Property< std::string > m_treeName
The name of the input tree.
std::size_t m_events
The number of events.
virtual ~MaterialTrackReader()
std::size_t m_batchSize
The batch size (number of track per events)
SG::WriteHandleKey< RecordedMaterialTrackCollection > m_materialTrackCollectionKey
The RecordedMaterialTrackCollection to write.
Gaudi::Property< bool > m_readCachedSurfaceInformation
Read surface information for the root file.
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...