ATLAS Offline Software
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 
15 namespace 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 
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
JiveXML::SiSpacePointRetriever::m_SCTPRDTruthName
SG::ReadHandleKey< PRD_MultiTruthCollection > m_SCTPRDTruthName
Definition: SiSpacePointRetriever.h:70
JiveXML::SiSpacePointRetriever::initialize
virtual StatusCode initialize()
Only retrieve geo tool in initialize.
Definition: SiSpacePointRetriever.cxx:260
JiveXML::SiSpacePointRetriever::SiSpacePointRetriever
SiSpacePointRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: SiSpacePointRetriever.cxx:30
SG::ReadHandleKey< SpacePointContainer >
SpacePointContainer.h
JiveXML::SiSpacePointRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: SiSpacePointRetriever.cxx:109
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::SiSpacePointRetriever::m_useSCTTruthMap
bool m_useSCTTruthMap
StoreGate key for SCT PRD_MultiTruth.
Definition: SiSpacePointRetriever.h:69
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
JiveXML::SiSpacePointRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: SiSpacePointRetriever.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
JiveXML::SiSpacePointRetriever
Retrieves all InDet::SpacePoint data for Pixel and SCT.
Definition: SiSpacePointRetriever.h:36
IInDetGeoModelTool.h
JiveXML::SiSpacePointRetriever::m_geo
const ToolHandle< IInDetGeoModelTool > m_geo
A tool handle to the geo model tool.
Definition: SiSpacePointRetriever.h:56
JiveXML::SiSpacePointRetriever::m_PixelSPContainerName
SG::ReadHandleKey< SpacePointContainer > m_PixelSPContainerName
StoreGate key for Pixel space points.
Definition: SiSpacePointRetriever.h:59
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
PRD_MultiTruthCollection.h
JiveXML::SiSpacePointRetriever::m_PixelPRDTruthName
SG::ReadHandleKey< PRD_MultiTruthCollection > m_PixelPRDTruthName
Definition: SiSpacePointRetriever.h:66
AthAlgTool
Definition: AthAlgTool.h:26
IDataRetriever.h
JiveXML::SiSpacePointRetriever::m_SCTSPContainerName
SG::ReadHandleKey< SpacePointContainer > m_SCTSPContainerName
StoreGate key for SCT space points.
Definition: SiSpacePointRetriever.h:62
JiveXML::SiSpacePointRetriever::m_usePixelTruthMap
bool m_usePixelTruthMap
StoreGate key for pixel PRD_MultiTruth.
Definition: SiSpacePointRetriever.h:65