ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsTrackReconstruction
src
ProtoTrackReportingAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ACTSTRACKRECONSTRUCTION_PROTOTRACKREPORTINGALG_H
6
#define ACTSTRACKRECONSTRUCTION_PROTOTRACKREPORTINGALG_H 1
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
TrkTrack/TrackCollection.h
"
10
#include "
xAODTracking/TrackParticleContainer.h
"
11
12
13
namespace
ActsTrk
{
16
class
ProtoTrackReportingAlg
:
public
::AthReentrantAlgorithm
{
17
public
:
18
ProtoTrackReportingAlg
(
const
std::string& name, ISvcLocator* pSvcLocator );
19
virtual
~ProtoTrackReportingAlg
() =
default
;
20
22
23
//IS EXECUTED:
24
virtual
StatusCode
initialize
() override final;
//once, before any input is loaded
25
virtual StatusCode
execute
(
const
EventContext & ctx)
const
override final;
26
27
private
:
28
// the track collection to print
29
SG
::ReadHandleKey<
TrackCollection
>
m_EFTracks
{
this
,
"TrackCollection"
,
""
,
"track collection to look for"
};
30
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_xAODTracks
{
this
,
"xAODTrackCollection"
,
""
,
" xAOD track collection to look for"
};
31
32
33
};
34
35
}
36
37
#endif
//> !ACTSTRACKRECONSTRUCTION_PROTOTRACKREPORTINGALG_H
AthReentrantAlgorithm.h
TrackParticleContainer.h
TrackCollection.h
TrackCollection
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
Definition
TrackCollection.h:19
ActsTrk::ProtoTrackReportingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
ProtoTrackReportingAlg.cxx:21
ActsTrk::ProtoTrackReportingAlg::m_xAODTracks
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_xAODTracks
Definition
ProtoTrackReportingAlg.h:30
ActsTrk::ProtoTrackReportingAlg::m_EFTracks
SG::ReadHandleKey< TrackCollection > m_EFTracks
Definition
ProtoTrackReportingAlg.h:29
ActsTrk::ProtoTrackReportingAlg::initialize
virtual StatusCode initialize() override final
uncomment and implement methods as required
Definition
ProtoTrackReportingAlg.cxx:12
ActsTrk::ProtoTrackReportingAlg::~ProtoTrackReportingAlg
virtual ~ProtoTrackReportingAlg()=default
ActsTrk::ProtoTrackReportingAlg::ProtoTrackReportingAlg
ProtoTrackReportingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
ProtoTrackReportingAlg.cxx:9
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
const
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0