 |
ATLAS Offline Software
|
Go to the documentation of this file.
15 , m_trackTypeCounter(
AlignTrack::NTrackTypes+1,0)
37 return StatusCode::SUCCESS;
63 msg(
MSG::FATAL)<<
"Maximum allowed number of events without the track collection "
64 <<
"can be changed using the \'MaxRetrievalErrors\' option (-1 for infinite)."
66 return StatusCode::FAILURE;
69 return StatusCode::SUCCESS;
77 if(originalTracks->
empty())
78 return StatusCode::SUCCESS;
85 std::vector<TrackCollection *> alignTracks;
95 for ( ;
it != it_end ; ++
it, ++itrk) {
102 msg(
MSG::FATAL)<<
"Track is not an AlignTrack. The code only works with TrackCollection"
103 <<
" filled with AlignTracks."<<
endmsg;
104 return StatusCode::FAILURE;
116 alignTracks[colIndex]->push_back(
new AlignTrack(*alignTrack));
126 if(!alignTracks[
icol]->empty()) {
129 delete alignTracks[
icol];
135 delete alignTracks[
icol];
140 return StatusCode::SUCCESS;
149 ATH_MSG_INFO(
"Track collections recorded in StoreGate:");
150 ATH_MSG_INFO(
"----------------------------------------------");
153 ATH_MSG_INFO(
"----------------------------------------------");
155 return StatusCode::SUCCESS;
162 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.
StringProperty m_inputCol
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)
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
IntegerProperty m_maxRetrievalErrors
::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
@ NTrackTypes
total number of track types
size_type size() const noexcept
Returns the number of elements in the collection.
StringProperty m_outColPrefix
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