ATLAS Offline Software
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 
17 namespace 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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
JiveXML::TRTRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: TRTRetriever.cxx:43
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer >
JiveXML::TRTRetriever::initialize
virtual StatusCode initialize()
initialize only geo model tool
Definition: TRTRetriever.cxx:35
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
JiveXML::IDataRetriever
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
Definition: IDataRetriever.h:25
JiveXML::TRTRetriever
Retrieves all InDet::TRT_DriftCircle objects.
Definition: TRTRetriever.h:44
JiveXML::TRTRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: TRTRetriever.h:55
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
TRT_DriftCircleContainer.h
JiveXML::TRTRetriever::m_useTRTTruthMap
bool m_useTRTTruthMap
The StoreGate key for the TRT MultiTruthMap with the track associations.
Definition: TRTRetriever.h:69
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
IInDetGeoModelTool.h
JiveXML::TRTRetriever::m_geo
const ToolHandle< IInDetGeoModelTool > m_geo
A tool handle to the geo model tool.
Definition: TRTRetriever.h:64
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::TRTRetriever::TRTRetriever
TRTRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: TRTRetriever.cxx:25
PRD_MultiTruthCollection.h
AthAlgTool
Definition: AthAlgTool.h:26
JiveXML::TRTRetriever::m_TRTDriftCircleCollKey
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > m_TRTDriftCircleCollKey
The StoreGate key for the TRT Cluster collection to retrieve.
Definition: TRTRetriever.h:67
JiveXML::TRTRetriever::m_TRTTruthMapKey
SG::ReadHandleKey< PRD_MultiTruthCollection > m_TRTTruthMapKey
Definition: TRTRetriever.h:70
IDataRetriever.h