ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
InDetJiveXML
src
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
8
#include "
JiveXML/IDataRetriever.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
11
#include "
IInDetGeoModelTool.h
"
12
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
13
#include "
InDetPrepRawData/SiClusterContainer.h
"
14
#include "
TrkTruthData/PRD_MultiTruthCollection.h
"
15
#include "
StoreGate/ReadCondHandleKey.h
"
16
17
namespace
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.h
IDataRetriever.h
IInDetGeoModelTool.h
PRD_MultiTruthCollection.h
ReadCondHandleKey.h
SiClusterContainer.h
SiDetectorElementCollection.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::SiClusterRetriever::m_SiClusterCollName
SG::ReadHandleKey< InDet::SiClusterContainer > m_SiClusterCollName
StoreGate key for the SiClusterContainer for SCT.
Definition
SiClusterRetriever.h:68
JiveXML::SiClusterRetriever::m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Condition object key of SiDetectorElementCollection for SCT.
Definition
SiClusterRetriever.h:65
JiveXML::SiClusterRetriever::SiClusterRetriever
SiClusterRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition
SiClusterRetriever.cxx:25
JiveXML::SiClusterRetriever::initialize
virtual StatusCode initialize()
initialize
Definition
SiClusterRetriever.cxx:186
JiveXML::SiClusterRetriever::m_useSiTruthMap
bool m_useSiTruthMap
StoreGate key for the PRD_MultiTruthCollection for SCT.
Definition
SiClusterRetriever.h:71
JiveXML::SiClusterRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition
SiClusterRetriever.cxx:44
JiveXML::SiClusterRetriever::m_geo
const ToolHandle< IInDetGeoModelTool > m_geo
A tool handle to the geo model tool.
Definition
SiClusterRetriever.h:62
JiveXML::SiClusterRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition
SiClusterRetriever.h:53
JiveXML::SiClusterRetriever::m_SiTruthMapName
SG::ReadHandleKey< PRD_MultiTruthCollection > m_SiTruthMapName
Definition
SiClusterRetriever.h:72
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
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