Belle II Software  release-08-01-10
BaseJetPairing.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 __BASEJETPAIRING_H
18 #define __BASEJETPAIRING_H
19 
20 
21 namespace Belle2 {
26  namespace OrcaKinFit {
27 
28  class JetFitObject;
29 
30 // Class BaseConstraint:
32 
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 
Abstract base class for jet pairings.
Class for jets with (E, eta, phi) in kinematic fits.
Definition: JetFitObject.h:43
Abstract base class for different kinds of events.