List of all members | Public Types | Public Member Functions | Private Attributes
revt::StationHeader Class Reference

Store information provided by the DAQ about the station. More...

#include <revt/StationHeader.h>

Public Types

enum  HardwareType {
  eNL = 0, eDE, eFR, eOldBLS,
  eCLF
}
 List of available hardware types. More...
 

Public Member Functions

HardwareType GetHardwareType () const
 Get Type of hardware used (provided by the DAQ) More...
 
int GetHardwareVersion () const
 Get version of hardware used (provided by DAQ) More...
 
void SetHardwareType (const HardwareType t)
 Set type of hardware used (should be provided by the DAQ) More...
 
void SetHardwareVersion (const int v)
 Set version of hardware is used (should be provided by the DAQ) More...
 
 StationHeader ()=default
 

Private Attributes

HardwareType fHtype = eNL
 
int fHversion = 0
 

Detailed Description

Store information provided by the DAQ about the station.

Author
Maximilien Melissas

Definition at line 13 of file StationHeader.h.

Member Enumeration Documentation

List of available hardware types.

Enumerator
eNL 
eDE 
eFR 
eOldBLS 
eCLF 

Definition at line 17 of file StationHeader.h.

Constructor & Destructor Documentation

revt::StationHeader::StationHeader ( )
default

Member Function Documentation

HardwareType revt::StationHeader::GetHardwareType ( ) const
inline

Get Type of hardware used (provided by the DAQ)

Definition at line 34 of file StationHeader.h.

References fHtype.

Referenced by RdEventMerger::RdEventMerger::ExamineEvent().

int revt::StationHeader::GetHardwareVersion ( ) const
inline

Get version of hardware used (provided by DAQ)

Definition at line 37 of file StationHeader.h.

References fHversion.

void revt::StationHeader::SetHardwareType ( const HardwareType  t)
inline

Set type of hardware used (should be provided by the DAQ)

Definition at line 28 of file StationHeader.h.

References fHtype.

Referenced by io::revtStationHeader_ROOT::operator>>(), io::RadioFileAERA::Read(), io::IoAugerEventFile::Read(), and io::RadioFileAERAroot::Read().

void revt::StationHeader::SetHardwareVersion ( const int  v)
inline

Set version of hardware is used (should be provided by the DAQ)

Definition at line 31 of file StationHeader.h.

References fHversion.

Referenced by io::revtStationHeader_ROOT::operator>>(), io::RadioFileAERA::Read(), io::IoAugerEventFile::Read(), and io::RadioFileAERAroot::Read().

Member Data Documentation

HardwareType revt::StationHeader::fHtype = eNL
private

Definition at line 40 of file StationHeader.h.

Referenced by GetHardwareType(), and SetHardwareType().

int revt::StationHeader::fHversion = 0
private

Definition at line 41 of file StationHeader.h.

Referenced by GetHardwareVersion(), and SetHardwareVersion().


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

, generated on Tue Sep 26 2023.