ATLAS Offline Software
Loading...
Searching...
No Matches
TRTRetriever.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JIVEXML_TRTRETRIEVER_H
6#define JIVEXML_TRTRETRIEVER_H
7
10#include "IInDetGeoModelTool.h"
11
14
16
17namespace JiveXML{
18
19
43 class TRTRetriever : virtual public IDataRetriever,
44 public AthAlgTool {
45
46 public:
47
49 TRTRetriever(const std::string& type,const std::string& name,const IInterface* parent);
50
52 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
53
55 virtual std::string dataTypeName() const { return "TRT"; };
56
58 virtual StatusCode initialize();
59
60 private:
61
63 const ToolHandle<IInDetGeoModelTool> m_geo
64 {this,"GeoModelTool","JiveXML::InDetGeoModelTool/InDetGeoModelTool",""};
65
67 SG::ReadHandleKey<InDet::TRT_DriftCircleContainer> m_TRTDriftCircleCollKey{ this, "TRTClusters", "TRT_DriftCircles", "Container name for TRT Drift Circles" };
69 bool m_useTRTTruthMap = false;
70 SG::ReadHandleKey<PRD_MultiTruthCollection> m_TRTTruthMapKey{ this, "TRT_TruthMap", "PRD_MultiTruthTRT", "Container name for PRD Multi-truth TRT MAP" };
71 };
72
73}
74#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
bool m_useTRTTruthMap
The StoreGate key for the TRT MultiTruthMap with the track associations.
virtual StatusCode initialize()
initialize only geo model tool
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > m_TRTDriftCircleCollKey
The StoreGate key for the TRT Cluster collection to retrieve.
virtual std::string dataTypeName() const
Return the name of the data type.
const ToolHandle< IInDetGeoModelTool > m_geo
A tool handle to the geo model tool.
SG::ReadHandleKey< PRD_MultiTruthCollection > m_TRTTruthMapKey
TRTRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Property holding a SG store/key/clid from which a ReadHandle is made.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.