00001 // File: Tof_helix.h 00002 // 00003 // CDC track (helix) to TOF interface. 00004 // 00005 // Creation: 20-March-1999 00006 // Version: 20-March-1999 00007 // 00008 // $Id: Tof_helix.h,v 1.2 2008/08/07 06:59:46 max Exp $ 00009 00010 #ifndef _TOF_HELIX_Flag_ 00011 #define _TOF_HELIX_Flag_ 00012 00013 class Tof_helix { 00014 00015 // Class Tof_helix coded on March 8, 99 by H.Kichimi 00016 // This provides a candidate tof associated to each cdc track. 00017 00018 public: 00019 // information for hit tof candidate. 00020 int Tofid; // tof counter id 00021 double R_tof; // radius of tof cylinder 00022 double Fi_tof; // azmuthal angle of the hit on the tof cylinder. 00023 double W_tof; // dist from the right corner of the cntr / width. 00024 double Pathl; // path lengh from ip to tof front 00025 double Z_tof; // z on tof counter 00026 double Path_tof; // path length in tof 00027 // errors for fi, pathl and z should be prepared properly. 00028 00029 // information for cdc trcak. 00030 int NTrk; // tot number of cdc tracks 00031 int Id_cdctrk; // current cdctrk id 00032 int Nhwir; // No of hit wires on the track 00033 double Dr,Phi0,Kappa,Dz,Tanl; // helix parameters 00034 double Phi1; // phi on the tof cylinder 00035 00036 public: // member functions 00037 Tof_helix (void); // constructor 00038 ~Tof_helix (void){}; // deconstructor 00039 int Tof_Get (double, int id); // get tof hit by id_cdctrk 00040 00041 private: 00042 double piby64; 00043 double piby1; 00044 double pi2; 00045 int DEBUG; // debug if >0 00046 }; 00047 00048 #endif /* _TOF_HELIX_Flag_ */ 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058