All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
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 20 of file DAQHeader.h.

Constructor & Destructor Documentation

raw::DAQHeader::DAQHeader ( )

Definition at line 14 of file DAQHeader.cxx.

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  }
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
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
raw::DAQHeader::DAQHeader ( unsigned int  status)

Definition at line 30 of file DAQHeader.cxx.

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  }
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
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
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 46 of file DAQHeader.cxx.

56  : fStatus(status)
57  , fFixed(fixed)
58  , fFormat(format)
60  , fRun(run)
61  , fSubRun(subrun)
62  , fEvent(event)
63  , fTime(time)
64  , fSpare(spare)
65  , fNchan(nchan)
66  {
67 
68  }
unsigned short fEvent
Definition: DAQHeader.h:32
unsigned int fStatus
Definition: DAQHeader.h:26
unsigned short fRun
Definition: DAQHeader.h:30
static std::string format(PyObject *obj, unsigned int pos, unsigned int indent, unsigned int maxlen, unsigned int depth)
Definition: fclmodule.cxx:374
short fSpare
Definition: DAQHeader.h:34
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
then echo fcl sbnd_project sbnd_project sbnd_project sbnd_project software
unsigned short fSubRun
Definition: DAQHeader.h:31
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 72 of file DAQHeader.cxx.

81  : fStatus(status)
82  , fFixed(fixed)
83  , fFormat(format)
85  , fRun(run)
86  , fSubRun(0)
87  , fEvent(event)
88  , fTime(time)
89  , fSpare(spare)
90  , fNchan(nchan)
91  {
92 
93  }
unsigned short fEvent
Definition: DAQHeader.h:32
unsigned int fStatus
Definition: DAQHeader.h:26
unsigned short fRun
Definition: DAQHeader.h:30
static std::string format(PyObject *obj, unsigned int pos, unsigned int indent, unsigned int maxlen, unsigned int depth)
Definition: fclmodule.cxx:374
short fSpare
Definition: DAQHeader.h:34
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
then echo fcl sbnd_project sbnd_project sbnd_project sbnd_project software
unsigned short fSubRun
Definition: DAQHeader.h:31

Member Function Documentation

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

Definition at line 105 of file DAQHeader.h.

105 { return fEvent; }
unsigned short fEvent
Definition: DAQHeader.h:32
unsigned short raw::DAQHeader::GetFileFormat ( ) const
inline

Definition at line 101 of file DAQHeader.h.

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

Definition at line 100 of file DAQHeader.h.

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

Definition at line 108 of file DAQHeader.h.

108 { return fNchan; }
uint32_t fNchan
Definition: DAQHeader.h:35
unsigned short raw::DAQHeader::GetRun ( ) const
inline

Definition at line 103 of file DAQHeader.h.

103 { return fRun; }
unsigned short fRun
Definition: DAQHeader.h:30
unsigned short raw::DAQHeader::GetSoftwareVersion ( ) const
inline

Definition at line 102 of file DAQHeader.h.

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

Definition at line 107 of file DAQHeader.h.

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

Definition at line 99 of file DAQHeader.h.

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

Definition at line 104 of file DAQHeader.h.

104 { return fSubRun; }
unsigned short fSubRun
Definition: DAQHeader.h:31
time_t raw::DAQHeader::GetTimeStamp ( ) const
inline

Definition at line 106 of file DAQHeader.h.

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

Definition at line 95 of file DAQHeader.h.

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

Definition at line 91 of file DAQHeader.h.

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

Definition at line 90 of file DAQHeader.h.

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

Definition at line 98 of file DAQHeader.h.

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

Definition at line 93 of file DAQHeader.h.

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

Definition at line 92 of file DAQHeader.h.

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

Definition at line 97 of file DAQHeader.h.

97 { fSpare = s; }
short fSpare
Definition: DAQHeader.h:34
then echo File list $list not found else cat $list while read file do echo $file sed s
Definition: file_to_url.sh:60
void raw::DAQHeader::SetStatus ( unsigned int  i)
inline

Definition at line 89 of file DAQHeader.h.

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

Definition at line 94 of file DAQHeader.h.

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

Definition at line 96 of file DAQHeader.h.

96 { fTime = t; }
time_t fTime
Definition: DAQHeader.h:33

Member Data Documentation

unsigned short raw::DAQHeader::fEvent
private

Definition at line 32 of file DAQHeader.h.

int raw::DAQHeader::fFixed
private

Definition at line 27 of file DAQHeader.h.

unsigned short raw::DAQHeader::fFormat
private

Definition at line 28 of file DAQHeader.h.

uint32_t raw::DAQHeader::fNchan
private

Definition at line 35 of file DAQHeader.h.

unsigned short raw::DAQHeader::fRun
private

Definition at line 30 of file DAQHeader.h.

unsigned short raw::DAQHeader::fSoftware
private

Definition at line 29 of file DAQHeader.h.

short raw::DAQHeader::fSpare
private

Definition at line 34 of file DAQHeader.h.

unsigned int raw::DAQHeader::fStatus
private

Definition at line 26 of file DAQHeader.h.

unsigned short raw::DAQHeader::fSubRun
private

Definition at line 31 of file DAQHeader.h.

time_t raw::DAQHeader::fTime
private

Definition at line 33 of file DAQHeader.h.


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