ATLAS Offline Software
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"
15 #include "StoreGate/DataHandle.h"
16 
17 class PixelID;
18 
19 namespace 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
JiveXML::PixelRDORetriever::m_lorentzAngleTool
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
A tool handle to the SiLorentzAngleTool.
Definition: PixelRDORetriever.h:56
JiveXML::PixelRDORetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: PixelRDORetriever.h:46
JiveXML::PixelRDORetriever::initialize
virtual StatusCode initialize()
Only retrieve geo tool in initialize.
Definition: PixelRDORetriever.cxx:123
JiveXML::PixelRDORetriever
Retrieve all PixelRDORawData information (pixel raw hits)
Definition: PixelRDORetriever.h:35
ISiLorentzAngleTool.h
JiveXML::PixelRDORetriever::m_PixelRDOContainerName
SG::ReadHandleKey< PixelRDO_Container > m_PixelRDOContainerName
The StoreGate key for the PixelRDO container.
Definition: PixelRDORetriever.h:59
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DataHandle.h
JiveXML::PixelRDORetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: PixelRDORetriever.cxx:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JiveXML::PixelRDORetriever::PixelRDORetriever
PixelRDORetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: PixelRDORetriever.cxx:22
JiveXML::PixelRDORetriever::m_pixelID
const PixelID * m_pixelID
Definition: PixelRDORetriever.h:53
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
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:21
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
IInDetGeoModelTool.h
SiDetectorElementCollection.h
PixelRDO_Container.h
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
PixelID
Definition: PixelID.h:67
IDataRetriever.h
JiveXML::PixelRDORetriever::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition: PixelRDORetriever.h:61