11 const std::string& name,
12 const IInterface* parent)
18 declareInterface<ITrackCollectionProvider>(
this);
33 return StatusCode::SUCCESS;
39 return StatusCode::SUCCESS;
48 originalTracks=
nullptr;
56 originalTracks=
nullptr;
63 msg(MSG::FATAL)<<
"Input track collection \'"<<
m_inputCol<<
"\' not found in first "
65 msg(MSG::FATAL)<<
"Maximum allowed number of events without the track collection "
66 <<
"can be changed using the \'MaxRetrievalErrors\' option (-1 for infinite)."
68 return StatusCode::FAILURE;
71 return StatusCode::SUCCESS;
80 return StatusCode::SUCCESS;
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
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()
int m_maxRetrievalErrors
maximum allowed number of retrieval errors at the beginning of the job (-1 for infinite)
std::string m_inputCol
Name of input track collection.
StatusCode trackCollection(const TrackCollection *&tracks)
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.