MarlinKinfit  0.4.0
IterationScanner.h
Go to the documentation of this file.
1 
14 #ifdef MARLIN_USE_ROOT
15 
16 #ifndef __ITERATIONSCANNER_H
17 #define __ITERATIONSCANNER_H
18 
19 #include <vector>
20 
21 class BaseFitter;
22 class BaseFitObject;
23 class BaseHardConstraint;
24 
25 class IterationScanner {
26  public:
27  IterationScanner (BaseFitter& fitter_);
28 
29  void doScan (int xglobal,
30  int nx,
31  double xstart,
32  double xstop,
33  int yglobal,
34  int ny,
35  double ystart,
36  double ystop,
37  const char *idprefix="",
38  const char *titleprefix="");
39 
40 
41  protected:
42 
43  typedef std::vector <BaseFitObject *> FitObjectContainer;
44  typedef std::vector <BaseHardConstraint *> ConstraintContainer;
45 
46  typedef FitObjectContainer::iterator FitObjectIterator;
47  typedef ConstraintContainer::iterator ConstraintIterator;
48 
49  BaseFitter& fitter;
50 
51 
52 };
53 
54 #endif /* #ifndef __ITERATIONSCANNER_H */
55 
56 #endif // MARLIN_USE_ROOT
Abstract base class for fitting engines of kinematic fits.
Definition: BaseFitter.h:63
Abstract base class for constraints of kinematic fits.
Definition: BaseHardConstraint.h:69
Abstract base class for particle objects of kinematic fits.
Definition: BaseFitObject.h:110