Point_ROOT.h
Go to the documentation of this file.
1 #ifndef _io_Point_ROOT_h_
2 #define _io_Point_ROOT_h_
3 
4 #include <io/EventIO.h>
5 #ifndef __CINT__
6 # include <utl/Point.h>
7 #endif
8 #include <Rtypes.h>
9 #include <TVector3.h>
10 
11 
12 namespace io {
13 
25  class Point_ROOT {
26  public:
27  Point_ROOT() { }
28 #ifndef __CINT__
29  Point_ROOT(const utl::Point& p);
30  void operator>>(utl::Point& p) const;
31  utl::Point Convert() const { utl::Point p; *this >> p; return p; }
32 #endif
33 
34  TVector3 fPoint;
35 
37 
38  };
39 
40 }
41 
42 
43 #endif
Point object.
Definition: Point.h:32
void operator>>(utl::Point &p) const
Definition: Point_ROOT.cc:18
ClassDefNV(Point_ROOT, DONT_CHANGE_THIS_NUMBER)
utl::Point Convert() const
Definition: Point_ROOT.h:31
ROOT streamer implementation for utl::Point.
Definition: Point_ROOT.h:25
#define DONT_CHANGE_THIS_NUMBER
Definition: EventIO.h:21
TVector3 fPoint
Definition: Point_ROOT.h:34

, generated on Tue Sep 26 2023.