#ifndef __JROOT__ #define __JROOT__ /** * \file * This include file serves the purpose of hiding ROOT dependencies * and circumphere namespace problems when using rootcint. * \author mdejong */ /** * Auxiliary classes and methods for ROOT I/O. */ namespace JROOT {} #ifndef ClassDef struct TObject {}; struct TBuffer { bool IsReading() { return false; } template TBuffer& operator<<(const T&) { return *this; } template TBuffer& operator>>(T&) { return *this; } }; #define ClassDef(name, version) static const char* Class_Name() { return #name; } #define ClassDefNV(name, version) static const char* Class_Name() { return #name; } #define ClassDefT(name, version) static const char* Class_Name() { return #name; } #define ClassDefT2(name, template) static const char* Class_Name() { return #name; } #define ClassImp(name) #define ClassImpT(name, template) #endif #ifdef __CINT__ namespace std {} using namespace std; namespace JLANG {} using namespace JLANG; namespace JMATH {} using namespace JMATH; namespace JIO {} using namespace JIO; namespace JGEOMETRY2D {} using namespace JGEOMETRY2D; namespace JGEOMETRY3D {} using namespace JGEOMETRY3D; namespace KM3NETDAQ {} using namespace KM3NETDAQ; namespace JSIRENE {} using namespace JSIRENE; namespace JDETECTOR {} using namespace JDETECTOR; namespace JUTC {} using namespace JUTC; namespace JUTM {} using namespace JUTM; namespace JTRIGGER {} using namespace JTRIGGER; namespace JPHYSICS {} using namespace JPHYSICS; namespace JTOOLS {} using namespace JTOOLS; namespace JSUPPORT {} using namespace JSUPPORT; #endif #endif