00001 #ifndef BbcTail_h 00002 #define BbcHex_h 00003 00004 class BbcHex { 00005 public: 00006 enum {len=16,maxAdc=80}; 00007 //calibration , time walk saturates at adc>maxAdc 00008 00009 float a,b,c,d; 00010 char name[len]; 00011 int id; // hexID 00012 // hit 00013 int tdc; // raw channels 00014 int adc; // raw channels 00015 float tof; // time after all corrections (in channels) 00016 00017 BbcHex(int id,char *nme); 00018 void clear(); 00019 void print(int k=0); 00020 void setCalib(float A,float B,float C,float D) 00021 { a=A; b=B; c=C; d=D;} 00022 00023 void setHit(int t, int a); 00024 00025 }; 00026 #endif
1.5.9