BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
KalFitHitMdc.cxx
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// File from KalFit module
3//
4// Filename : KalFitHitMdc.cc
5//------------------------------------------------------------------------
6// Description : Hit in Mdc
7//------------------------------------------------------------------------
8// Modif :
9//------------------------------------------------------------------------
10#include "CLHEP/Geometry/Point3D.h"
11#ifndef ENABLE_BACKWARDS_COMPATIBILITY
13 #endif
17
18// constructor
19KalFitHitMdc::KalFitHitMdc(int id, int LR, double tdc, double dist[2],
20 double erdist[2], KalFitWire* wire, RecMdcHit* rechitptr):
21 LR_(LR), tdc_(tdc), wire_(wire), rechitptr_(rechitptr), chi2_(0), chi2_back_(0), id_(id) {
22 dist_[0]=dist[0];
23 dist_[1]=dist[1];
24 erdist_[0]=erdist[0];
25 erdist_[1]=erdist[1];
26}
27
28KalFitHitMdc::KalFitHitMdc(int id, int LR, double tdc, double dist[2],
29 double erdist[2], KalFitWire* wire):
30LR_(LR), tdc_(tdc), wire_(wire), chi2_(0), chi2_back_(0), id_(id) {
31
32 dist_[0]=dist[0];
33 dist_[1]=dist[1];
34 erdist_[0]=erdist[0];
35 erdist_[1]=erdist[1];
36}
37
38
39// destructor
41
43
44 return 1;
45}
HepGeom::Point3D< double > HepPoint3D
const double * erdist(void) const
Definition: KalFitHitMdc.h:34
const double * dist(void) const
Definition: KalFitHitMdc.h:33
~KalFitHitMdc(void)
destructor
KalFitHitMdc(int id, int LR, double tdc, double dist[2], double erdist[2], KalFitWire *wire, RecMdcHit *rechitptr)
constructor
int isolated(void)
Description of a Wire class.
Definition: KalFitWire.h:46