Jpp
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
TObject
Definition: JRoot.hh:19
JROOT
Auxiliary classes and methods for ROOT I/O.
Definition: JAbstractStreamer.hh:13
TBuffer::operator>>
TBuffer & operator>>(T &)
Definition: JRoot.hh:29
JUTC
Auxiliaries for handling universal time coordinate (UTC).
Definition: JUTCTimeRange.hh:11
JPHYSICS
Auxiliary classes and methods for calculation of PDF and muon energy loss.
Definition: JAbstractMedium.hh:9
JGEOMETRY2D
Auxiliary classes and methods for 2D geometrical objects and operations.
Definition: JAngle2D.hh:18
TBuffer
Definition: JRoot.hh:21
TBuffer::operator<<
TBuffer & operator<<(const T &)
Definition: JRoot.hh:26
JSIRENE
Detector simulations.
Definition: JPulse.hh:19
JMATH
Auxiliary classes and methods for mathematical operations.
Definition: JCalculator.hh:9
TBuffer::IsReading
bool IsReading()
Definition: JRoot.hh:23
std
Definition: jaanetDictionary.h:36
JSUPPORT
Support classes and methods for experiment specific I/O.
Definition: JDataWriter.cc:38
KM3NETDAQ
KM3NeT DAQ data structures and auxiliaries.
Definition: DataQueue.cc:39
JIO
Auxiliary classes and methods for binary I/O.
Definition: JBinaryFileReader.hh:17
JGEOMETRY3D
Auxiliary classes and methods for 3D geometrical objects and operations.
Definition: JAngle3D.hh:18
JTRIGGER
Checksum.
Definition: JSupport/JSupport.hh:35
JTOOLS
Auxiliary classes and methods for multi-dimensional interpolations and histograms.
Definition: JAbstractCollection.hh:9
JLANG
Auxiliary classes and methods for language specific functionality.
Definition: JAbstractClass.hh:10
JUTM
Auxiliaries for handling universal transverse mercator coordinate system (UTM).
Definition: JUTMGrid.hh:18
JDETECTOR
Auxiliary classes and methods for detector calibration.
Definition: JAnchor.hh:12