ATLAS Offline Software
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 
18 namespace 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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
JiveXML::SCTRDORetriever::m_SCTRDOContainerName
SG::ReadHandleKey< SCT_RDO_Container > m_SCTRDOContainerName
The StoreGate key for the SCTRDO container.
Definition: SCTRDORetriever.h:63
JiveXML::SCTRDORetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: SCTRDORetriever.cxx:40
JiveXML::SCTRDORetriever::SCTRDORetriever
SCTRDORetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: SCTRDORetriever.cxx:24
ISiLorentzAngleTool.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
SCT_RDO_Container.h
JiveXML::SCTRDORetriever::m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Condition object key of SiDetectorElementCollection for SCT.
Definition: SCTRDORetriever.h:66
JiveXML::SCTRDORetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: SCTRDORetriever.h:48
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
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:195
IInDetGeoModelTool.h
SiDetectorElementCollection.h
JiveXML::SCTRDORetriever::m_geo
const ToolHandle< IInDetGeoModelTool > m_geo
A tool handle to the geo model tool.
Definition: SCTRDORetriever.h:57
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
JiveXML::SCTRDORetriever::initialize
virtual StatusCode initialize()
Only retrieve geo tool in initialize.
Definition: SCTRDORetriever.cxx:169
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::SCTRDORetriever::m_lorentzAngleTool
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
A tool handle to the SiLorentzAngleTool.
Definition: SCTRDORetriever.h:60
AthAlgTool
Definition: AthAlgTool.h:26
JiveXML::SCTRDORetriever
Retrieve all SCT_RDORawData information (SCT raw hits)
Definition: SCTRDORetriever.h:37
IDataRetriever.h