CMS 3D CMS Logo

TFHeaderDescription.h
Go to the documentation of this file.
1 #ifndef TFHeaderDescription_h
2 #define TFHeaderDescription_h
3 
4 #define FEDPMC_TYPE 0xDEF00001
5 #define FEDEMU_TYPE 0xDEF00003
6 #define FED9U_TYPE 0xDEF00002
7 #define FEDTRG_TYPE 0xDEF0DEF0
8 #include <cstdio>
9 
11 private:
12  unsigned long bunchCrossing_;
13  unsigned long numberOfChannels_;
14  unsigned long numberOfSamples_;
15  unsigned long fedType_;
16  unsigned long fedId_;
17  unsigned long fedEventNumber_;
18 
19 public:
20  void setBunchCrossing(unsigned long t) { bunchCrossing_ = t; }
21  void setNumberOfChannels(unsigned long t) { numberOfChannels_ = t; }
22  void setNumberOfSamples(unsigned long t) { numberOfSamples_ = t; }
23  void setFedType(unsigned long t) { fedType_ = t; }
24  void setFedId(unsigned long t) { fedId_ = t; }
25  void setFedEventNumber(unsigned long t) { fedEventNumber_ = t; }
26  unsigned long getBunchCrossing() { return bunchCrossing_; }
27  unsigned long getNumberOfChannels() { return numberOfChannels_; }
28  unsigned long getNumberOfSamples() { return numberOfSamples_; }
29  unsigned long getFedType() { return fedType_; }
30  unsigned long getFedId() { return fedId_; }
31  unsigned long getFedEventNumber() { return fedEventNumber_; }
32  void Print() {
33  printf(
34  "Bunch crossing %lx \n Number Of Channels %ld \n Number of Samples %ld \n Fed Type %lx \n Fed Id %lx \n Fed "
35  "Event Number %ld \n",
36  bunchCrossing_,
37  numberOfChannels_,
38  numberOfSamples_,
39  fedType_,
40  fedId_,
41  fedEventNumber_);
42  }
43 };
44 
45 #endif
unsigned long getFedId()
unsigned long getNumberOfChannels()
void setNumberOfChannels(unsigned long t)
unsigned long numberOfSamples_
void setFedEventNumber(unsigned long t)
unsigned long getNumberOfSamples()
unsigned long numberOfChannels_
unsigned long bunchCrossing_
unsigned long getBunchCrossing()
void setNumberOfSamples(unsigned long t)
void setFedId(unsigned long t)
unsigned long getFedEventNumber()
unsigned long fedEventNumber_
void setBunchCrossing(unsigned long t)
unsigned long getFedType()
void setFedType(unsigned long t)