ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
InDetJiveXML
src
BeamSpotRetriever.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_BEAMSPOTRETRIEVER_H
6
#define JIVEXML_BEAMSPOTRETRIEVER_H
7
8
#include "
JiveXML/IDataRetriever.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
BeamSpotConditionsData/BeamSpotData.h
"
11
12
13
namespace
JiveXML
{
14
23
class
BeamSpotRetriever
:
virtual
public
IDataRetriever
,
24
public
AthAlgTool
{
25
26
public
:
27
28
virtual
StatusCode
initialize
()
override
;
29
31
BeamSpotRetriever
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
32
34
virtual
StatusCode
retrieve
(ToolHandle<IFormatTool> &FormatTool)
override
;
35
37
virtual
std::string
dataTypeName
()
const override
{
return
"BeamSpot"
; };
38
39
private
:
40
41
SG::ReadCondHandleKey<InDet::BeamSpotData>
m_beamSpotKey
{
this
,
"BeamSpotKey"
,
"BeamSpotData"
,
"SG key for beam spot"
};
42
};
43
}
44
45
#endif
AthAlgTool.h
BeamSpotData.h
IDataRetriever.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
JiveXML::BeamSpotRetriever::initialize
virtual StatusCode initialize() override
Definition
BeamSpotRetriever.cxx:24
JiveXML::BeamSpotRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
Definition
BeamSpotRetriever.cxx:36
JiveXML::BeamSpotRetriever::dataTypeName
virtual std::string dataTypeName() const override
Return the name of the data type.
Definition
BeamSpotRetriever.h:37
JiveXML::BeamSpotRetriever::BeamSpotRetriever
BeamSpotRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
BeamSpotRetriever.cxx:17
JiveXML::BeamSpotRetriever::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition
BeamSpotRetriever.h:41
JiveXML::IDataRetriever
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
Definition
IDataRetriever.h:25
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
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