MarlinKinfit  0.4.0
ParameterScanner.h
Go to the documentation of this file.
1 
21 #ifdef MARLIN_USE_ROOT
22 
23 #ifndef __PARAMETERSCANNER_H
24 #define __PARAMETERSCANNER_H
25 
26 #include <vector>
27 
28 class BaseFitter;
29 class BaseFitObject;
30 class BaseHardConstraint;
31 
32 class ParameterScanner {
33  public:
34  ParameterScanner (BaseFitter& fitter_);
35 
36  void doScan (int xglobal,
37  int nx,
38  double xstart,
39  double xstop,
40  int yglobal,
41  int ny,
42  double ystart,
43  double ystop,
44  const char *idprefix="",
45  const char *titleprefix="",
46  double mumerit=0);
47 
48 
49  protected:
50 
51  typedef std::vector <BaseFitObject *> FitObjectContainer;
52  typedef std::vector <BaseHardConstraint *> ConstraintContainer;
53 
54  typedef FitObjectContainer::iterator FitObjectIterator;
55  typedef ConstraintContainer::iterator ConstraintIterator;
56 
57  BaseFitter& fitter;
58 
59  enum {NCONMAX=100};
60 
61 
62 };
63 
64 #endif /* #ifndef __PARAMETERSCANNER_H */
65 
66 #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