|
ATLAS Offline Software
|
Go to the documentation of this file.
17 , m_trackTypeCounter(
AlignTrack::NTrackTypes+1,0)
18 , m_nRetrievalErrors(0)
43 return StatusCode::SUCCESS;
69 msg(
MSG::FATAL)<<
"Maximum allowed number of events without the track collection "
70 <<
"can be changed using the \'MaxRetrievalErrors\' option (-1 for infinite)."
72 return StatusCode::FAILURE;
75 return StatusCode::SUCCESS;
83 if(originalTracks->
empty())
84 return StatusCode::SUCCESS;
91 std::vector<TrackCollection *> alignTracks;
101 for ( ;
it != it_end ; ++
it, ++itrk) {
108 msg(
MSG::FATAL)<<
"Track is not an AlignTrack. The code only works with TrackCollection"
109 <<
" filled with AlignTracks."<<
endmsg;
110 return StatusCode::FAILURE;
122 alignTracks[colIndex]->push_back(
new AlignTrack(*alignTrack));
135 delete alignTracks[
icol];
141 delete alignTracks[
icol];
146 return StatusCode::SUCCESS;
155 ATH_MSG_INFO(
"Track collections recorded in StoreGate:");
156 ATH_MSG_INFO(
"----------------------------------------------");
159 ATH_MSG_INFO(
"----------------------------------------------");
161 return StatusCode::SUCCESS;
168 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
Const iterator class for DataVector/DataList.
std::vector< std::string > m_outColNames
Names of output track collections.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
int m_ntracks
number of processed tracks
int m_nRetrievalErrors
number of retrieval errors at the beginning of the job
AlignTrackCollSplitter(const std::string &name, ISvcLocator *pSvcLocator)
constructor
virtual ~AlignTrackCollSplitter()
destructor
std::string dumpAlignTrackType(const AlignTrack::AlignTrackType type)
int m_maxRetrievalErrors
maximum allowed number of retrieval errors at the beginning of the job (-1 for infinite)
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode execute()
loops over tracks in event, and accumulates information necessary for alignmnet
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode finalize()
finalize method
Ensure that the ATLAS eigen extensions are properly loaded.
virtual StatusCode initialize()
initialize method
int m_nevents
number of processed events
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
virtual StatusCode stop()
stop method
std::vector< int > m_trackTypeCounter
counter for different types of tracks
std::string m_outColPrefix
Prefix for names of output track collections.
std::string m_inputCol
Name of input track collection.
@ NTrackTypes
total number of track types
size_type size() const noexcept
Returns the number of elements in the collection.
bool empty() const noexcept
Returns true if the collection is empty.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
AlignTrackType type() const
get and set the refit type