ATLAS Offline Software
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 
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
JiveXML::BeamSpotRetriever::BeamSpotRetriever
BeamSpotRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: BeamSpotRetriever.cxx:17
JiveXML::BeamSpotRetriever
Retrieve the BeamSpot information (official ID s/w result)
Definition: BeamSpotRetriever.h:24
JiveXML::BeamSpotRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
Definition: BeamSpotRetriever.cxx:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JiveXML::BeamSpotRetriever::initialize
virtual StatusCode initialize() override
Definition: BeamSpotRetriever.cxx:24
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
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
SG::ReadCondHandleKey< InDet::BeamSpotData >
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
BeamSpotData.h
AthAlgTool
Definition: AthAlgTool.h:26
JiveXML::BeamSpotRetriever::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition: BeamSpotRetriever.h:41
JiveXML::BeamSpotRetriever::dataTypeName
virtual std::string dataTypeName() const override
Return the name of the data type.
Definition: BeamSpotRetriever.h:37
IDataRetriever.h