BOSS
7.1.1
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
12
typedef
HepGeom::Point3D<double>
HepPoint3D
;
13
#endif
14
#include "
KalFitAlg/KalFitHitMdc.h
"
15
#include "
KalFitAlg/KalFitWire.h
"
16
#include "
MdcRecEvent/RecMdcHit.h
"
17
18
// constructor
19
KalFitHitMdc::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
28
KalFitHitMdc::KalFitHitMdc
(
int
id
,
int
LR,
double
tdc,
double
dist[2],
29
double
erdist[2],
KalFitWire
* wire):
30
LR_(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
40
KalFitHitMdc::~KalFitHitMdc
(
void
){}
41
42
int
KalFitHitMdc::isolated
(
void
){
43
44
return
1;
45
}
HepPoint3D
HepGeom::Point3D< double > HepPoint3D
Definition
KalFitHitMdc.cxx:12
KalFitHitMdc.h
KalFitWire.h
RecMdcHit.h
HepGeom::Point3D
Definition
IMagneticFieldSvc.h:15
KalFitHitMdc::erdist
const double * erdist(void) const
Definition
KalFitHitMdc.h:34
KalFitHitMdc::dist
const double * dist(void) const
Definition
KalFitHitMdc.h:33
KalFitHitMdc::~KalFitHitMdc
~KalFitHitMdc(void)
destructor
Definition
KalFitHitMdc.cxx:40
KalFitHitMdc::KalFitHitMdc
KalFitHitMdc(int id, int LR, double tdc, double dist[2], double erdist[2], KalFitWire *wire, RecMdcHit *rechitptr)
constructor
Definition
KalFitHitMdc.cxx:19
KalFitHitMdc::isolated
int isolated(void)
Definition
KalFitHitMdc.cxx:42
KalFitWire
Description of a Wire class.
Definition
KalFitWire.h:46
RecMdcHit
Definition
RecMdcHit.h:22
7.1.1
Reconstruction
KalFitAlg
KalFitAlg-00-08-07
src
KalFitHitMdc.cxx
Generated by
1.12.0