BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
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
19
20 // Provides a candidate tof hit associated
21 // to a given cdc (fzisan) track.
22 public:
23 TofFz_helix (void);
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[])
Definition: Toffz_helix.cxx:76
double Kappa
Definition: Toffz_helix.h:37
double Path_tof
Definition: Toffz_helix.h:33
int Tofid_mrpc
Definition: Toffz_helix.h:28
double r_endtof
Definition: Toffz_helix.h:40
double Pathl
Definition: Toffz_helix.h:32
TofFz_helix(void)
Definition: Toffz_helix.cxx:61
double Dr
Definition: Toffz_helix.h:37
void debugOpt(int deb)
Definition: Toffz_helix.h:45
double Dz
Definition: Toffz_helix.h:37
double Phi0
Definition: Toffz_helix.h:37
double W_tof
Definition: Toffz_helix.h:31
void ztofCut(double ztof_min, double ztof_max)
Definition: Toffz_helix.h:53
void pathlCut(double pathl_max)
Definition: Toffz_helix.h:49
double Tanl
Definition: Toffz_helix.h:37
double R_tof
Definition: Toffz_helix.h:29
~TofFz_helix(void)
Definition: Toffz_helix.h:24
double Phi1
Definition: Toffz_helix.h:39
double Z_tof
Definition: Toffz_helix.h:34
double Fi_tof
Definition: Toffz_helix.h:30