BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/EsTimeAlg/EsTimeAlg-00-02-60/EsTimeAlg/Toffz_helix.h
Go to the documentation of this file.
1/////////////////////////////////////////////////////
2// File: Toffz_helix.h //
3// //
4// A class derived from Tof_helix for associating //
5// a given CDC (fzisan) track (helix) to a TOF hit //
6// //
7// S.Behari 13th Jan. 2000 //
8/////////////////////////////////////////////////////
9//
10#ifndef _TOFFZ_HELIX_Flag_
11#define _TOFFZ_HELIX_Flag_
12#include "GaudiKernel/Algorithm.h"
13#include "CLHEP/Geometry/Point3D.h"
14
15
16#include "EsTimeAlg/Tof_helix.h"
17
18class TofFz_helix {
19
20 // Provides a candidate tof hit associated
21 // to a given cdc (fzisan) track.
22 public:
24 ~TofFz_helix (void){};
25
26 // information for hit tof candidate.
27 int Tofid; // tof counter id
28 int Etfid; // tof counter id for the mrpc
29 double R_tof; // radius of tof cylinder
30 double Fi_tof; // azmuthal angle of the hit on the tof cylinder.
31 double W_tof; // dist from the right corner of the cntr / width.
32 double Pathl; // path lengh from ip to tof front
33 double Path_tof; // path length in tof
34 double Path_etf; // path length from ip to mrpc tof front
35 double Z_tof; // z on tof counter
36 double Z_etf; // z on mrpc tof counter
37
38 // information for mdc trcak.
39 double Dr,Phi0,Kappa,Dz,Tanl; // helix parameters
40 int NTrk; // tot number of mdc tracks
41 double Phi1; // phi on the tof cylinder
42 double r_endtof; // hits on TOF Endcap ,sqrt(x*x+y*y)
43 double r_etf; // hits on MRPC TOF Endcap ,sqrt(x*x+y*y)
44
45 int TofFz_Get (double, int,double[]); // get tof hit for
46 // track id
47 // Debug option ([0]:None, !0:Debug)
48 void debugOpt(int deb) {
49 _debug = deb;
50 }
51 // Set path length cut value
52 void pathlCut(double pathl_max) {
53 _pathl_cut = pathl_max;
54 }
55 // Set Z_tof cut values
56 void ztofCut(double ztof_min, double ztof_max) {
57 _ztof_cutm = ztof_min;
58 _ztof_cutx = ztof_max;
59 }
60
61 private:
62 double piby1, pi2, piby44,piby24,piby18;
63 int _debug; // debug if >0
64 double _pathl_cut; // path length max.
65 double _ztof_cutm,_ztof_cutx; // Z_tof min/max
66
67};
68
69#endif /* _TOFFZ_HELIX_Flag_ */
70
71
72
73
74
75
76
77
78
79
int TofFz_Get(double, int, double[])
TofFz_helix(void)