FlyoDoc_2011 Pisa 2011 by GmP --- 011
|
00001 /*************************************************************************** 00002 * Copyright (C) 2005 by Giuseppe Pierazzini Pisa 20.02.05 * 00003 * pierazzini@unipi.it * 00004 * F l y o * 00005 * Epsi/NA48 * 00006 ***************************************************************************/ 00007 #ifndef FLYLINE_H 00008 #define FLYLINE_H 00009 00010 00011 00012 //using namespace std; 00013 class Flytrk; 00014 00021 class Flyline 00022 { 00023 friend class Flytrk; 00024 friend class Flytrk2; 00025 00026 protected: 00027 const char *Title; 00028 int nhit1,nhit2,nhit3,nhit4,nhit5,nhit6; 00029 gvet xhit1[10],xhit2[10],xhit3[10],xhit4[10],xhit5[10],xhit6[10]; 00030 // for calculations... 00031 int Iter_trk,used_trk[6][10]; 00032 int i1,i2,i3,i4,i5,i6; 00033 double y1,y2,y3,y4,y5,y6; 00034 double z1,z2,z3,z4,z5,z6; 00035 double chiq_ora,chiqlast; 00036 00037 00038 public: 00039 Flytrk *First_trk,*Last_trk; 00040 double mas_pip; 00041 double Bsegno1,Bsegno2,kick1,kick2; 00042 00043 // saved values... 00044 int TrkNata,IterSav,isv1,isv2,isv3,isv4,isv5,isv6, indexsav; 00045 double chiqsav; 00046 00047 //paw_data max 6 tracce,. ma puo' aumentare... 00048 int Tot_trk; 00049 int Totrac; 00050 float Tot_Charge; 00051 int index[6]; 00052 float xct[6],yct[6],zct[6],vxt[6],vyt[6],vzt[6]; 00053 float chiq[6],ptrk[6],ptrk2[6],charge[6]; 00054 // 00055 00056 Flyline(); 00057 virtual ~Flyline(); 00058 void Get_Hits_from_Dev(); 00059 virtual void Find_Tracce(); 00060 void Save_Traccia(); 00061 void Reset() 00062 { 00063 Totrac=0; 00064 Tot_Charge=0.; 00065 } 00066 00067 }; 00068 00069 #if defined(MAINFLYO) 00070 Flyline * Le_Tracce; 00071 #endif 00072 00073 #if !defined(MAINFLYO) 00074 extern Flyline * Le_Tracce; 00075 #endif 00076 00077 #endif 00078