LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LCSIO.h
Go to the documentation of this file.
1 #ifndef SIO_LCSIO_H
2 #define SIO_LCSIO_H 1
3 
4 // -- sio headers
5 #include <sio/definitions.h>
6 
7 namespace SIO {
8 
16  class LCSIO {
17  typedef long long long64 ;
18  public:
20  static constexpr const char * FileExtension = ".slcio" ;
21 
22  // record and block names used in LCIO-SIO
23  static constexpr const char * RunRecordName = "LCRunHeader" ;
24  static constexpr const char * RunBlockName = "RunHeader" ;
25  static constexpr const char * EventRecordName = "LCEvent" ;
26  static constexpr const char * EventBlockName = "Event" ;
27  static constexpr const char * HeaderRecordName = "LCEventHeader" ;
28  static constexpr const char * HeaderBlockName = "EventHeader" ;
29  static constexpr const char * AccessRecordName = "LCIORandomAccess" ;
30  static constexpr const char * AccessBlockName = "LCIORandomAccess" ;
31  static constexpr int RandomAccessSize = 136 ;
32  static constexpr const char * IndexRecordName = "LCIOIndex" ;
33  static constexpr const char * IndexBlockName = "LCIOIndex" ;
34 
41  static void checkVersion( sio::version_type versionID ) ;
42 
46  static sio::version_type blockVersion() ;
47  };
48 
49 } // namespace
50 #endif // ifndef SIO_LCSIO_H
static sio::version_type blockVersion()
Get the LCIO encoded version number for writing in sio blocks.
Definition: LCSIO.cc:17
static constexpr const char * EventBlockName
Definition: LCSIO.h:26
static constexpr int RandomAccessSize
Definition: LCSIO.h:31
static constexpr const char * RunRecordName
Definition: LCSIO.h:23
static constexpr const char * AccessRecordName
Definition: LCSIO.h:29
static void checkVersion(sio::version_type versionID)
Check for old version of LCIO (&gt; v01-08 ar no longer supported) Throws an exception if not supported...
Definition: LCSIO.cc:10
Collection of constants and helper functions.
Definition: LCSIO.h:16
static constexpr const char * RunBlockName
Definition: LCSIO.h:24
static constexpr const char * AccessBlockName
Definition: LCSIO.h:30
static constexpr const char * FileExtension
The lcio file extension name.
Definition: LCSIO.h:20
long long long64
Definition: LCSIO.h:17
static constexpr const char * IndexRecordName
Definition: LCSIO.h:32
static constexpr const char * HeaderRecordName
Definition: LCSIO.h:27
static constexpr const char * HeaderBlockName
Definition: LCSIO.h:28
static constexpr const char * IndexBlockName
Definition: LCSIO.h:33
static constexpr const char * EventRecordName
Definition: LCSIO.h:25