Belle II Software development
CircleFitter.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
9//-----------------------------------------------------------------------------
10// Description : A class to fit a TTrackBase object to a circle.
11//-----------------------------------------------------------------------------
12
13#ifndef TRGCDCCIRCLEFITTER_FLAG_
14#define TRGCDCCIRCLEFITTER_FLAG_
15
16#include "trg/cdc/Fitter.h"
17
18#include "CLHEP/Geometry/Point3D.h"
19
20#ifdef TRGCDC_SHORT_NAMES
21#define TCCFitter TRGCDCCircleFitter
22#endif
23
24namespace Belle2 {
32
33 public:
35 explicit TRGCDCCircleFitter(const std::string& name);
36
38 virtual ~TRGCDCCircleFitter();
39
40 public:// Selectors
42 void dump(const std::string& message = std::string(""),
43 const std::string& prefix = std::string("")) const;
44
45 public:// Modifiers
47 virtual int fit(TRGCDCTrackBase&) const override;
48
49 private:
51 mutable double _charge;
53 mutable double _radius;
56 };
57
58//-----------------------------------------------------------------------------
59
60
62} // namespace Belle2
63
64#endif
A class to fit a TTrackBase object to a circle.
Definition: CircleFitter.h:31
void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
dumps debug information.
HepGeom::Point3D< double > _center
center
Definition: CircleFitter.h:55
A class to fit a TRGCDCTrackBase object.
Definition: Fitter.h:40
A class to represent a track object in TRGCDC.
Definition: TrackBase.h:40
virtual int fit(TRGCDCTrackBase &) const override
Fitter.
Definition: CircleFitter.cc:40
virtual ~TRGCDCCircleFitter()
Destructor.
Definition: CircleFitter.cc:35
const std::string & name(void) const
returns name.
Definition: Fitter.h:82
Abstract base class for different kinds of events.