ATLAS Offline Software
AlignTrackDresser.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 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 
12 
25 namespace CLHEP {
26  class HepSymMatrix;
27 }
28 
29 namespace Trk {
30  class IDerivCalcTool;
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  virtual ~AlignTrackDresser();
38 
39  virtual StatusCode initialize() override;
40  virtual StatusCode finalize() override;
41 
43  virtual bool dressAlignTrack(AlignTrack * alignTrack) override;
44 
46  void setResiduals(AlignTrack * alignTrack) const;
47 
49  virtual void setLogStream(std::ostream * os) override;
50 
51  private:
52 
53  // private variables
54  ToolHandle <IDerivCalcTool> m_derivCalcTool;
55 
56  unsigned int m_numBadCovWMatrix;
57 
58  }; // end class
59 
60 } // end namespace
61 
62 #endif // TRKALIGNGENDRESSERS_ALIGN_TRACK_DRESSER_H
IAlignTrackDresser.h
Trk::AlignTrackDresser::AlignTrackDresser
AlignTrackDresser(const std::string &type, const std::string &name, const IInterface *parent)
Definition: AlignTrackDresser.cxx:26
Trk::AlignTrackDresser::initialize
virtual StatusCode initialize() override
Definition: AlignTrackDresser.cxx:43
Trk::AlignTrackDresser::setResiduals
void setResiduals(AlignTrack *alignTrack) const
sets residuals for TSOS on alignTrack
Definition: AlignTrackDresser.cxx:97
Trk::AlignTrackDresser
Definition: AlignTrackDresser.h:33
IDerivCalcTool
Interface for tool used to select tracks, to determine detectors (ID or MS) for which to perform alig...
Trk::AlignTrackDresser::~AlignTrackDresser
virtual ~AlignTrackDresser()
Trk::AlignTrackDresser::m_derivCalcTool
ToolHandle< IDerivCalcTool > m_derivCalcTool
tool for calculating derivatives of residuals wrt.
Definition: AlignTrackDresser.h:54
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CLHEP
STD'S.
Definition: IAtRndmGenSvc.h:19
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Trk::IAlignTrackDresser
Definition: IAlignTrackDresser.h:30
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Trk::AlignTrackDresser::setLogStream
virtual void setLogStream(std::ostream *os) override
sets the output stream for the logfile
Definition: AlignTrackDresser.cxx:58
Trk::AlignTrack
Definition: AlignTrack.h:41
Trk::AlignTrackDresser::m_numBadCovWMatrix
unsigned int m_numBadCovWMatrix
number of tracks with invalid weight matrix from the deriv.calc.tool
Definition: AlignTrackDresser.h:56
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Trk::AlignTrackDresser::finalize
virtual StatusCode finalize() override
Definition: AlignTrackDresser.cxx:65
AthAlgTool
Definition: AthAlgTool.h:26
Trk::AlignTrackDresser::dressAlignTrack
virtual bool dressAlignTrack(AlignTrack *alignTrack) override
dresses alignTrack with derivatives and other information
Definition: AlignTrackDresser.cxx:73
AlignTrack
AlignTrack is a generalization of a Trk::Track, used as the basic object to contain track information...