ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
InDetJiveXML
src
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
8
#include "
JiveXML/IDataRetriever.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
IInDetGeoModelTool.h
"
11
#include "
StoreGate/ReadHandleKey.h
"
12
#include "
TrkSpacePoint/SpacePointContainer.h
"
13
#include "
TrkTruthData/PRD_MultiTruthCollection.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
59
SG::ReadHandleKey<SpacePointContainer>
m_PixelSPContainerName
;
60
62
SG::ReadHandleKey<SpacePointContainer>
m_SCTSPContainerName
;
63
65
bool
m_usePixelTruthMap
=
false
;
66
SG::ReadHandleKey<PRD_MultiTruthCollection>
m_PixelPRDTruthName
;
67
69
bool
m_useSCTTruthMap
=
false
;
70
SG::ReadHandleKey<PRD_MultiTruthCollection>
m_SCTPRDTruthName
;
71
};
72
73
}
74
#endif
75
76
77
AthAlgTool.h
IDataRetriever.h
IInDetGeoModelTool.h
PRD_MultiTruthCollection.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SpacePointContainer.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
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_PixelSPContainerName
SG::ReadHandleKey< SpacePointContainer > m_PixelSPContainerName
StoreGate key for Pixel space points.
Definition
SiSpacePointRetriever.h:59
JiveXML::SiSpacePointRetriever::m_SCTSPContainerName
SG::ReadHandleKey< SpacePointContainer > m_SCTSPContainerName
StoreGate key for SCT space points.
Definition
SiSpacePointRetriever.h:62
JiveXML::SiSpacePointRetriever::SiSpacePointRetriever
SiSpacePointRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition
SiSpacePointRetriever.cxx:29
JiveXML::SiSpacePointRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition
SiSpacePointRetriever.cxx:108
JiveXML::SiSpacePointRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition
SiSpacePointRetriever.h:47
JiveXML::SiSpacePointRetriever::m_usePixelTruthMap
bool m_usePixelTruthMap
StoreGate key for pixel PRD_MultiTruth.
Definition
SiSpacePointRetriever.h:65
JiveXML::SiSpacePointRetriever::initialize
virtual StatusCode initialize()
Only retrieve geo tool in initialize.
Definition
SiSpacePointRetriever.cxx:260
JiveXML::SiSpacePointRetriever::m_SCTPRDTruthName
SG::ReadHandleKey< PRD_MultiTruthCollection > m_SCTPRDTruthName
Definition
SiSpacePointRetriever.h:70
JiveXML::SiSpacePointRetriever::m_useSCTTruthMap
bool m_useSCTTruthMap
StoreGate key for SCT PRD_MultiTruth.
Definition
SiSpacePointRetriever.h:69
JiveXML::SiSpacePointRetriever::m_PixelPRDTruthName
SG::ReadHandleKey< PRD_MultiTruthCollection > m_PixelPRDTruthName
Definition
SiSpacePointRetriever.h:66
JiveXML::SiSpacePointRetriever::m_geo
const ToolHandle< IInDetGeoModelTool > m_geo
A tool handle to the geo model tool.
Definition
SiSpacePointRetriever.h:56
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition
BadLArRetriever.cxx:22
type
Generated on
for ATLAS Offline Software by
1.17.0