Belle II Software  release-05-02-19
BaseEvent.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 __BASEEVENT_H
18 #define __BASEEVENT_H
19 
20 #include "analysis/OrcaKinFit/FourVector.h"
21 #include "analysis/OrcaKinFit/BaseFitObject.h"
22 #include "analysis/OrcaKinFit/BaseFitter.h"
23 
24 // class BaseEvent
26 
39 namespace Belle2 {
44  namespace OrcaKinFit {
45 
46  class BaseEvent {
47  public:
48  virtual ~BaseEvent() {};
50  virtual void genEvent() = 0;
52  virtual int fitEvent(BaseFitter& fitter) = 0;
53 
54  };
55 
56  }// end OrcaKinFit namespace
58 } // end Belle2 namespace
59 
60 
61 #endif // __BASEEVENT_H
Belle2::OrcaKinFit::BaseEvent::fitEvent
virtual int fitEvent(BaseFitter &fitter)=0
do it!
Belle2::OrcaKinFit::BaseEvent::genEvent
virtual void genEvent()=0
provides four-momenta (i.e. read values from ntuple, run toy MC, ...)
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19