Belle II Software light-2406-ragdoll
BaseEvent.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 __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
39namespace 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
virtual void genEvent()=0
provides four-momenta (i.e. read values from ntuple, run toy MC, ...)
virtual int fitEvent(BaseFitter &fitter)=0
do it!
Abstract base class for fitting engines of kinematic fits.
Definition: BaseFitter.h:47
Abstract base class for different kinds of events.
Definition: ClusterUtils.h:24