00001 //_______________________________________ 00002 // 00003 // Class for TMB Logic Analyzer Data 00004 // CSCTMBScope 9/11/03 B.Mohr 00005 //_______________________________________ 00006 // 00007 00008 #ifndef CSCTMBScope_h 00009 #define CSCTMBScope_h 00010 00011 class CSCTMBScope { 00012 00013 public: 00014 00015 CSCTMBScope() {size_ = 0;} //default constructor 00016 CSCTMBScope(unsigned short *buf,int b05Line,int e05Line); 00017 static unsigned short sizeInWords() {return 1538;} 00018 static void setDebug(const bool value) {debug = value;}; 00019 00020 unsigned int data[52]; //scope data for ntuple 00021 //public for now -- better way? 00022 private: 00023 00024 int UnpackScope(unsigned short *buf,int b05Line,int e05Line); 00025 int GetPretrig(int ich); 00026 00027 unsigned int scope_ram[256][6]; //stores all scope data 00028 unsigned short size_; 00029 static bool debug; 00030 00031 }; 00032 00033 #endif 00034