Belle II Software  release-05-02-19
ParameterScanner.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 
37 #ifdef MARLIN_USE_ROOT
38 
39 #ifndef __PARAMETERSCANNER_H
40 #define __PARAMETERSCANNER_H
41 
42 #include <vector>
43 
44 namespace Belle2 {
49  namespace OrcaKinFit {
50 
51  class BaseFitter;
52  class BaseFitObject;
53  class BaseHardConstraint;
54 
55  class ParameterScanner {
56  public:
57  explicit ParameterScanner(BaseFitter& fitter_);
58 
59  void doScan(int xglobal,
60  int nx,
61  double xstart,
62  double xstop,
63  int yglobal,
64  int ny,
65  double ystart,
66  double ystop,
67  const char* idprefix = "",
68  const char* titleprefix = "",
69  double mumerit = 0);
70 
71 
72  protected:
73 
74  typedef std::vector <BaseFitObject*> FitObjectContainer;
75  typedef std::vector <BaseHardConstraint*> ConstraintContainer;
76 
77  typedef FitObjectContainer::iterator FitObjectIterator;
78  typedef ConstraintContainer::iterator ConstraintIterator;
79 
80  BaseFitter& fitter;
81 
82  enum {NCONMAX = 100};
83 
84 
85  };
86 
87  }// end OrcaKinFit namespace
89 } // end Belle2 namespace
90 
91 #endif /* #ifndef __PARAMETERSCANNER_H */
92 
93 #endif // MARLIN_USE_ROOT
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19