CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
12  private:
13 
14  unsigned long bunchCrossing_;
15  unsigned long numberOfChannels_;
16  unsigned long numberOfSamples_;
17  unsigned long fedType_;
18  unsigned long fedId_;
19  unsigned long fedEventNumber_;
20 
21  public:
22 
23  void setBunchCrossing(unsigned long t){bunchCrossing_ =t ;}
24  void setNumberOfChannels(unsigned long t){numberOfChannels_ =t ;}
25  void setNumberOfSamples(unsigned long t){numberOfSamples_ =t ;}
26  void setFedType(unsigned long t){fedType_ =t ;}
27  void setFedId(unsigned long t){fedId_ =t ;}
28  void setFedEventNumber(unsigned long t){fedEventNumber_ =t ;}
29  unsigned long getBunchCrossing(){return bunchCrossing_;}
30  unsigned long getNumberOfChannels(){return numberOfChannels_;}
31  unsigned long getNumberOfSamples(){return numberOfSamples_;}
32  unsigned long getFedType(){return fedType_;}
33  unsigned long getFedId(){return fedId_;}
34  unsigned long getFedEventNumber(){return fedEventNumber_;}
35  void Print()
36  {
37  printf("Bunch crossing %lx \n Number Of Channels %ld \n Number of Samples %ld \n Fed Type %lx \n Fed Id %lx \n Fed Event Number %ld \n",bunchCrossing_,numberOfChannels_,numberOfSamples_,fedType_,fedId_,fedEventNumber_);
38  }
39 
40 };
41 
42 #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)