ATLAS Offline Software
Loading...
Searching...
No Matches
SiSpacePointRetriever.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_SISPACEPOINTRETRIEVER_H
6#define JIVEXML_SISPACEPOINTRETRIEVER_H
7
10#include "IInDetGeoModelTool.h"
14
15namespace JiveXML{
16
35 class SiSpacePointRetriever : virtual public IDataRetriever,
36 public AthAlgTool {
37
38 public:
39
41 SiSpacePointRetriever(const std::string& type,const std::string& name,const IInterface* parent);
42
44 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
45
47 virtual std::string dataTypeName() const { return "S3D"; };
48
50 virtual StatusCode initialize();
51
52 private:
53
55 const ToolHandle<IInDetGeoModelTool> m_geo
56 {this,"GeoModelTool","JiveXML::InDetGeoModelTool/InDetGeoModelTool",""};
57
60
63
65 bool m_usePixelTruthMap = false;
67
69 bool m_useSCTTruthMap = false;
71 };
72
73}
74#endif
75
76
77
Property holding a SG store/key/clid from which a ReadHandle is made.
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< SpacePointContainer > m_PixelSPContainerName
StoreGate key for Pixel space points.
SG::ReadHandleKey< SpacePointContainer > m_SCTSPContainerName
StoreGate key for SCT space points.
SiSpacePointRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
virtual std::string dataTypeName() const
Return the name of the data type.
bool m_usePixelTruthMap
StoreGate key for pixel PRD_MultiTruth.
virtual StatusCode initialize()
Only retrieve geo tool in initialize.
SG::ReadHandleKey< PRD_MultiTruthCollection > m_SCTPRDTruthName
bool m_useSCTTruthMap
StoreGate key for SCT PRD_MultiTruth.
SG::ReadHandleKey< PRD_MultiTruthCollection > m_PixelPRDTruthName
const ToolHandle< IInDetGeoModelTool > m_geo
A tool handle to the geo model tool.
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.