LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
raw::DAQHeader Class Reference

#include "DAQHeader.h"

Public Member Functions

 DAQHeader ()
 
 DAQHeader (unsigned int status)
 
 DAQHeader (unsigned int status, int fixed, unsigned short format, unsigned short software, unsigned short run, unsigned short subrun, unsigned short event, time_t time, short spare, uint32_t nchan)
 
 DAQHeader (unsigned int status, int fixed, unsigned short format, unsigned short software, unsigned short run, unsigned short event, time_t time, short spare, uint32_t nchan)
 
void SetStatus (unsigned int i)
 
void SetFixedWord (int i)
 
void SetFileFormat (unsigned short i)
 
void SetSoftwareVersion (unsigned short i)
 
void SetRun (unsigned short i)
 
void SetSubRun (unsigned short i)
 
void SetEvent (unsigned short i)
 
void SetTimeStamp (time_t t)
 
void SetSpareWord (short s)
 
void SetNChannels (uint32_t i)
 
unsigned int GetStatus () const
 
int GetFixedWord () const
 
unsigned short GetFileFormat () const
 
unsigned short GetSoftwareVersion () const
 
unsigned short GetRun () const
 
unsigned short GetSubRun () const
 
unsigned short GetEvent () const
 
time_t GetTimeStamp () const
 
short GetSpareWord () const
 
uint32_t GetNChannels () const
 

Private Attributes

unsigned int fStatus
 
int fFixed
 
unsigned short fFormat
 
unsigned short fSoftware
 
unsigned short fRun
 
unsigned short fSubRun
 
unsigned short fEvent
 
time_t fTime
 
short fSpare
 
uint32_t fNchan
 

Detailed Description

Definition at line 22 of file DAQHeader.h.

Constructor & Destructor Documentation

raw::DAQHeader::DAQHeader ( )

Definition at line 16 of file DAQHeader.cxx.

17  : fStatus(0)
18  , fFixed(0)
19  , fFormat(0)
20  , fSoftware(0)
21  , fRun(0)
22  , fSubRun(0)
23  , fEvent(0)
24  , fTime(0)
25  , fSpare(0)
26  , fNchan(0)
27  {
28 
29  }
unsigned short fEvent
Definition: DAQHeader.h:34
unsigned int fStatus
Definition: DAQHeader.h:28
unsigned short fRun
Definition: DAQHeader.h:32
short fSpare
Definition: DAQHeader.h:36
unsigned short fSoftware
Definition: DAQHeader.h:31
uint32_t fNchan
Definition: DAQHeader.h:37
unsigned short fFormat
Definition: DAQHeader.h:30
time_t fTime
Definition: DAQHeader.h:35
unsigned short fSubRun
Definition: DAQHeader.h:33
raw::DAQHeader::DAQHeader ( unsigned int  status)

Definition at line 32 of file DAQHeader.cxx.

33  : fStatus(status)
34  , fFixed(0)
35  , fFormat(0)
36  , fSoftware(0)
37  , fRun(0)
38  , fSubRun(0)
39  , fEvent(0)
40  , fTime(0)
41  , fSpare(0)
42  , fNchan(0)
43  {
44 
45  }
unsigned short fEvent
Definition: DAQHeader.h:34
unsigned int fStatus
Definition: DAQHeader.h:28
unsigned short fRun
Definition: DAQHeader.h:32
short fSpare
Definition: DAQHeader.h:36
unsigned short fSoftware
Definition: DAQHeader.h:31
uint32_t fNchan
Definition: DAQHeader.h:37
unsigned short fFormat
Definition: DAQHeader.h:30
time_t fTime
Definition: DAQHeader.h:35
unsigned short fSubRun
Definition: DAQHeader.h:33
raw::DAQHeader::DAQHeader ( unsigned int  status,
int  fixed,
unsigned short  format,
unsigned short  software,
unsigned short  run,
unsigned short  subrun,
unsigned short  event,
time_t  time,
short  spare,
uint32_t  nchan 
)

Definition at line 48 of file DAQHeader.cxx.

58  : fStatus(status)
59  , fFixed(fixed)
60  , fFormat(format)
61  , fSoftware(software)
62  , fRun(run)
63  , fSubRun(subrun)
64  , fEvent(event)
65  , fTime(time)
66  , fSpare(spare)
67  , fNchan(nchan)
68  {
69 
70  }
unsigned short fEvent
Definition: DAQHeader.h:34
unsigned int fStatus
Definition: DAQHeader.h:28
unsigned short fRun
Definition: DAQHeader.h:32
short fSpare
Definition: DAQHeader.h:36
unsigned short fSoftware
Definition: DAQHeader.h:31
uint32_t fNchan
Definition: DAQHeader.h:37
unsigned short fFormat
Definition: DAQHeader.h:30
time_t fTime
Definition: DAQHeader.h:35
unsigned short fSubRun
Definition: DAQHeader.h:33
Event finding and building.
raw::DAQHeader::DAQHeader ( unsigned int  status,
int  fixed,
unsigned short  format,
unsigned short  software,
unsigned short  run,
unsigned short  event,
time_t  time,
short  spare,
uint32_t  nchan 
)

Definition at line 74 of file DAQHeader.cxx.

83  : fStatus(status)
84  , fFixed(fixed)
85  , fFormat(format)
86  , fSoftware(software)
87  , fRun(run)
88  , fSubRun(0)
89  , fEvent(event)
90  , fTime(time)
91  , fSpare(spare)
92  , fNchan(nchan)
93  {
94 
95  }
unsigned short fEvent
Definition: DAQHeader.h:34
unsigned int fStatus
Definition: DAQHeader.h:28
unsigned short fRun
Definition: DAQHeader.h:32
short fSpare
Definition: DAQHeader.h:36
unsigned short fSoftware
Definition: DAQHeader.h:31
uint32_t fNchan
Definition: DAQHeader.h:37
unsigned short fFormat
Definition: DAQHeader.h:30
time_t fTime
Definition: DAQHeader.h:35
unsigned short fSubRun
Definition: DAQHeader.h:33
Event finding and building.

Member Function Documentation

unsigned short raw::DAQHeader::GetEvent ( ) const
inline
unsigned short raw::DAQHeader::GetFileFormat ( ) const
inline

Definition at line 103 of file DAQHeader.h.

References fFormat.

103 { return fFormat; }
unsigned short fFormat
Definition: DAQHeader.h:30
int raw::DAQHeader::GetFixedWord ( ) const
inline

Definition at line 102 of file DAQHeader.h.

References fFixed.

102 { return fFixed; }
uint32_t raw::DAQHeader::GetNChannels ( ) const
inline

Definition at line 110 of file DAQHeader.h.

References fNchan.

110 { return fNchan; }
uint32_t fNchan
Definition: DAQHeader.h:37
unsigned short raw::DAQHeader::GetRun ( ) const
inline
unsigned short raw::DAQHeader::GetSoftwareVersion ( ) const
inline

Definition at line 104 of file DAQHeader.h.

References fSoftware.

104 { return fSoftware; }
unsigned short fSoftware
Definition: DAQHeader.h:31
short raw::DAQHeader::GetSpareWord ( ) const
inline

Definition at line 109 of file DAQHeader.h.

References fSpare.

109 { return fSpare; }
short fSpare
Definition: DAQHeader.h:36
unsigned int raw::DAQHeader::GetStatus ( ) const
inline

Definition at line 101 of file DAQHeader.h.

References fStatus.

101 { return fStatus; }
unsigned int fStatus
Definition: DAQHeader.h:28
unsigned short raw::DAQHeader::GetSubRun ( ) const
inline

Definition at line 106 of file DAQHeader.h.

References fSubRun.

106 { return fSubRun; }
unsigned short fSubRun
Definition: DAQHeader.h:33
time_t raw::DAQHeader::GetTimeStamp ( ) const
inline
void raw::DAQHeader::SetEvent ( unsigned short  i)
inline

Definition at line 97 of file DAQHeader.h.

References fEvent.

Referenced by lris::LArRawInputDriverJP250L::readNext().

97 { fEvent = i; }
unsigned short fEvent
Definition: DAQHeader.h:34
void raw::DAQHeader::SetFileFormat ( unsigned short  i)
inline

Definition at line 93 of file DAQHeader.h.

References fFormat.

93 { fFormat = i; }
unsigned short fFormat
Definition: DAQHeader.h:30
void raw::DAQHeader::SetFixedWord ( int  i)
inline

Definition at line 92 of file DAQHeader.h.

References fFixed.

92 { fFixed = i; }
void raw::DAQHeader::SetNChannels ( uint32_t  i)
inline

Definition at line 100 of file DAQHeader.h.

References fNchan.

Referenced by lris::LArRawInputDriverJP250L::readNext().

100 { fNchan = i; }
uint32_t fNchan
Definition: DAQHeader.h:37
void raw::DAQHeader::SetRun ( unsigned short  i)
inline

Definition at line 95 of file DAQHeader.h.

References fRun.

Referenced by lris::LArRawInputDriverJP250L::readNext().

95 { fRun = i; }
unsigned short fRun
Definition: DAQHeader.h:32
void raw::DAQHeader::SetSoftwareVersion ( unsigned short  i)
inline

Definition at line 94 of file DAQHeader.h.

References fSoftware.

94 { fSoftware = i; }
unsigned short fSoftware
Definition: DAQHeader.h:31
void raw::DAQHeader::SetSpareWord ( short  s)
inline

Definition at line 99 of file DAQHeader.h.

References fSpare, and s.

99 { fSpare = s; }
Float_t s
Definition: plot.C:23
short fSpare
Definition: DAQHeader.h:36
void raw::DAQHeader::SetStatus ( unsigned int  i)
inline

Definition at line 91 of file DAQHeader.h.

References fStatus.

91 { fStatus = i; }
unsigned int fStatus
Definition: DAQHeader.h:28
void raw::DAQHeader::SetSubRun ( unsigned short  i)
inline

Definition at line 96 of file DAQHeader.h.

References fSubRun.

96 { fSubRun = i; }
unsigned short fSubRun
Definition: DAQHeader.h:33
void raw::DAQHeader::SetTimeStamp ( time_t  t)
inline

Definition at line 98 of file DAQHeader.h.

References fTime.

Referenced by lris::LArRawInputDriverJP250L::readNext().

98 { fTime = t; }
time_t fTime
Definition: DAQHeader.h:35

Member Data Documentation

unsigned short raw::DAQHeader::fEvent
private

Definition at line 34 of file DAQHeader.h.

Referenced by GetEvent(), and SetEvent().

int raw::DAQHeader::fFixed
private

Definition at line 29 of file DAQHeader.h.

Referenced by GetFixedWord(), and SetFixedWord().

unsigned short raw::DAQHeader::fFormat
private

Definition at line 30 of file DAQHeader.h.

Referenced by GetFileFormat(), and SetFileFormat().

uint32_t raw::DAQHeader::fNchan
private

Definition at line 37 of file DAQHeader.h.

Referenced by GetNChannels(), and SetNChannels().

unsigned short raw::DAQHeader::fRun
private

Definition at line 32 of file DAQHeader.h.

Referenced by GetRun(), and SetRun().

unsigned short raw::DAQHeader::fSoftware
private

Definition at line 31 of file DAQHeader.h.

Referenced by GetSoftwareVersion(), and SetSoftwareVersion().

short raw::DAQHeader::fSpare
private

Definition at line 36 of file DAQHeader.h.

Referenced by GetSpareWord(), and SetSpareWord().

unsigned int raw::DAQHeader::fStatus
private

Definition at line 28 of file DAQHeader.h.

Referenced by GetStatus(), and SetStatus().

unsigned short raw::DAQHeader::fSubRun
private

Definition at line 33 of file DAQHeader.h.

Referenced by GetSubRun(), and SetSubRun().

time_t raw::DAQHeader::fTime
private

Definition at line 35 of file DAQHeader.h.

Referenced by GetTimeStamp(), and SetTimeStamp().


The documentation for this class was generated from the following files: