00001 #ifndef DQM_SERVICES_NODE_ROOT_DQM_ROOTBUFFER_H 00002 #define DQM_SERVICES_NODE_ROOT_DQM_ROOTBUFFER_H 00003 00004 // Workaround to ease migration past ROOT TBuffer changes in ROOT 5.16 00005 #include "RVersion.h" 00006 #if ROOT_VERSION_CODE >= ROOT_VERSION(5,15,0) 00007 #include "TBufferFile.h" 00008 typedef TBufferFile DQMRootBuffer; 00009 #else 00010 #include "TBuffer.h" 00011 typedef TBuffer DQMRootBuffer; 00012 #endif 00013 00014 #endif