Belle II Software  release-05-01-25
BaseJetPairing.h
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 
17 #ifndef __BASEJETPAIRING_H
18 #define __BASEJETPAIRING_H
19 
20 
21 namespace Belle2 {
26  namespace OrcaKinFit {
27 
28  class JetFitObject;
29 
30 // Class BaseConstraint:
32 
39  class BaseJetPairing {
40  public:
41  virtual ~BaseJetPairing() {};
42 
43  // setters
44  virtual void reset() {iperm = 0;};
45 
46  // getters
47  virtual int getNPerm() const = 0;
48 
49  // does the job
50  virtual int nextPermutation(JetFitObject* permObjects[]) = 0;
51 
52  protected:
53  int iperm;
54 
55  };
56 
57  }// end OrcaKinFit namespace
59 } // end Belle2 namespace
60 
61 
62 #endif // __BASEJETPAIRING_H
63 
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19