PMT_ROOT.h
Go to the documentation of this file.
1 #ifndef _PMT_ROOT_h_
2 #define _PMT_ROOT_h_
3 
4 #include <io/EventIO.h>
5 #ifndef __CINT__
6 # include <sevt/PMT.h>
7 #endif
8 #include <sdet/PMTConstants.h>
9 #include <io/MultiTrace_ROOT.h>
10 #include <Rtypes.h>
11 
12 
13 namespace sevt {
14  class PMT;
15 }
16 
17 namespace io {
18 
19  class PMTSimData_ROOT;
20  class PMTRecData_ROOT;
21  class PMTCalibData_ROOT;
22  class PMTQuality_ROOT;
23 
24 
33  class PMT_ROOT {
34  public:
35  PMT_ROOT() { }
36  PMT_ROOT(const PMT_ROOT& p) { *this = p; }
37  ~PMT_ROOT();
38  PMT_ROOT& operator=(const PMT_ROOT& p);
39 #ifndef __CINT__
40  PMT_ROOT(const sevt::PMT& p);
41  void operator>>(sevt::PMT& p) const;
42 #endif
43 
44  int fId = 0;
45  MultiTraceI_ROOT* fFADCTrace[sdet::PMTConstants::eNumberOfGains] //OFFLINE_CINT_ARRAY_INIT; //<-- this does not work for unknown reasons
46 #ifndef __CINT__
47  = { nullptr }
48 #endif
49  ;
51 #ifndef __CINT__
52  = { nullptr }
53 #endif
54  ;
59 
61 
62  };
63 
64 }
65 
66 
67 #endif
MultiTraceI_ROOT * fFADCTrace[sdet::PMTConstants::eNumberOfGains]
Definition: PMT_ROOT.h:47
class to hold data at PMT level
Definition: SEvent/PMT.h:28
PMTCalibData_ROOT * fPMTCalibData
Definition: PMT_ROOT.h:57
PMTQuality_ROOT * fPMTQuality
Definition: PMT_ROOT.h:58
void operator>>(sevt::PMT &p) const
Definition: PMT_ROOT.cc:68
PMT_ROOT & operator=(const PMT_ROOT &p)
Definition: PMT_ROOT.cc:28
Persistent SD PMT using ROOT.
Definition: PMT_ROOT.h:33
MultiTraceD_ROOT * fFADCTraceD[sdet::PMTConstants::eNumberOfGains]
Definition: PMT_ROOT.h:52
Persistent PMTQuality using ROOT.
PMTRecData_ROOT * fPMTRecData
Definition: PMT_ROOT.h:56
PMTSimData_ROOT * fPMTSimData
Definition: PMT_ROOT.h:55
ClassDefNV(PMT_ROOT, DONT_CHANGE_THIS_NUMBER)
#define DONT_CHANGE_THIS_NUMBER
Definition: EventIO.h:21
Persistent SD PMTSimData using ROOT.
PMT_ROOT(const PMT_ROOT &p)
Definition: PMT_ROOT.h:36
Persistent PMTCalibData using ROOT.

, generated on Tue Sep 26 2023.