/** \file StationHeader StationHeader.h "revt/StationHeader.h" \brief %Event Trigger data \author Maximilien Melissas \version $Id$ \date 06 april 2011 \ingroup revt */ #ifndef _revt_StationHeader_h_ #define _revt StationHeader_h_ #include #include #include namespace revt { /** \class StationHeader StationHeader.h revt/StationHeader.h \brief Store information provided by the DAQ about the station \author Maximilien Melissas **/ class StationHeader { public: //! List of available hardware types enum HardwareType { eNL=0, eDE, eFR, eOldBLS, eCLF }; StationHeader(); //! Set type of hardware used (should be provided by the DAQ) void SetHardwareType(const HardwareType t) {fHtype=t;} //! Set version of hardware is used (should be provided by the DAQ) void SetHardwareVersion(const int v) {fHversion=v;} //!Get Type of hardware used (provided by the DAQ) HardwareType GetHardwareType() const {return fHtype;} //!Get version of hardware used (provided by DAQ) int GetHardwareVersion() const {return fHversion;} private: HardwareType fHtype; int fHversion; }; } #endif