CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/EsTimeAlg/EsTimeAlg-00-02-52/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 Tofid_mrpc; // 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 Z_tof; // z on tof counter
35
36 // information for mdc trcak.
37 double Dr,Phi0,Kappa,Dz,Tanl; // helix parameters
38 int NTrk; // tot number of mdc tracks
39 double Phi1; // phi on the tof cylinder
40 double r_endtof; // hits on TOF Endcap ,sqrt(x*x+y*y)
41
42 int TofFz_Get (double, int,double[]); // get tof hit for
43 // track id
44 // Debug option ([0]:None, !0:Debug)
45 void debugOpt(int deb) {
46 _debug = deb;
47 }
48 // Set path length cut value
49 void pathlCut(double pathl_max) {
50 _pathl_cut = pathl_max;
51 }
52 // Set Z_tof cut values
53 void ztofCut(double ztof_min, double ztof_max) {
54 _ztof_cutm = ztof_min;
55 _ztof_cutx = ztof_max;
56 }
57
58 private:
59 double piby1, pi2, piby44,piby24;
60 int _debug; // debug if >0
61 double _pathl_cut; // path length max.
62 double _ztof_cutm,_ztof_cutx; // Z_tof min/max
63
64};
65
66#endif /* _TOFFZ_HELIX_Flag_ */
67
68
69
70
71
72
73
74
75
76
int TofFz_Get(double, int, double[])
TofFz_helix(void)