DAQHeader.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 //
3 // DAQHeader class
4 //
5 // brebel@fnal.gov
6 //
7 ////////////////////////////////////////////////////////////////////////
8 
10 
11 namespace raw{
12 
13  //----------------------------------------------------------------------
15  : fStatus(0)
16  , fFixed(0)
17  , fFormat(0)
18  , fSoftware(0)
19  , fRun(0)
20  , fSubRun(0)
21  , fEvent(0)
22  , fTime(0)
23  , fSpare(0)
24  , fNchan(0)
25  {
26 
27  }
28 
29  //----------------------------------------------------------------------
31  : fStatus(status)
32  , fFixed(0)
33  , fFormat(0)
34  , fSoftware(0)
35  , fRun(0)
36  , fSubRun(0)
37  , fEvent(0)
38  , fTime(0)
39  , fSpare(0)
40  , fNchan(0)
41  {
42 
43  }
44 
45  //----------------------------------------------------------------------
47  int fixed,
48  unsigned short format,
49  unsigned short software,
50  unsigned short run,
51  unsigned short subrun,
52  unsigned short event,
53  time_t time,
54  short spare,
55  uint32_t nchan)
56  : fStatus(status)
57  , fFixed(fixed)
58  , fFormat(format)
59  , fSoftware(software)
60  , fRun(run)
61  , fSubRun(subrun)
62  , fEvent(event)
63  , fTime(time)
64  , fSpare(spare)
65  , fNchan(nchan)
66  {
67 
68  }
69 
70 
71  //----------------------------------------------------------------------
73  int fixed,
74  unsigned short format,
75  unsigned short software,
76  unsigned short run,
77  unsigned short event,
78  time_t time,
79  short spare,
80  uint32_t nchan)
81  : fStatus(status)
82  , fFixed(fixed)
83  , fFormat(format)
84  , fSoftware(software)
85  , fRun(run)
86  , fSubRun(0)
87  , fEvent(event)
88  , fTime(time)
89  , fSpare(spare)
90  , fNchan(nchan)
91  {
92 
93  }
94 
95 }
96 ////////////////////////////////////////////////////////////////////////
97 
unsigned short fEvent
Definition: DAQHeader.h:32
unsigned int fStatus
Definition: DAQHeader.h:26
unsigned short fRun
Definition: DAQHeader.h:30
short fSpare
Definition: DAQHeader.h:34
static bool format(QChar::Decomposition tag, QString &str, int index, int len)
Definition: qstring.cpp:11496
Raw data description.
unsigned short fSoftware
Definition: DAQHeader.h:29
uint32_t fNchan
Definition: DAQHeader.h:35
unsigned short fFormat
Definition: DAQHeader.h:28
time_t fTime
Definition: DAQHeader.h:33
unsigned short fSubRun
Definition: DAQHeader.h:31
Event finding and building.