DAQHeader.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \brief Definition of basic raw digits
3 /// \author jpaley@indiana.edu
4 /// \date
5 ////////////////////////////////////////////////////////////////////////
6 #ifndef DAQHEADER_H
7 #define DAQHEADER_H
8 
9 #include <iosfwd>
10 #include <vector>
11 
12 namespace rawdata {
13 
14  // Detector ID is identified in NovaDAQConventions package as an int
15 
16  class DAQHeader
17  {
18  public:
19  DAQHeader(); // Default constructor
20  DAQHeader(int detId, unsigned int status, int TotalMicroSlices = -1);
21  DAQHeader(const DAQHeader& ); // Copy constructor
22 
23  ~DAQHeader();
24 
25  unsigned int Status() const { return fStatus; }
26  int DetId() const { return fDetId; }
27  int TotalMicroSlices() const { return fTotalMicroSlices; }
28 
29  void SetStatus(unsigned int i) { fStatus = i;}
30  void SetDetId(int i) { fDetId = i;}
32 
33  private:
34  unsigned int fStatus;
35  int fDetId;
37 
38  };
39 }
40 
41 #endif // DAQHEADER_H
42 ////////////////////////////////////////////////////////////////////////
void SetDetId(int i)
Definition: DAQHeader.h:30
int status
Definition: fabricate.py:1613
Definition of connection map class.
Definition: CMap.h:19
int TotalMicroSlices() const
Definition: DAQHeader.h:27
int DetId() const
Definition: DAQHeader.h:26
unsigned int fStatus
Definition: DAQHeader.h:34
void SetStatus(unsigned int i)
Definition: DAQHeader.h:29
unsigned int Status() const
Definition: DAQHeader.h:25
void SetTotalMicroSlices(int i)
Definition: DAQHeader.h:31