ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetCalibAlgs
InDetBeamSpotFinder
src
InDetBeamSpotReader.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef INDET_INDETBEAMSPOTREADER_H
6
#define INDET_INDETBEAMSPOTREADER_H
8
// Author jwalder@cern.ch
9
// Simple Alogrithm to read the current beamspot value
11
12
13
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
14
#include "
StoreGate/ReadHandleKey.h
"
15
#include "
VxVertex/VxContainer.h
"
16
#include "
BeamSpotConditionsData/BeamSpotData.h
"
17
18
namespace
InDet
{
23
class
InDetBeamSpotReader
:
public
AthReentrantAlgorithm
{
24
25
public
:
26
//Standard constructor and methods
27
InDetBeamSpotReader
(
const
std::string& name, ISvcLocator* pSvcLocator);
28
StatusCode
initialize
()
override
;
29
StatusCode
execute
(
const
EventContext& ctx)
const override
;
30
31
private
:
32
SG::ReadCondHandleKey<InDet::BeamSpotData>
m_beamSpotKey
{
33
this
,
"BeamSpotKey"
,
"BeamSpotData"
,
"SG key for beam spot"
};
34
35
SG::ReadHandleKey<VxContainer>
m_vxContainer
36
{
this
,
"VxContainer"
,
"VxPrimaryCandidate"
,
"Vertex container name"
};
37
};
38
39
}
//end namespace
40
41
#endif
42
AthReentrantAlgorithm.h
BeamSpotData.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
VxContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
InDet::InDetBeamSpotReader::m_vxContainer
SG::ReadHandleKey< VxContainer > m_vxContainer
Definition
InDetBeamSpotReader.h:36
InDet::InDetBeamSpotReader::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition
InDetBeamSpotReader.h:32
InDet::InDetBeamSpotReader::initialize
StatusCode initialize() override
Definition
InDetBeamSpotReader.cxx:13
InDet::InDetBeamSpotReader::InDetBeamSpotReader
InDetBeamSpotReader(const std::string &name, ISvcLocator *pSvcLocator)
Definition
InDetBeamSpotReader.cxx:8
InDet::InDetBeamSpotReader::execute
StatusCode execute(const EventContext &ctx) const override
Definition
InDetBeamSpotReader.cxx:22
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
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0