PandaRoot
AbsFitter.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 /* Copyright 2013, Ludwig-Maximilians Universität München,
14  Authors: Tobias Schlüter & Johannes Rauch
15 
16  This file is part of GENFIT.
17 
18  GENFIT is free software: you can redistribute it and/or modify
19  it under the terms of the GNU Lesser General Public License as published
20  by the Free Software Foundation, either version 3 of the License, or
21  (at your option) any later version.
22 
23  GENFIT is distributed in the hope that it will be useful,
24  but WITHOUT ANY WARRANTY; without even the implied warranty of
25  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26  GNU Lesser General Public License for more details.
27 
28  You should have received a copy of the GNU Lesser General Public License
29  along with GENFIT. If not, see <http://www.gnu.org/licenses/>.
30 */
35 #ifndef genfit_AbsFitter_h
36 #define genfit_AbsFitter_h
37 
38 namespace genfit {
39 
40 class Track;
41 class AbsTrackRep;
42 
46 class AbsFitter {
47  public:
48  AbsFitter() : debugLvl_(0) {}
49  virtual ~AbsFitter() {}
50 
54  virtual void processTrackWithRep(Track *, const AbsTrackRep *, bool resortHits = false) = 0;
55 
59  void processTrack(Track *, bool resortHits = false);
60 
61  virtual void setDebugLvl(unsigned int lvl = 1) { debugLvl_ = lvl; }
62 
63  protected:
64  unsigned int debugLvl_;
65 };
66 
67 } /* End of namespace genfit */
70 #endif // genfit_AbsFitter_h
virtual void setDebugLvl(unsigned int lvl=1)
Definition: AbsFitter.h:61
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
Definition: Track.h:79
Abstract base class for a track representation.
Definition: AbsTrackRep.h:74
void processTrack(Track *, bool resortHits=false)
unsigned int debugLvl_
Definition: AbsFitter.h:64
virtual void processTrackWithRep(Track *, const AbsTrackRep *, bool resortHits=false)=0
virtual ~AbsFitter()
Definition: AbsFitter.h:49
Abstract base class for fitters.
Definition: AbsFitter.h:46
Matrix inversion tools.
Definition: AbsBField.h:40