EventIO.h
Go to the documentation of this file.
1 #ifndef _io_EventIO_h_
2 #define _io_EventIO_h_
3 
4 #include <Rtypes.h>
5 
6 
7 /*
8  Literally: please do not change this number! It should always stay at 1.
9  Offline streaming is namely compatible only within the same Offline version.
10  Offline ROOT files should be used only for temporary storage, like in case
11  of simulate once, reconstruct many times approach, and should not be used
12  for storage of any sensible data since there are no long-term compatibility
13  guarantees and no real schema-evolution of the streamed classes.
14 
15  If you see any streamer warnings/errors from ROOT, it means that you are
16  trying to read files that were produced with a different/incompatible version
17  of Offline. In this case you must either revert to an old version of Offline
18  or produce the Offline ROOT files again. There is no other option available.
19 */
20 
21 #define DONT_CHANGE_THIS_NUMBER 1
22 
23 
24 #ifdef __CINT__
25 # define OFFLINE_STREAM_INTERFACE(_Namespace_, _Class_)
26 # define OFFLINE_CINT_ARRAY_INIT
27 # define OFFLINE_CINT_ARRAY2D_INIT
28 #else
29 # define OFFLINE_STREAM_INTERFACE(_Namespace_, _Class_) \
30  _Class_##_ROOT(const _Namespace_::_Class_& c); \
31  void operator>>(_Namespace_::_Class_& c) const;
32 # define OFFLINE_CINT_ARRAY_INIT = { 0 }
33 # define OFFLINE_CINT_ARRAY2_INIT = {{ 0 }}
34 #endif
35 
36 
37 #endif

, generated on Tue Sep 26 2023.