ATLAS Offline Software
Loading...
Searching...
No Matches
T2VertexBeamSpot.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
14/**********************************************************************************
15 * @project: HLT, PESA algorithms
16 * @package: TrigT2BeamSpot
17 * @class : T2VertexBeamSpot
18 *
19 * @brief PESA algorithm that measures and monitors beam spot position using vertices
20 *
21 * @author David W. Miller <David.W.Miller@cern.ch> - SLAC, Stanford University
22 *
23 **********************************************************************************/
24#ifndef TRIGT2BEAMSPOT_T2VERTEXBEAMSPOT_H
25#define TRIGT2BEAMSPOT_T2VERTEXBEAMSPOT_H
26
31//Interface for the beam spot tool
33#include "T2TrackBeamSpotTool.h"
34
35namespace PESA {
49
51 {
52 public:
53
54 T2VertexBeamSpot( const std::string& name, ISvcLocator* pSvcLocator );
55
57 virtual StatusCode execute(const EventContext& ctx) const override final;
58
60 virtual StatusCode initialize() override final;
61
62 private:
63
64 bool m_doTrackBeamSpot; // if true then run track-based beam spot
65
66 //Tools
67 ToolHandle<T2VertexBeamSpotTool> m_beamSpotTool {this, "BeamSpotTool", "PESA::T2VertexBeamSpotTool/T2VertexBeamSpotTool" };
68 ToolHandle<T2TrackBeamSpotTool> m_trackBSTool{this, "TrackBeamSpotTool", "PESA::T2VertexBeamSpotTool/T2TrackBeamSpotTool" };
69 ToolHandle<GenericMonitoringTool> m_monTool{this,"MonTool","","Monitoring tool"};
70
71 SG::ReadHandleKey<TrackCollection> m_trackCollectionKey{this, "TrackCollection", "TrigFastTrackFinder_Tracks", "track collection name used by algorithm"};
72 };
73
74} // end namespace
75
76
77
78
79#endif
An algorithm that can be simultaneously executed in multiple threads.
T2VertexBeamSpot(const std::string &name, ISvcLocator *pSvcLocator)
std Gaudi Algorithm constructor
virtual StatusCode initialize() override final
Initialize the beamspot algorithm for Run3 Athena MT configuration, initialize all the handles and re...
SG::ReadHandleKey< TrackCollection > m_trackCollectionKey
ToolHandle< T2TrackBeamSpotTool > m_trackBSTool
virtual StatusCode execute(const EventContext &ctx) const override final
Loop over events, selecting tracks and reconstructing vertices out of these tracks.
ToolHandle< GenericMonitoringTool > m_monTool
ToolHandle< T2VertexBeamSpotTool > m_beamSpotTool
Property holding a SG store/key/clid from which a ReadHandle is made.
Local tools.
Definition idx.h:9