2 #include "EVENT/LCIO.h"
5 #include <sio/version.h>
6 #include <sio/exception.h>
11 if ( SIO_VERSION_MAJOR( versionID ) < 1 && SIO_VERSION_MINOR( versionID ) < 8 )
12 SIO_THROW( sio::error_code::invalid_argument,
"Old file versions ( < v00-08 ) no longer supported !") ;
18 return SIO_VERSION_ENCODE( EVENT::LCIO::MAJORVERSION, EVENT::LCIO::MINORVERSION ) ;
static sio::version_type blockVersion()
Get the LCIO encoded version number for writing in sio blocks.
static void checkVersion(sio::version_type versionID)
Check for old version of LCIO (> v01-08 ar no longer supported) Throws an exception if not supported...