StationHeader.h
Go to the documentation of this file.
1 #ifndef _revt_StationHeader_h_
2 #define _revt_StationHeader_h_
3 
4 
5 namespace revt {
6 
13  class StationHeader {
14 
15  public:
17  enum HardwareType {
18  eNL = 0,
19  eDE,
20  eFR,
23  };
24 
25  StationHeader() = default;
26 
28  void SetHardwareType(const HardwareType t) { fHtype = t; }
29 
31  void SetHardwareVersion(const int v) { fHversion = v; }
32 
34  HardwareType GetHardwareType() const { return fHtype; }
35 
37  int GetHardwareVersion() const { return fHversion; }
38 
39  private:
41  int fHversion = 0;
42 
43  };
44 
45 }
46 
47 
48 #endif
void SetHardwareType(const HardwareType t)
Set type of hardware used (should be provided by the DAQ)
Definition: StationHeader.h:28
int GetHardwareVersion() const
Get version of hardware used (provided by DAQ)
Definition: StationHeader.h:37
void SetHardwareVersion(const int v)
Set version of hardware is used (should be provided by the DAQ)
Definition: StationHeader.h:31
HardwareType fHtype
Definition: StationHeader.h:40
StationHeader()=default
HardwareType
List of available hardware types.
Definition: StationHeader.h:17
HardwareType GetHardwareType() const
Get Type of hardware used (provided by the DAQ)
Definition: StationHeader.h:34
Store information provided by the DAQ about the station.
Definition: StationHeader.h:13

, generated on Tue Sep 26 2023.