LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
DAQHeader.cxx
Go to the documentation of this file.
1 //
3 // DAQHeader class
4 //
5 // brebel@fnal.gov
6 //
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  DAQHeader::DAQHeader(unsigned int status)
29  : fStatus(status)
30  , fFixed(0)
31  , fFormat(0)
32  , fSoftware(0)
33  , fRun(0)
34  , fSubRun(0)
35  , fEvent(0)
36  , fTime(0)
37  , fSpare(0)
38  , fNchan(0)
39  {}
40 
41  //----------------------------------------------------------------------
42  DAQHeader::DAQHeader(unsigned int status,
43  int fixed,
44  unsigned short format,
45  unsigned short software,
46  unsigned short run,
47  unsigned short subrun,
48  unsigned short event,
49  time_t time,
50  short spare,
51  uint32_t nchan)
52  : fStatus(status)
53  , fFixed(fixed)
54  , fFormat(format)
55  , fSoftware(software)
56  , fRun(run)
57  , fSubRun(subrun)
58  , fEvent(event)
59  , fTime(time)
60  , fSpare(spare)
61  , fNchan(nchan)
62  {}
63 
64  //----------------------------------------------------------------------
65  DAQHeader::DAQHeader(unsigned int status,
66  int fixed,
67  unsigned short format,
68  unsigned short software,
69  unsigned short run,
70  unsigned short event,
71  time_t time,
72  short spare,
73  uint32_t nchan)
74  : fStatus(status)
75  , fFixed(fixed)
76  , fFormat(format)
77  , fSoftware(software)
78  , fRun(run)
79  , fSubRun(0)
80  , fEvent(event)
81  , fTime(time)
82  , fSpare(spare)
83  , fNchan(nchan)
84  {}
85 
86 }
unsigned short fEvent
Definition: DAQHeader.h:32
unsigned int fStatus
Definition: DAQHeader.h:25
unsigned short fRun
Definition: DAQHeader.h:29
short fSpare
Definition: DAQHeader.h:34
Raw data description.
Definition: RawTypes.h:6
unsigned short fSoftware
Definition: DAQHeader.h:28
uint32_t fNchan
Definition: DAQHeader.h:35
unsigned short fFormat
Definition: DAQHeader.h:27
time_t fTime
Definition: DAQHeader.h:33
unsigned short fSubRun
Definition: DAQHeader.h:31
Event finding and building.