Jpp  master_rocky-37-gf0c5bc59d
the software that should make you happy
JRoot.hh
Go to the documentation of this file.
1 #ifndef __JROOT__
2 #define __JROOT__
3 
4 /**
5  * \file
6  * This include file serves the purpose of hiding ROOT dependencies
7  * and circumphere namespace problems when using rootcint.
8  * \author mdejong
9  */
10 
11 
12 /**
13  * Auxiliary classes and methods for ROOT I/O.
14  */
15 namespace JROOT {}
16 
17 #ifndef ClassDef
18 
19 struct TObject {};
20 
21 struct TBuffer {
22 
23  bool IsReading() { return false; }
24 
25  template<class T>
26  TBuffer& operator<<(const T&) { return *this; }
27 
28  template<class T>
29  TBuffer& operator>>(T&) { return *this; }
30 };
31 
32 #define ClassDef(name, version) static const char* Class_Name() { return #name; }
33 #define ClassDefNV(name, version) static const char* Class_Name() { return #name; }
34 #define ClassDefT(name, version) static const char* Class_Name() { return #name; }
35 #define ClassDefT2(name, template) static const char* Class_Name() { return #name; }
36 
37 #define ClassImp(name)
38 #define ClassImpT(name, template)
39 
40 #endif
41 
42 #ifdef __CINT__
43 
44 namespace std {} using namespace std;
45 namespace JLANG {} using namespace JLANG;
46 namespace JMATH {} using namespace JMATH;
47 namespace JIO {} using namespace JIO;
48 namespace JGEOMETRY2D {} using namespace JGEOMETRY2D;
49 namespace JGEOMETRY3D {} using namespace JGEOMETRY3D;
50 namespace KM3NETDAQ {} using namespace KM3NETDAQ;
51 namespace JSIRENE {} using namespace JSIRENE;
52 namespace JDETECTOR {} using namespace JDETECTOR;
53 namespace JUTC {} using namespace JUTC;
54 namespace JUTM {} using namespace JUTM;
55 namespace JTRIGGER {} using namespace JTRIGGER;
56 namespace JPHYSICS {} using namespace JPHYSICS;
57 namespace JTOOLS {} using namespace JTOOLS;
58 namespace JSUPPORT {} using namespace JSUPPORT;
59 
60 #endif
61 
62 
63 #endif
file Auxiliary data structures and methods for detector calibration.
Definition: JAnchor.hh:12
Auxiliary classes and methods for 2D geometrical objects and operations.
Definition: JAngle2D.hh:19
Auxiliary classes and methods for 3D geometrical objects and operations.
Definition: JAngle3D.hh:19
Auxiliary classes and methods for binary I/O.
Auxiliary classes and methods for language specific functionality.
Auxiliary classes and methods for mathematical operations.
Definition: JEigen3D.hh:88
Auxiliary methods for light properties of deep-sea water.
Auxiliary classes and methods for ROOT I/O.
Detector simulations.
Support classes and methods for experiment specific I/O.
Definition: JDataWriter.cc:38
Auxiliary classes and methods for multi-dimensional interpolations and histograms.
Auxiliary classes and methods for triggering.
Auxiliaries for handling universal time coordinate (UTC).
Auxiliaries for handling universal transverse mercator coordinate system (UTM).
Definition: JUTMGrid.hh:20
KM3NeT DAQ data structures and auxiliaries.
Definition: DataQueue.cc:39
Definition: JSTDTypes.hh:14
Definition: JRoot.hh:21
bool IsReading()
Definition: JRoot.hh:23
TBuffer & operator<<(const T &)
Definition: JRoot.hh:26
TBuffer & operator>>(T &)
Definition: JRoot.hh:29
Definition: JRoot.hh:19