ATLAS Offline Software
Loading...
Searching...
No Matches
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
17namespace 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
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...
SG::ReadHandleKey< InDet::SiClusterContainer > m_SiClusterCollName
StoreGate key for the SiClusterContainer for SCT.
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Condition object key of SiDetectorElementCollection for SCT.
SiClusterRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
virtual StatusCode initialize()
initialize
bool m_useSiTruthMap
StoreGate key for the PRD_MultiTruthCollection for SCT.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
const ToolHandle< IInDetGeoModelTool > m_geo
A tool handle to the geo model tool.
virtual std::string dataTypeName() const
Return the name of the data type.
SG::ReadHandleKey< PRD_MultiTruthCollection > m_SiTruthMapName
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.