Belle II Software development
IterationScanner.h
Go to the documentation of this file.
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * Forked from https://github.com/iLCSoft/MarlinKinfit *
6 * *
7 * Further information about the fit engine and the user interface *
8 * provided in MarlinKinfit can be found at *
9 * https://www.desy.de/~blist/kinfit/doc/html/ *
10 * and in the LCNotes LC-TOOL-2009-001 and LC-TOOL-2009-004 available *
11 * from http://www-flc.desy.de/lcnotes/ *
12 * *
13 * See git log for contributors and copyright holders. *
14 * This file is licensed under LGPL-3.0, see LICENSE.md. *
15 **************************************************************************/
16
30#ifdef MARLIN_USE_ROOT
31
32#ifndef __ITERATIONSCANNER_H
33#define __ITERATIONSCANNER_H
34
35#include <vector>
36
37namespace 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
Abstract base class for different kinds of events.