ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
12
13namespace 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(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode initialize() override
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
virtual std::string dataTypeName() const override
Return the name of the data type.
BeamSpotRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.