ATLAS Offline Software
Loading...
Searching...
No Matches
iPatGlobalFitter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6// iPatGlobalFitter.h
7// Header file for class iPatGlobalFitter
8//
9// (c) ATLAS Detector software
11
12#ifndef TRKIPATFITTER_IPATGLOBALFITTER_H
13#define TRKIPATFITTER_IPATGLOBALFITTER_H
14
15//<<<<<< INCLUDES >>>>>>
16
19
20//<<<<<< CLASS DECLARATIONS >>>>>>
21
22namespace Trk {
23
25
26class iPatGlobalFitter : public iPatFitter, virtual public IGlobalTrackFitter {
27 public:
28 iPatGlobalFitter(const std::string& type, const std::string& name,
29 const IInterface* parent);
30 ~iPatGlobalFitter(void); // destructor
31
33 AlignmentCache&, const Track&, const RunOutlierRemoval runOutlier = false,
34 const ParticleHypothesis matEffects = Trk::nonInteracting) const;
35
36 private:
39 std::unique_ptr<Amg::MatrixX> derivMatrix(const FitState& fitState) const;
40
42 std::unique_ptr<Amg::MatrixX> fullCovarianceMatrix(
43 const FitState& fitState) const;
44
46 static int iterationsOfLastFit(const FitState& fitState);
47
49 void setMinIterations(int minIterations);
50
51 // configurables (tools and options)
52 bool m_allParameters; // all or 5 parameters for above matrix methods
53};
54
55} // namespace Trk
56
57#endif // TRKIPATFITTER_IPATGLOBALFITTER_H
provides additional abstract interfaces for information provided from global-least-squares track fit ...
iPatFitter(const std::string &type, const std::string &name, const IInterface *parent, bool isGlobalFit=false)
std::unique_ptr< Amg::MatrixX > derivMatrix(const FitState &fitState) const
GlobalTrackFitter methods: access to the matrix of derivatives used during the latest track fit.
static int iterationsOfLastFit(const FitState &fitState)
access to the number of iterations taken by the latest track fit
void setMinIterations(int minIterations)
set method for the minimum number of iterations for (alignment) friend
Track * alignmentFit(AlignmentCache &, const Track &, const RunOutlierRemoval runOutlier=false, const ParticleHypothesis matEffects=Trk::nonInteracting) const
RE-FIT A TRACK FOR ALIGNMENT.
std::unique_ptr< Amg::MatrixX > fullCovarianceMatrix(const FitState &fitState) const
access to the global fitter's full covariance matrix
iPatGlobalFitter(const std::string &type, const std::string &name, const IInterface *parent)
Ensure that the ATLAS eigen extensions are properly loaded.
bool RunOutlierRemoval
switch to toggle quality processing after fit
Definition FitterTypes.h:22
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.