BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
KalFitHitMdc.h
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#ifndef _DEFINE_HITMdc_H_
11#define _DEFINE_HITMdc_H_
12
15
16/// Description of a Hit in Mdc
18
19public:
20 /// constructor
21 KalFitHitMdc(int id, int LR, double tdc, double dist[2],
23 KalFitHitMdc(int id, int LR, double tdc, double dist[2],
24 double erdist[2], KalFitWire * wire );
25 /// destructor
26 ~KalFitHitMdc(void);
27 /// Extractor :
28 /// Convention for LR (-1 : L, 1 : R)
29 int LR(void) const { return LR_;}
30 double chi2(void) const { return chi2_;}
31 double chi2_back(void) const { return chi2_back_;}
32 double tdc(void) const { return tdc_; }
33 const double* dist(void) const { return dist_; }
34 const double* erdist(void) const { return erdist_; }
35 const KalFitWire & wire(void) const { return *wire_; }
36 RecMdcHit* rechitptr(void) { return rechitptr_;}
37 int id(void) const { return id_;}
38
39 /// Modifier :
40 void LR(int LR) { LR_ = LR;}
41 void chi2(double chi2) { chi2_ = chi2;}
42 void chi2_back(double chi2) { chi2_back_ = chi2;}
43
44 int isolated(void);
45
46 private:
47 int LR_;
48 double tdc_;
49 double dist_[2];
50 double erdist_[2];
51 KalFitWire* wire_;
52 RecMdcHit* rechitptr_;
53 double chi2_, chi2_back_;
54 int id_;
55};
56
57#endif
Description of a Hit in Mdc.
Definition: KalFitHitMdc.h:17
double chi2_back(void) const
Definition: KalFitHitMdc.h:31
int LR(void) const
Definition: KalFitHitMdc.h:29
RecMdcHit * rechitptr(void)
Definition: KalFitHitMdc.h:36
const double * erdist(void) const
Definition: KalFitHitMdc.h:34
double tdc(void) const
Definition: KalFitHitMdc.h:32
double chi2(void) const
Definition: KalFitHitMdc.h:30
int id(void) const
Definition: KalFitHitMdc.h:37
void chi2_back(double chi2)
Definition: KalFitHitMdc.h:42
const double * dist(void) const
Definition: KalFitHitMdc.h:33
~KalFitHitMdc(void)
destructor
const KalFitWire & wire(void) const
Definition: KalFitHitMdc.h:35
void chi2(double chi2)
Definition: KalFitHitMdc.h:41
int isolated(void)
void LR(int LR)
Modifier :
Definition: KalFitHitMdc.h:40
Description of a Wire class.
Definition: KalFitWire.h:46