 |
Belle II Software
release-05-01-25
|
14 #define TRGCDC_SHORT_NAMES
16 #include "trg/trg/Constants.h"
17 #include "trg/trg/Point2D.h"
18 #include "trg/cdc/Wire.h"
19 #include "trg/cdc/Link.h"
20 #include "trg/cdc/Circle.h"
21 #include "trg/cdc/CircleFitter.h"
22 #include "trg/cdc/HoughPlane.h"
32 const TRGCDCCircleFitter
33 TRGCDCCircle::_fitter = TRGCDCCircleFitter(
"TRGCDCCircle Default Fitter");
35 TRGCDCCircle::TRGCDCCircle(
const std::vector<TCLink*>& links)
36 : TCTBase(
"UnknownCircle", 0),
45 TRGCDCCircle::TRGCDCCircle(
double r,
48 const TCHPlane& plane)
49 : TCTBase(
"unknown",
charge),
50 _center(r * cos(phi), r * sin(phi)),
69 if (cmd.find(
"detail") != string::npos)
82 l.positionOnTrack(xv);
double charge(int pdgCode)
Returns electric charge of a particle with given pdg code.
const HepGeom::Point3D< double > ORIGIN
Origin 3D point.
virtual void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
dumps debug information.
std::string name(void) const
returns name.
double y(void) const
y of the point
double x(void) const
x of the point
double _radius
Radius multiplied by charge.
virtual void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const override
dumps debug information.
TRGPoint2D _center
Position of the circle center.
const TRGCDCHoughPlane * _plane
Hough plane.
Abstract base class for different kinds of events.
int approach2D(TRGCDCLink &) const override
calculate closest approach. Error was happened if return value is not zero.
virtual ~TRGCDCCircle()
Destructor.