ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkAlignment
TrkAlignGenTools
TrkAlignGenTools
TrackCollectionProvider.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRKALIGNGENTOOLS_TRACKCOLLECTIONPROVIDER_H
6
#define TRKALIGNGENTOOLS_TRACKCOLLECTIONPROVIDER_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
11
#include "
TrkAlignInterfaces/ITrackCollectionProvider.h
"
12
22
23
namespace
Trk
{
24
25
class
TrackCollectionProvider
:
virtual
public
ITrackCollectionProvider
,
public
AthAlgTool
{
26
27
public
:
28
TrackCollectionProvider
(
const
std::string &
type
,
const
std::string & name,
const
IInterface * parent);
29
virtual
~TrackCollectionProvider
();
30
31
StatusCode
initialize
();
32
StatusCode
finalize
();
33
34
StatusCode
trackCollection
(
const
TrackCollection
*& tracks);
35
36
private
:
37
Gaudi::Property<std::string>
m_inputCol
{
this
,
"InputTrkCol"
,
"MooreTracks"
,
38
"Name of input track collection"
};
39
40
int
m_nRetrievalErrors
= 0;
41
Gaudi::Property<int>
m_maxRetrievalErrors
{
this
,
"MaxRetrievalErrors"
, 10,
42
"maximum allowed number of retrieval errors at the beginning of the job (-1 for infinite)"
};
43
44
};
// end class
45
46
}
// end namespace
47
48
#endif
// TRKALIGNGENTOOLS_TRACKCOLLECTIONPROVIDER_H
AthAlgTool.h
ITrackCollectionProvider.h
TrackCollection
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
Definition
TrackCollection.h:19
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
Trk::ITrackCollectionProvider
Definition
ITrackCollectionProvider.h:33
Trk::TrackCollectionProvider::m_nRetrievalErrors
int m_nRetrievalErrors
number of retrieval errors at the beginning of the job
Definition
TrackCollectionProvider.h:40
Trk::TrackCollectionProvider::TrackCollectionProvider
TrackCollectionProvider(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TrackCollectionProvider.cxx:10
Trk::TrackCollectionProvider::~TrackCollectionProvider
virtual ~TrackCollectionProvider()
Trk::TrackCollectionProvider::finalize
StatusCode finalize()
Definition
TrackCollectionProvider.cxx:30
Trk::TrackCollectionProvider::m_inputCol
Gaudi::Property< std::string > m_inputCol
Definition
TrackCollectionProvider.h:37
Trk::TrackCollectionProvider::initialize
StatusCode initialize()
Definition
TrackCollectionProvider.cxx:24
Trk::TrackCollectionProvider::trackCollection
StatusCode trackCollection(const TrackCollection *&tracks)
Definition
TrackCollectionProvider.cxx:37
Trk::TrackCollectionProvider::m_maxRetrievalErrors
Gaudi::Property< int > m_maxRetrievalErrors
Definition
TrackCollectionProvider.h:41
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
type
Generated on
for ATLAS Offline Software by
1.17.0