00001 #ifndef StFgtContainers_h 00002 #define StFgtContainers_h 00003 /********************************************************************* 00004 * $Id: StFgtContainers.h,v 1.1 2011/04/07 19:31:22 balewski Exp $ 00005 ********************************************************************* 00006 * Description: 00007 * STAR Forward Gem Tracker : intermediate data definitions 00008 ********************************************************************* 00009 */ 00010 #include <TVector3.h> 00011 class g2t_fgt_hit_st; 00012 00013 //.... utility vector class for g2t hits 00014 class fgt_g2t_auxil { 00015 public: 00016 TVector3 Rlab;// hit entrance in LAB 00017 TVector3 Rloc, Dloc; // entrance & path in local ref frame 00018 g2t_fgt_hit_st *hitPtr; // the oryginal g2t hit 00019 int iQuad; // quadrant of the FGT DISK: [0-3] 00020 void Clear() { Rlab=Rloc=Dloc=TVector3(0,0,0); hitPtr=0; iQuad=-1;} 00021 fgt_g2t_auxil() { Clear();} 00022 }; 00023 00024 //...... single strip response 00025 class fgt_strip{// response of non-zero strips 00026 public: 00027 int id; // globalId = localId + strip_number*iqurd (iquad = 0-3) WMZ 00028 float adc; 00029 }; 00030 00031 //...... 1D clusters in one disk 00032 class fgt_cluster1D{ 00033 public: 00034 double fBin_mean; // centroid 00035 int nbin; // total width in bin-units 00036 double totAmpl, peakAmpl; // a.u. - measure of energy spread 00037 //... secondary quantities 00038 int iQuad; 00039 double position; // (cm or rad ) LAB position after conversion 00040 bool matched; 00041 fgt_cluster1D() { matched=false; nbin=0; totAmpl=position=0;} 00042 }; 00043 00044 #endif
1.5.9