ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
EFTracking
FPGATrackSim
FPGATrackSimPrototrackFitter
src
FPGATrackSimPrototrackFitterAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ACTSTRACKRECONSTRUCTION_FPGATRACKSIMPROTOTRACKFITTERALG_H
6
#define ACTSTRACKRECONSTRUCTION_FPGATRACKSIMPROTOTRACKFITTERALG_H 1
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
10
11
#include "
ActsToolInterfaces/IFitterTool.h
"
12
13
#include "
StoreGate/CondHandleKeyArray.h
"
14
#include "
ActsEvent/TrackContainerHandlesHelper.h
"
15
#include "
ActsGeometry/DetectorElementToActsGeometryIdMap.h
"
16
17
#include "
ActsEvent/ProtoTrackCollection.h
"
18
#include "
ActsEvent/ContextUtility.h
"
19
20
namespace
FPGATrackSim
{
21
class
FPGATrackSimPrototrackFitterAlg
:
public
::AthReentrantAlgorithm
{
22
public
:
23
using
::AthReentrantAlgorithm::AthReentrantAlgorithm;
24
virtual
~FPGATrackSimPrototrackFitterAlg
() =
default
;
25
27
28
//IS EXECUTED:
29
virtual
StatusCode
initialize
() override final;
//once, before any input is loaded
30
virtual StatusCode
execute
(
const
EventContext & ctx)
const
override final;
31
32
private
:
34
ActsTrk
::ContextUtility
m_ctxProvider
{
this
};
35
// the track fitter to use for the refit
36
ToolHandle<ActsTrk::IFitterTool>
m_actsFitter
{
this
,
"ActsFitter"
,
""
,
"Choice of Acts Fitter (Kalman by default)"
};
37
// output location to write to
38
SG::WriteHandleKey<ActsTrk::TrackContainer>
m_trackContainerKey
{
this
,
"ACTSTracksLocation"
,
""
,
"Output track collection (ActsTrk variant)"
};
39
// acts helper for the output
40
ActsTrk::MutableTrackContainerHandlesHelper
m_tracksBackendHandlesHelper
{
this
};
41
// prototrack collection from FPGAClusters or FPGATracks
42
SG::ReadHandleKey<ActsTrk::ProtoTrackCollection>
m_ProtoTrackCollectionFromFPGAKey
{
this
,
"FPGATrackSimActsProtoTracks"
,
""
,
"FPGATrackSim PrototrackCollection"
};
43
// chrono service
44
ServiceHandle<IChronoStatSvc>
m_chrono
{
this
,
"ChronoStatSvc"
,
"ChronoStatSvc"
};
45
};
46
47
}
48
49
#endif
//> !ACTSTRACKRECONSTRUCTION_PROTOTRACKCREATIONANDFITALG_H
AthReentrantAlgorithm.h
CondHandleKeyArray.h
ContextUtility.h
DetectorElementToActsGeometryIdMap.h
IFitterTool.h
ProtoTrackCollection.h
TrackContainerHandlesHelper.h
ActsTrk::MutableTrackContainerHandlesHelper
Definition
TrackContainerHandlesHelper.h:33
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
FPGATrackSim::FPGATrackSimPrototrackFitterAlg
Definition
FPGATrackSimPrototrackFitterAlg.h:21
FPGATrackSim::FPGATrackSimPrototrackFitterAlg::m_trackContainerKey
SG::WriteHandleKey< ActsTrk::TrackContainer > m_trackContainerKey
Definition
FPGATrackSimPrototrackFitterAlg.h:38
FPGATrackSim::FPGATrackSimPrototrackFitterAlg::m_actsFitter
ToolHandle< ActsTrk::IFitterTool > m_actsFitter
Definition
FPGATrackSimPrototrackFitterAlg.h:36
FPGATrackSim::FPGATrackSimPrototrackFitterAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
FPGATrackSimPrototrackFitterAlg.cxx:26
FPGATrackSim::FPGATrackSimPrototrackFitterAlg::m_ProtoTrackCollectionFromFPGAKey
SG::ReadHandleKey< ActsTrk::ProtoTrackCollection > m_ProtoTrackCollectionFromFPGAKey
Definition
FPGATrackSimPrototrackFitterAlg.h:42
FPGATrackSim::FPGATrackSimPrototrackFitterAlg::m_tracksBackendHandlesHelper
ActsTrk::MutableTrackContainerHandlesHelper m_tracksBackendHandlesHelper
Definition
FPGATrackSimPrototrackFitterAlg.h:40
FPGATrackSim::FPGATrackSimPrototrackFitterAlg::initialize
virtual StatusCode initialize() override final
uncomment and implement methods as required
Definition
FPGATrackSimPrototrackFitterAlg.cxx:16
FPGATrackSim::FPGATrackSimPrototrackFitterAlg::~FPGATrackSimPrototrackFitterAlg
virtual ~FPGATrackSimPrototrackFitterAlg()=default
FPGATrackSim::FPGATrackSimPrototrackFitterAlg::m_ctxProvider
ActsTrk::ContextUtility m_ctxProvider
Utility to fetch the geometry, magnetic field and calibration context in the event.
Definition
FPGATrackSimPrototrackFitterAlg.h:34
FPGATrackSim::FPGATrackSimPrototrackFitterAlg::m_chrono
ServiceHandle< IChronoStatSvc > m_chrono
Definition
FPGATrackSimPrototrackFitterAlg.h:44
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
const
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
FPGATrackSim
Definition
FPGATrackSimRegionMergingAlg.h:24
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0