CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCVDMBTrailerFormat.h
Go to the documentation of this file.
1 #ifndef CSCVDMBTrailerFormat_h
2 #define CSCVDMBTrailerFormat_h
3 
4 #include <cassert>
5 #include <iosfwd>
6 #include <string.h> // bzero
7 
8 class CSCDMBHeader;
9 
11 public:
12 
13  virtual ~CSCVDMBTrailerFormat() {};
14 /*
15  void init() {
16  bzero(this, sizeInWords()*2);
17  }
18 */
19  virtual void setEventInformation(const CSCDMBHeader &) = 0;
20 
21  virtual unsigned crateID() const = 0;
22  virtual unsigned dmbID() const = 0;
23 
24  virtual unsigned dmb_l1a() const = 0;
25  virtual unsigned dmb_bxn() const = 0;
26 
27  virtual unsigned alct_endtimeout() const = 0;
28  virtual unsigned tmb_endtimeout() const = 0;
29  virtual unsigned cfeb_endtimeout() const = 0;
30 
31  virtual unsigned alct_starttimeout() const = 0;
32  virtual unsigned tmb_starttimeout() const = 0;
33  virtual unsigned cfeb_starttimeout() const = 0;
34 
35  virtual unsigned cfeb_movlp() const = 0;
36  virtual unsigned dmb_l1pipe() const = 0;
37 
38  virtual unsigned alct_empty() const = 0;
39  virtual unsigned tmb_empty() const = 0;
40  virtual unsigned cfeb_empty() const = 0;
41 
42  virtual unsigned alct_half() const = 0;
43  virtual unsigned tmb_half() const = 0;
44  virtual unsigned cfeb_half() const = 0;
45 
46  virtual unsigned alct_full() const = 0;
47  virtual unsigned tmb_full() const = 0;
48  virtual unsigned cfeb_full() const = 0;
49 
50  virtual unsigned crc22() const = 0;
51  virtual unsigned crc_lo_parity() const = 0;
52  virtual unsigned crc_hi_parity() const = 0;
53 
54 
55  virtual unsigned short * data() = 0;
56  virtual unsigned short * data() const = 0;
57 
58  virtual bool check() const = 0;
59 
60  virtual unsigned sizeInWords() const = 0;
61 
62  //ostream & operator<<(ostream &, const CSCVDMBTrailerFormat &);
63 
64 };
65 
66 #endif
67 
virtual unsigned dmb_l1a() const =0
virtual unsigned alct_starttimeout() const =0
virtual unsigned dmb_bxn() const =0
virtual unsigned cfeb_empty() const =0
virtual unsigned cfeb_endtimeout() const =0
virtual unsigned short * data()=0
virtual unsigned cfeb_starttimeout() const =0
virtual unsigned crc22() const =0
virtual unsigned crc_lo_parity() const =0
virtual unsigned alct_half() const =0
virtual unsigned dmbID() const =0
virtual unsigned cfeb_full() const =0
virtual unsigned alct_full() const =0
virtual unsigned crateID() const =0
virtual unsigned crc_hi_parity() const =0
virtual unsigned tmb_empty() const =0
virtual unsigned dmb_l1pipe() const =0
virtual bool check() const =0
virtual unsigned alct_endtimeout() const =0
virtual unsigned alct_empty() const =0
virtual unsigned cfeb_movlp() const =0
virtual unsigned tmb_starttimeout() const =0
virtual unsigned sizeInWords() const =0
virtual unsigned tmb_half() const =0
virtual unsigned cfeb_half() const =0
virtual unsigned tmb_full() const =0
virtual unsigned tmb_endtimeout() const =0
virtual void setEventInformation(const CSCDMBHeader &)=0