Belle II Software  release-05-02-19
IterationScanner.h
Go to the documentation of this file.
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * See https://github.com/tferber/OrcaKinfit, forked from *
4  * https://github.com/iLCSoft/MarlinKinfit *
5  * *
6  * Further information about the fit engine and the user interface *
7  * provided in MarlinKinfit can be found at *
8  * https://www.desy.de/~blist/kinfit/doc/html/ *
9  * and in the LCNotes LC-TOOL-2009-001 and LC-TOOL-2009-004 available *
10  * from http://www-flc.desy.de/lcnotes/ *
11  * *
12  * Adopted by: Torben Ferber (torben.ferber@desy.de) (TF) *
13  * *
14  * This software is provided "as is" without any warranty. *
15  **************************************************************************/
16 
30 #ifdef MARLIN_USE_ROOT
31 
32 #ifndef __ITERATIONSCANNER_H
33 #define __ITERATIONSCANNER_H
34 
35 #include <vector>
36 
37 namespace Belle2 {
43  namespace OrcaKinFit {
44 
45  class BaseFitter;
46  class BaseFitObject;
47  class BaseHardConstraint;
48 
49  class IterationScanner {
50  public:
51  explicit IterationScanner(BaseFitter& fitter_);
52 
53  void doScan(int xglobal,
54  int nx,
55  double xstart,
56  double xstop,
57  int yglobal,
58  int ny,
59  double ystart,
60  double ystop,
61  const char* idprefix = "",
62  const char* titleprefix = "");
63 
64 
65  protected:
66 
67  typedef std::vector <BaseFitObject*> FitObjectContainer;
68  typedef std::vector <BaseHardConstraint*> ConstraintContainer;
69 
70  typedef FitObjectContainer::iterator FitObjectIterator;
71  typedef ConstraintContainer::iterator ConstraintIterator;
72 
73  BaseFitter& fitter;
74 
75 
76  };
77 
78  }// end OrcaKinFit namespace
80 } // end Belle2 namespace
81 
82 
83 #endif /* #ifndef __ITERATIONSCANNER_H */
84 
85 #endif // MARLIN_USE_ROOT
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19