11 const std::string& name,
12 const IInterface* parent)
16 declareInterface<ITrackCollectionProvider>(
this);
26 return StatusCode::SUCCESS;
32 return StatusCode::SUCCESS;
41 originalTracks=
nullptr;
49 originalTracks=
nullptr;
56 msg(MSG::FATAL)<<
"Input track collection \'"<<
m_inputCol<<
"\' not found in first "
58 msg(MSG::FATAL)<<
"Maximum allowed number of events without the track collection "
59 <<
"can be changed using the \'MaxRetrievalErrors\' option (-1 for infinite)."
61 return StatusCode::FAILURE;
64 return StatusCode::SUCCESS;
73 return StatusCode::SUCCESS;
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
ServiceHandle< StoreGateSvc > & evtStore()
size_type size() const noexcept
Returns the number of elements in the collection.
int m_nRetrievalErrors
number of retrieval errors at the beginning of the job
TrackCollectionProvider(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~TrackCollectionProvider()
Gaudi::Property< std::string > m_inputCol
StatusCode trackCollection(const TrackCollection *&tracks)
Gaudi::Property< int > m_maxRetrievalErrors
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring
Ensure that the ATLAS eigen extensions are properly loaded.