ATLAS Offline Software
Loading...
Searching...
No Matches
AlignTrackDresser.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 TRKALIGNGENDRESSERS_ALIGN_TRACK_DRESSER_H
6#define TRKALIGNGENDRESSERS_ALIGN_TRACK_DRESSER_H
7
9#include "GaudiKernel/ToolHandle.h"
10
13
25
26namespace CLHEP {
27 class HepSymMatrix;
28}
29
30namespace Trk {
31 class AlignTrack;
32
33 class AlignTrackDresser : virtual public IAlignTrackDresser, public AthAlgTool {
34
35 public:
36 AlignTrackDresser(const std::string & type, const std::string & name, const IInterface * parent);
37
38 virtual StatusCode initialize() override;
39 virtual StatusCode finalize() override;
40
42 virtual bool dressAlignTrack(AlignTrack * alignTrack) override;
43
45 void setResiduals(AlignTrack * alignTrack) const;
46
48 virtual void setLogStream(std::ostream * os) override;
49
50 private:
51
52 // private variables
53 ToolHandle <IDerivCalcTool> m_derivCalcTool{
54 this, "DerivCalcTool", "Trk::AnalyticalDerivCalcTool",
55 "tool for calculating derivatives of residuals wrt. alignment parameters"};
56
57 unsigned int m_numBadCovWMatrix = 0;
58
59 }; // end class
60
61} // end namespace
62
63#endif // TRKALIGNGENDRESSERS_ALIGN_TRACK_DRESSER_H
AlignTrack is a generalization of a Trk::Track, used as the basic object to contain track information...
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode finalize() override
virtual bool dressAlignTrack(AlignTrack *alignTrack) override
dresses alignTrack with derivatives and other information
unsigned int m_numBadCovWMatrix
number of tracks with invalid weight matrix from the deriv.calc.tool
void setResiduals(AlignTrack *alignTrack) const
sets residuals for TSOS on alignTrack
AlignTrackDresser(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize() override
ToolHandle< IDerivCalcTool > m_derivCalcTool
virtual void setLogStream(std::ostream *os) override
sets the output stream for the logfile
Ensure that the ATLAS eigen extensions are properly loaded.