ATLAS Offline Software
SiClusterRetriever.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_SICLUSTERRETRIEVER_H
6 #define JIVEXML_SICLUSTERRETRIEVER_H
7 
10 
11 #include "IInDetGeoModelTool.h"
16 
17 namespace JiveXML
18 {
19 
20 
41  class SiClusterRetriever : virtual public IDataRetriever,
42  public AthAlgTool {
43 
44  public:
45 
47  SiClusterRetriever(const std::string& type,const std::string& name,const IInterface* parent);
48 
50  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
51 
53  virtual std::string dataTypeName() const { return "STC"; }
54 
56  virtual StatusCode initialize();
57 
58  private:
59 
61  const ToolHandle<IInDetGeoModelTool> m_geo
62  {this,"GeoModelTool", "JiveXML::InDetGeoModelTool/InDetGeoModelTool",""};
63 
65  SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_SCTDetEleCollKey{this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"};
66 
68  SG::ReadHandleKey<InDet::SiClusterContainer> m_SiClusterCollName{this, "SiClusterContKey", "SCT_Clusters", "Key of the SiClusterContainer for SCT"};
69 
71  bool m_useSiTruthMap = false;
72  SG::ReadHandleKey<PRD_MultiTruthCollection> m_SiTruthMapName{this, "SiTruthMapKey", "PRD_MultiTruthSCT", "Key of the PRD_MultiTruthCollection for SCT"};
73  };
74 }
75 #endif
JiveXML::SiClusterRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: SiClusterRetriever.h:53
JiveXML::SiClusterRetriever::m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Condition object key of SiDetectorElementCollection for SCT.
Definition: SiClusterRetriever.h:65
SG::ReadHandleKey< InDet::SiClusterContainer >
JiveXML::SiClusterRetriever::SiClusterRetriever
SiClusterRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: SiClusterRetriever.cxx:26
JiveXML::SiClusterRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: SiClusterRetriever.cxx:45
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::SiClusterRetriever::m_geo
const ToolHandle< IInDetGeoModelTool > m_geo
A tool handle to the geo model tool.
Definition: SiClusterRetriever.h:62
JiveXML::SiClusterRetriever::m_SiClusterCollName
SG::ReadHandleKey< InDet::SiClusterContainer > m_SiClusterCollName
StoreGate key for the SiClusterContainer for SCT.
Definition: SiClusterRetriever.h:68
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
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
SiClusterContainer.h
JiveXML::SiClusterRetriever::initialize
virtual StatusCode initialize()
initialize
Definition: SiClusterRetriever.cxx:187
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::SiClusterRetriever::m_SiTruthMapName
SG::ReadHandleKey< PRD_MultiTruthCollection > m_SiTruthMapName
Definition: SiClusterRetriever.h:72
PRD_MultiTruthCollection.h
AthAlgTool
Definition: AthAlgTool.h:26
JiveXML::SiClusterRetriever::m_useSiTruthMap
bool m_useSiTruthMap
StoreGate key for the PRD_MultiTruthCollection for SCT.
Definition: SiClusterRetriever.h:71
JiveXML::SiClusterRetriever
Retrieves all InDet::SiCluster objects.
Definition: SiClusterRetriever.h:42
IDataRetriever.h