BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/EsTimeAlg/EsTimeAlg-00-02-60/EsTimeAlg/Emc_helix.h
Go to the documentation of this file.
1/////////////////////////////////////////////////////
2// File: Emc_helix.h //
3// //
4// A class for associating a given MDC (fzisan) //
5// track (helix) to a EMC hit //
6// //
7// S.Behari 13th Jan. 2000 //
8/////////////////////////////////////////////////////
9//
10#ifndef _EMC_HELIX_Flag_
11#define _EMC_HELIX_Flag_
12#include "GaudiKernel/Algorithm.h"
13#include "CLHEP/Geometry/Point3D.h"
14
15
16class Emc_helix {
17
18 // Provides a candidate emc hit associated
19 // to a given mdc (fzisan) track.
20 public:
21 Emc_helix (void);
22 ~Emc_helix (void){};
23
24 // information for hit emc candidate.
25
26 double R_emc; // radius of emc cylinder
27 double Fi_emc; // azmuthal angle of the hit on the emc cylinder.
28 double W_emc; // dist from the right corner of the cntr / width.
29 double Z_emc; // z on emc counter
30 double theta_emc; //theta ,phi in the crossing plot
31 double phi_emc;
32
33 // information for mdc trcak.
34 double Dr,Phi0,Kappa,Dz,Tanl; // helix parameters
35 int NTrk; // tot number of mdc tracks
36 double Phi1; // phi on the emc cylinder
37
38 int Emc_Get (double, int,double[]); // get emc hit for
39 // track id
40 // Debug option ([0]:None, !0:Debug)
41 void debugOpt(int deb) {
42 _debug = deb;
43 }
44 // Set path length cut value
45 void pathlCut(double pathl_max) {
46 _pathl_cut = pathl_max;
47 }
48 // Set Z_emc cut values
49 void zemcCut(double zemc_min, double zemc_max) {
50 _zemc_cutm = zemc_min;
51 _zemc_cutx = zemc_max;
52 }
53
54 private:
55 double piby1, pi2, piby44;
56 int _debug; // debug if >0
57 double _pathl_cut; // path length max.
58 double _zemc_cutm,_zemc_cutx; // Z_emc min/max
59
60};
61
62#endif /* _EMC_HELIX_Flag_ */
63
64
65
66
67
68
69
70
71
72
Emc_helix(void)
void zemcCut(double zemc_min, double zemc_max)
int Emc_Get(double, int, double[])