5#ifndef ACTSTRK_DATA_PREPARATION_ALG_H
6#define ACTSTRK_DATA_PREPARATION_ALG_H
10#include "GaudiKernel/ToolHandle.h"
28 template <
typename external_collection_t,
29 typename external_detector_element_collection_t,
34 using object_t =
typename external_collection_t::base_value_type;
45 virtual StatusCode
execute(
const EventContext& ctx)
const override;
53 std::set<IdentifierHash>& hashes)
const;
57 StatusCode
fill(
const EventContext& ctx,
60 StatusCode
fill(
const EventContext& ctx,
62 requires (useCache ==
true);
65 ToolHandle< GenericMonitoringTool >
m_monTool {
this,
"MonTool",
"",
69 "Region selector tool"};
72 "Key of input DetectorElementCollection"};
75 "Input Collection that will go throug selection process"};
81 "Map of used measurements from previous tracking pass"};
84 "Output Collection - result of the selection process"};
87 "The input IDC container"};
This class is a general container which can hold objects of accessed by an IdentifierHash For more in...
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ReadHandleKey< IDC > ReadHandleKey
SG::ReadHandle< IDC > ReadHandle
ConstDataVector< input_collection_t > output_collection_t
SG::ReadHandleKey< input_collection_t > m_inputCollectionKey
StatusCode fill(const EventContext &ctx, output_collection_t &outputCollection) const
ToolHandle< IRegSelTool > m_regionSelector
cache_read_handle_key_t m_inputIdentifiableContainer
StatusCode fill(const EventContext &ctx, output_collection_t &outputCollection) const
std::array< std::atomic< unsigned int >, kNStat > m_stat ATLAS_THREAD_SAFE
virtual StatusCode execute(const EventContext &ctx) const override
typename external_collection_t::base_value_type object_t
typename ActsTrk::Cache::Handles< object_t >::ReadHandle cache_read_handle_t
SG::ReadCondHandleKey< external_detector_element_collection_t > m_detEleCollKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
virtual StatusCode finalize() override
typename ActsTrk::Cache::Handles< object_t >::ReadHandleKey cache_read_handle_key_t
virtual xAOD::DetectorIDHashType retrieveDetectorIDHash(const object_t &obj) const
SG::ReadHandleKey< ActsTrk::PrepRawDataAssociation > m_inputPrdMap
SG::WriteHandleKey< output_collection_t > m_outputCollectionKey
DataPreparationAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode fetchIdHashes(const EventContext &ctx, std::set< IdentifierHash > &hashes) const
external_collection_t input_collection_t
ToolHandle< GenericMonitoringTool > m_monTool
virtual StatusCode initialize() override
virtual ~DataPreparationAlg() override=default
An algorithm that can be simultaneously executed in multiple threads.
DataVector adapter that acts like it holds const pointers.
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...
unsigned int DetectorIDHashType
@ detector ID element hash