Belle II Software development
V0VertexFitter.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#pragma once
9
10#include <string>
11
12namespace genfit {
13 class GFRaveVertex;
14 class Track;
15}
16
17namespace Belle2 {
22
30
31 public:
32
34 virtual ~V0VertexFitter() = default;
35
44 virtual bool fit(genfit::Track& trackPlus, genfit::Track& trackMinus,
45 const int pdgTrackPlus, const int pdgTrackMinus,
46 genfit::GFRaveVertex& vertex) = 0;
47
49 virtual std::string getName() const = 0;
50 };
51
53}
Interface of the vertex fitters usable by the V0Fitter.
virtual ~V0VertexFitter()=default
Destructor.
virtual bool fit(genfit::Track &trackPlus, genfit::Track &trackMinus, const int pdgTrackPlus, const int pdgTrackMinus, genfit::GFRaveVertex &vertex)=0
Fit the V0 vertex.
virtual std::string getName() const =0
Get the name this fitter is registered with in the V0VertexFitterFactory.
Abstract base class for different kinds of events.