test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCTMBScope.h
Go to the documentation of this file.
1 //_______________________________________
2 //
3 // Class for TMB Logic Analyzer Data
4 // CSCTMBScope 9/11/03 B.Mohr
5 //_______________________________________
6 //
7 
8 #ifndef CSCTMBScope_h
9 #define CSCTMBScope_h
10 
11 class CSCTMBScope {
12 
13 public:
14 
15  CSCTMBScope() {size_ = 0;} //default constructor
16  CSCTMBScope(unsigned short *buf,int b05Line,int e05Line);
17  static unsigned short sizeInWords() {return 1538;}
18  static void setDebug(const bool value) {debug = value;};
19 
20  unsigned int data[52]; //scope data for ntuple
21  //public for now -- better way?
22 private:
23 
24  int UnpackScope(unsigned short *buf,int b05Line,int e05Line);
25  int GetPretrig(int ich);
26 
27  unsigned int scope_ram[256][6]; //stores all scope data
28  unsigned short size_;
29  static bool debug;
30 
31 };
32 
33 #endif
34 
int UnpackScope(unsigned short *buf, int b05Line, int e05Line)
Definition: CSCTMBScope.cc:20
unsigned short size_
Definition: CSCTMBScope.h:28
static void setDebug(const bool value)
Definition: CSCTMBScope.h:18
static unsigned short sizeInWords()
Definition: CSCTMBScope.h:17
static bool debug
Definition: CSCTMBScope.h:29
unsigned int data[52]
Definition: CSCTMBScope.h:18
int GetPretrig(int ich)
Definition: CSCTMBScope.cc:186
unsigned int scope_ram[256][6]
Definition: CSCTMBScope.h:27