Belle II Software  release-08-01-10
BaseDefs.h
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 
17 #ifndef BASEDEFS_HH
18 #define BASEDEFS_HH
19 
20 namespace Belle2 {
25  namespace OrcaKinFit {
26 
27  class BaseDefs {
28  public:
29 
30  // define labels for bases (sets of intermediate variables)
31  enum { VARBASIS_EPXYZ = 0, VARBASIS_VXYZ, VARBASIS_TRKNORMAL, NMETASET };
32 
33  // max # of variables in the above bases
34  enum {MAXINTERVARS = 4};
35 
36  // maximum number of parameters for a fit object
37  enum {MAXPAR = 10};
38 
39  // this is used to store how many variables in each base (should be <= maxInter)
40  static const int nMetaVars[NMETASET];
41 
42  };
43 
44  }// end OrcaKinFit namespace
46 } // end Belle2 namespace
47 
48 #endif
49 
50 
Abstract base class for different kinds of events.