ATLAS Offline Software
Loading...
Searching...
No Matches
AlignTrackCollSplitter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKALIGNGENALGS_ALIGNTRACKCOLLSPLITTER_H
6#define TRKALIGNGENALGS_ALIGNTRACKCOLLSPLITTER_H
7
9
10#include <string>
11
22
23namespace Trk {
24
26
27 public:
28
30 AlignTrackCollSplitter(const std::string& name, ISvcLocator* pSvcLocator);
31
34
36 virtual StatusCode initialize();
37
39 virtual StatusCode execute();
40
42 virtual StatusCode stop();
43
45 virtual StatusCode finalize();
46
47 private:
48
49 StringProperty m_inputCol{this, "InputTrkCol", "AlignTracks",
50 "Name of input track collection"};
51 StringProperty m_outColPrefix{this, "OutputColPrefix", "AlignTracks",
52 "Prefix for names of output track collections"};
53
54 std::vector<std::string> m_outColNames;
55
56 int m_nevents = 0;
57 int m_ntracks = 0;
58
59 std::vector<int> m_trackTypeCounter;
60
62 IntegerProperty m_maxRetrievalErrors{this, "MaxRetrievalErrors", -1,
63 "maximum allowed number of retrieval errors at the beginning of the job (-1 for infinite)"};
64 };
65
66} // end namespace
67
68#endif // TRKALIGNGENALGS_ALIGNTRACKCOLLSPLITTER_H
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute()
loops over tracks in event, and accumulates information necessary for alignmnet
int m_ntracks
number of processed tracks
virtual StatusCode stop()
stop method
virtual ~AlignTrackCollSplitter()
destructor
std::vector< int > m_trackTypeCounter
counter for different types of tracks
int m_nRetrievalErrors
number of retrieval errors at the beginning of the job
virtual StatusCode finalize()
finalize method
virtual StatusCode initialize()
initialize method
AlignTrackCollSplitter(const std::string &name, ISvcLocator *pSvcLocator)
constructor
std::vector< std::string > m_outColNames
Names of output track collections.
int m_nevents
number of processed events
Ensure that the ATLAS eigen extensions are properly loaded.