ATLAS Offline Software
Loading...
Searching...
No Matches
SegmentRetriever.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JIVEXML_SEGMENTRETRIEVER_H
6#define JIVEXML_SEGMENTRETRIEVER_H
7
11
12namespace JiveXML {
13
28 class SegmentRetriever : virtual public IDataRetriever,
29 public AthAlgTool {
30
31 public:
32
34 SegmentRetriever(const std::string& type,const std::string& name,const IInterface* parent);
35
36 virtual StatusCode initialize();
37
39 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
40
42 virtual std::string dataTypeName() const { return m_typeName; };
43
44 private:
46 const std::string m_typeName = "Segment";
47
48 SG::ReadHandleKeyArray<Trk::SegmentCollection> m_keys {this,"SegmentCollections",{"NCB_TrackMuonSegments","TrackMuonNSWSegments","UnAssocMuonTrkSegments","TrkMuonSegments"}, "Name of the Segment containers that will be written out to the JiveXML file"};
49
50 };
51
52}
53
54#endif
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...
SegmentRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
SG::ReadHandleKeyArray< Trk::SegmentCollection > m_keys
virtual StatusCode initialize()
const std::string m_typeName
The data type that is generated by this retriever.
virtual std::string dataTypeName() const
Return the name of the data type.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray