ATLAS Offline Software
Loading...
Searching...
No Matches
PixelClusterRetriever.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_PIXELCLUSTERRETRIEVER_H
6#define JIVEXML_PIXELCLUSTERRETRIEVER_H
7
10#include "IInDetGeoModelTool.h"
16
17namespace JiveXML
18{
19
20
41 class PixelClusterRetriever : virtual public IDataRetriever,
42 public AthAlgTool {
43
44 public:
45
47 PixelClusterRetriever(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 "PixCluster"; }
54
56 virtual StatusCode initialize();
57
58 private:
59
61 const ToolHandle<IInDetGeoModelTool> m_geo
62 {this, "GeoModelTool","JiveXML::InDetGeoModelTool/InDetGeoModelTool",""};
63
65 SG::ReadHandleKey<InDet::SiClusterContainer> m_PixelClusterCollName{this, "PixelClusterCollKey", "PixelClusters", "Key of SiClusterContainer for Pixel"};
66
68 bool m_usePixelTruthMap = false;
69 SG::ReadHandleKey<PRD_MultiTruthCollection> m_PixelTruthMapName{this, "PixelClusterMapKey", "PRD_MultiTruthPixel", "Key of PRD_MultiTruthCollection for Pixel"};
70
71 SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_pixelDetEleCollKey{this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"};
72 };
73}
74#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...
const ToolHandle< IInDetGeoModelTool > m_geo
A tool handle to the geo model tool.
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
virtual std::string dataTypeName() const
Return the name of the data type.
SG::ReadHandleKey< InDet::SiClusterContainer > m_PixelClusterCollName
The StoreGate key for the SiClusterCollection to retrieve.
PixelClusterRetriever(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()
initialize only geo model tool
SG::ReadHandleKey< PRD_MultiTruthCollection > m_PixelTruthMapName
bool m_usePixelTruthMap
The StoreGate key for the PRD MultiTruthMap with the track associations.
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.