BOSS 8.0.0
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 "CLHEP/Geometry/Point3D.h"
13#include "GaudiKernel/Algorithm.h"
14
15#include "Tof_helix.h"
16
18
19 // Provides a candidate tof hit associated
20 // to a given cdc (fzisan) track.
21public:
22 TofFz_helix( void );
23 ~TofFz_helix( void ){};
24
25 // information for hit tof candidate.
26 int Tofid; // tof counter id
27 int Etfid; // tof counter id for the mrpc
28 double R_tof; // radius of tof cylinder
29 double Fi_tof; // azmuthal angle of the hit on the tof cylinder.
30 double W_tof; // dist from the right corner of the cntr / width.
31 double Pathl; // path lengh from ip to tof front
32 double Path_tof; // path length in tof
33 double Path_etf; // path length from ip to mrpc tof front
34 double Z_tof; // z on tof counter
35 double Z_etf; // z on mrpc tof counter
36
37 // information for mdc trcak.
38 double Dr, Phi0, Kappa, Dz, Tanl; // helix parameters
39 int NTrk; // tot number of mdc tracks
40 double Phi1; // phi on the tof cylinder
41 double r_endtof; // hits on TOF Endcap ,sqrt(x*x+y*y)
42 double r_etf; // hits on MRPC TOF Endcap ,sqrt(x*x+y*y)
43
44 int TofFz_Get( double, int, double[] ); // get tof hit for
45 // track id
46 // Debug option ([0]:None, !0:Debug)
47 void debugOpt( int deb ) { _debug = deb; }
48 // Set path length cut value
49 void pathlCut( double pathl_max ) { _pathl_cut = pathl_max; }
50 // Set Z_tof cut values
51 void ztofCut( double ztof_min, double ztof_max ) {
52 _ztof_cutm = ztof_min;
53 _ztof_cutx = ztof_max;
54 }
55
56private:
57 double piby1, pi2, piby44, piby24, piby18;
58 int _debug; // debug if >0
59 double _pathl_cut; // path length max.
60 double _ztof_cutm, _ztof_cutx; // Z_tof min/max
61};
62
63#endif /* _TOFFZ_HELIX_Flag_ */
character *LEPTONflag integer iresonances real pi2
int TofFz_Get(double, int, double[])
double Kappa
Definition Toffz_helix.h:38
double Path_tof
Definition Toffz_helix.h:32
double r_endtof
Definition Toffz_helix.h:41
double Pathl
Definition Toffz_helix.h:31
double Path_etf
Definition Toffz_helix.h:33
TofFz_helix(void)
void debugOpt(int deb)
Definition Toffz_helix.h:47
double r_etf
Definition Toffz_helix.h:42
double Phi0
Definition Toffz_helix.h:38
double W_tof
Definition Toffz_helix.h:30
void ztofCut(double ztof_min, double ztof_max)
Definition Toffz_helix.h:51
void pathlCut(double pathl_max)
Definition Toffz_helix.h:49
double Tanl
Definition Toffz_helix.h:38
double R_tof
Definition Toffz_helix.h:28
~TofFz_helix(void)
Definition Toffz_helix.h:23
double Phi1
Definition Toffz_helix.h:40
double Z_tof
Definition Toffz_helix.h:34
double Z_etf
Definition Toffz_helix.h:35
double Fi_tof
Definition Toffz_helix.h:29