BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/KalFitAlg/KalFitAlg/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
13#include "KalFitAlg/KalFitWire.h"
14#include "MdcRecEvent/RecMdcHit.h"
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
~KalFitHitMdc(void)
destructor
int isolated(void)