 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRKALIGNGENALGS_ALIGNALG_H
6 #define TRKALIGNGENALGS_ALIGNALG_H
8 #include "GaudiKernel/ToolHandle.h"
71 this,
"TrackCollectionProvider",
"Trk::TrackCollectionProvider",
72 "tool for getting track collection from StoreGate"};
76 this,
"AlignTrackPreProcessor",
"Trk::AlignTrackPreProcessor",
77 "tool for converting Trk::Track to AlignTrack after processing if necessary"};
81 this,
"AlignTrackCreator",
"Trk::AlignTrackCreator",
82 "tool for creating AlignTSOSCollection to store on AlignTrack"};
86 this,
"AlignTrackDresser",
"Trk::AlignTrackDresser",
87 "tool for dressing AlignTrack with residuals, derivatives, etc."};
91 this,
"AlignTool",
"Trk::GlobalChi2AlignTool",
92 "alignment algorithm-specific tool"};
96 this,
"GeometryManagerTool",
"InDet::InDetGeometryManagerTool",
97 "tool for configuring geometry"};
101 this,
"AlignDBTool",
"Trk::TrkAlignDBTool",
"tool for handling DB stuff"};
105 this,
"FillNtupleTool",
"",
106 "tool for storing Trk::Track information into the ntuple"};
109 StringProperty
m_filename{
this,
"FileName",
"Align.root",
"name of ntuple file"};
110 StringProperty
m_filepath{
this,
"FilePath",
"./",
"path to ntuple file"};
113 "only do the solving (accumulate from binaries)"};
115 "write track and event information to ntuple"};
118 "Set the Alignment Solve Level"};
122 "write a logfile for solving"};
124 "name of the logfile"};
135 "name of the AlignTrack collection in the StoreGate"};
141 #endif // TRKALIGNGENALGS_ALIGNALG_H
int m_ntracksSel
number of selected tracks
PublicToolHandle< IGeometryManagerTool > m_geometryManagerTool
Pointer to GeometryManagerTool, used to get lists of chambers for which alignment parameters will be ...
int m_ntracksProc
number of tracks successfully processed
BooleanProperty m_writeNtuple
ToolHandle< IFillNtupleTool > m_fillNtupleTool
Pointer to FillNtupleTool, used to write track information to ntuple.
StringProperty m_filepath
virtual StatusCode finalize()
finalize method
int m_ntracksDress
number of tracks successfully dressed
virtual StatusCode start()
set up geometry and prepare the tools
virtual StatusCode initialize()
initialize method
virtual StatusCode stop()
processes information accumulated in execute method to determine alignment parameters
ToolHandle< IAlignTrackCreator > m_alignTrackCreator
Pointer to alignTrackCreator, used to convert Trk::Track to vector of AlignTrack.
int m_ntracksAccum
number of tracks successfully accumulated
TFile * m_ntuple
output ntuple
ToolHandle< ITrackCollectionProvider > m_trackCollectionProvider
BooleanProperty m_solveOnly
ToolHandle< ITrkAlignDBTool > m_trkAlignDBTool
Pointer to TrkAlignDBTool, used for reading/writing alignment parameters from/to the database.
std::ostream * m_logStream
logfile output stream
::StatusCode StatusCode
StatusCode definition for legacy code.
ToolHandle< IAlignTrackDresser > m_alignTrackDresser
Pointer to alignTrackDresser, used to add residuals, derivatives, etc.
int m_ntracks
number of processed tracks
BooleanProperty m_writeLogfile
Ensure that the ATLAS eigen extensions are properly loaded.
virtual ~AlignAlg()
destructor
virtual StatusCode execute()
loops over tracks in event, and accumulates information necessary for alignmnet
IntegerProperty m_alignSolveLevel
ToolHandle< IAlignTool > m_alignTool
Pointer to alignTool.
ToolHandle< IAlignTrackPreProcessor > m_alignTrackPreProcessor
Pointer to AlignTrackPreProcessor, used to select hits on tracks and/or tracks before passing to Alig...
StringProperty m_alignTracksName
StringProperty m_logfileName
void showStatistics()
dumps statistics accumulated in each event
AthAlgorithm()
Default constructor:
int m_nevents
number of processed events
StringProperty m_filename