ATLAS Offline Software
Loading...
Searching...
No Matches
SCTRDORetriever.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_SCTRDORETRIEVER_H
6#define JIVEXML_SCTRDORETRIEVER_H
7
10
12#include "IInDetGeoModelTool.h"
17
18namespace JiveXML {
19
37 class SCTRDORetriever : virtual public IDataRetriever, public AthAlgTool {
38
39 public:
40
42 SCTRDORetriever(const std::string& type,const std::string& name,const IInterface* parent);
43
45 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
46
48 virtual std::string dataTypeName() const { return "SCTRDO"; };
49
51 virtual StatusCode initialize();
52
53 private:
54
56 const ToolHandle<IInDetGeoModelTool> m_geo
57 {this, "GeoModelTool", "JiveXML::InDetGeoModelTool/InDetGeoModelTool",""};
58
60 ToolHandle<ISiLorentzAngleTool> m_lorentzAngleTool{this, "LorentzAngleTool", "SiLorentzAngleTool/SCTLorentzAngleTool", "Tool to retreive Lorentz angle"};
61
64
66 SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_SCTDetEleCollKey{this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"};
67 };
68}
69#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...
virtual std::string dataTypeName() const
Return the name of the data type.
virtual StatusCode initialize()
Only retrieve geo tool in initialize.
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
A tool handle to the SiLorentzAngleTool.
SCTRDORetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Condition object key of SiDetectorElementCollection for SCT.
SG::ReadHandleKey< SCT_RDO_Container > m_SCTRDOContainerName
The StoreGate key for the SCTRDO container.
const ToolHandle< IInDetGeoModelTool > m_geo
A tool handle to the geo model tool.
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.