#ifndef _INCLUDE_CORSIKA_MRUNHEADER_ #define _INCLUDE_CORSIKA_MRUNHEADER_ #include #include namespace crs { /** \class MRunHeader \brief CORSIKA run header (RUNH) sub-block This class knows how to access the data stored in this sub-block type. \author Ralf Ulrich \date Thu Feb 3 13:04:50 CET 2005 \version $Id: MRunHeader.h 5923 2017-03-23 21:44:42Z rulrich $ */ class MRunHeader : public TSubBlock { public: MRunHeader () {} MRunHeader (const TSubBlock &right); virtual ~MRunHeader () {} public: CREAL GetRunID () const {return fSubBlockData [1];} CINT GetDateStart () const {return (CINT)fSubBlockData [2];} ///< yymmdd CREAL GetVersion () const {return fSubBlockData [3];} CINT GetNObservationLevels () const {return (CINT)fSubBlockData [4];} CREAL GetObservationHeight (int index) const {return (index