CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 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() const { return bunchCrossing_; }
27  unsigned long getNumberOfChannels() const { return numberOfChannels_; }
28  unsigned long getNumberOfSamples() const { return numberOfSamples_; }
29  unsigned long getFedType() const { return fedType_; }
30  unsigned long getFedId() const { return fedId_; }
31  unsigned long getFedEventNumber() const { return fedEventNumber_; }
32  void Print() const {
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",
39  fedType_,
40  fedId_,
42  }
43 };
44 
45 #endif
void setNumberOfChannels(unsigned long t)
unsigned long numberOfSamples_
void setFedEventNumber(unsigned long t)
unsigned long numberOfChannels_
unsigned long bunchCrossing_
unsigned long getFedId() const
void setNumberOfSamples(unsigned long t)
void setFedId(unsigned long t)
unsigned long fedEventNumber_
void setBunchCrossing(unsigned long t)
printf("params %d %f %f %f\n", minT, eps, errmax, chi2max)
unsigned long getFedEventNumber() const
unsigned long getFedType() const
unsigned long getBunchCrossing() const
void setFedType(unsigned long t)
unsigned long getNumberOfSamples() const
unsigned long getNumberOfChannels() const