Photon_ROOT.h
Go to the documentation of this file.
1 #ifndef _Photon_ROOT_h_
2 #define _Photon_ROOT_h_
3 
4 #include <io/EventIO.h>
5 #ifndef __CINT__
6 # include <utl/Photon.h>
7 #endif
8 #include <io/Point_ROOT.h>
9 #include <io/Vector_ROOT.h>
10 #include <Rtypes.h>
11 
12 
13 namespace io {
14 
26  class Photon_ROOT {
27  public:
29 #ifndef __CINT__
30  Photon_ROOT(const utl::Photon& photon);
31  void operator>>(utl::Photon& photon);
32 #endif
33 
34  double fWeight = 0;
35  int fSource = 0;
36  double fWavelength = 0;
37 
40 
41  double fTime = 0;
42 
44 
45  };
46 
47 }
48 
49 
50 #endif
void operator>>(utl::Photon &photon)
Definition: Photon_ROOT.cc:23
ClassDefNV(Photon_ROOT, DONT_CHANGE_THIS_NUMBER)
Vector_ROOT fDirection
Definition: Photon_ROOT.h:39
ROOT streamer implementation for utl::Point.
Definition: Point_ROOT.h:25
Point_ROOT fPosition
Definition: Photon_ROOT.h:38
#define DONT_CHANGE_THIS_NUMBER
Definition: EventIO.h:21
double fWavelength
Definition: Photon_ROOT.h:36
ROOT streamer implementation for utl::Vector.
Definition: Vector_ROOT.h:26
streamer for utl::Photon
Definition: Photon_ROOT.h:26

, generated on Tue Sep 26 2023.