ATLAS Offline Software
Loading...
Searching...
No Matches
PixelRDORetriever.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_PIXELRDORETRIEVER_H
6#define JIVEXML_PIXELRDORETRIEVER_H
7
11#include "IInDetGeoModelTool.h"
16
17class PixelID;
18
19namespace JiveXML {
20
34 class PixelRDORetriever : virtual public IDataRetriever,
35 public AthAlgTool {
36
37 public:
38
40 PixelRDORetriever(const std::string& type,const std::string& name,const IInterface* parent);
41
43 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
44
46 virtual std::string dataTypeName() const { return "PixelRDO"; };
47
49 virtual StatusCode initialize();
50
51 private:
52
53 const PixelID* m_pixelID{nullptr};
54
56 ToolHandle<ISiLorentzAngleTool> m_lorentzAngleTool{this, "LorentzAngleTool", "SiLorentzAngleTool/SCTLorentzAngleTool", "Tool to retreive Lorentz angle"};
57
59 SG::ReadHandleKey<PixelRDO_Container> m_PixelRDOContainerName{this, "PixelRDOContKey", "PixelRDOs", "Key of PixelRDO_Container for Pixel"};
60
61 SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_pixelDetEleCollKey{this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"};
62
63 };
64}
65
66#endif
defines an "iterator" over instances of a given type in StoreGateSvc
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.
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
A tool handle to the SiLorentzAngleTool.
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
PixelRDORetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
virtual StatusCode initialize()
Only retrieve geo tool in initialize.
SG::ReadHandleKey< PixelRDO_Container > m_PixelRDOContainerName
The StoreGate key for the PixelRDO container.
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
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.