ScintillatorSimData_ROOT.h
Go to the documentation of this file.
1 #ifndef _io_ScintillatorSimData_ROOT_h_
2 #define _io_ScintillatorSimData_ROOT_h_
3 
4 #ifndef __CINT__
5 # include <mevt/ScintillatorSimData.h>
6 #endif
7 #include <io/EventIO.h>
8 #include <io/Particle_ROOT.h>
9 #include <io/Trace_ROOT.h>
10 #include <io/TimeStamp_ROOT.h>
11 #include <Rtypes.h>
12 #include <vector>
13 
14 
15 namespace io {
16 
17  class SPEPulse_ROOT {
18 
19  public:
21 #ifndef __CINT__
24 #endif
25 
26  double fMu = 0;
27  double fSigma = 0;
28  double fAmplitude = 0;
29  int fDestPixelId = 0;
30 
32 
33  };
34 
35 
36  class PEPulse_ROOT {
37 
38  public:
40 #ifndef __CINT__
43 #endif
44 
45  double fT0 = 0;
46  double fAmplitude1 = 0;
47  double fAmplitude2 = 0;
48  double fAmplitude3 = 0;
49  double fRiseTime = 0;
50  double fFallTime1 = 0;
51  double fFallTime2 = 0;
52  double fFallTime3 = 0;
53  int fDestPixelId = 0;
54 
56 
57  };
58 
59 
61 
62  public:
64 #ifndef __CINT__
67 #endif
68 
69  double fTime = 0;
70 
72 
73  };
74 
75 
85 
86  public:
91 #ifndef __CINT__
94 #endif
95 
96  unsigned int fNParticles = 0;
97  unsigned int fNumberOfInjectedMuons = 0;
98  unsigned int fNumberOfCornerClippingMuons = 0;
99  unsigned int fNumberOfElectrons = 0;
100  double fEnergyDeposit = 0;
102  std::vector<Particle_ROOT> fParticles;
104  std::vector<SPEPulse_ROOT> fSPEPulses;
105  std::vector<PEPulse_ROOT> fPEPulses;
106  std::vector<PhotonTime_ROOT> fPhotonTimes;
107 
109 
110  };
111 
112 }
113 
114 
115 #endif
SPEPulse_ROOT & operator>>(mevt::ScintillatorSimData::SPEPulse &p)
std::vector< PEPulse_ROOT > fPEPulses
ClassDefNV(PEPulse_ROOT, DONT_CHANGE_THIS_NUMBER)
std::vector< SPEPulse_ROOT > fSPEPulses
void operator>>(mevt::ScintillatorSimData &s) const
ClassDefNV(PhotonTime_ROOT, DONT_CHANGE_THIS_NUMBER)
PEPulse_ROOT & operator>>(mevt::ScintillatorSimData::PEPulse &p)
ScintillatorSimData_ROOT(const ScintillatorSimData_ROOT &s)
std::vector< Particle_ROOT > fParticles
PhotonTime_ROOT & operator>>(mevt::ScintillatorSimData::PhotonTime &t)
constexpr double s
Definition: AugerUnits.h:163
Persistent ScintillatorSimData using ROOT.
ClassDefNV(ScintillatorSimData_ROOT, DONT_CHANGE_THIS_NUMBER)
Scintillator level simulation data.
ScintillatorSimData_ROOT & operator=(const ScintillatorSimData_ROOT &s)
#define DONT_CHANGE_THIS_NUMBER
Definition: EventIO.h:21
ClassDefNV(SPEPulse_ROOT, DONT_CHANGE_THIS_NUMBER)
std::vector< PhotonTime_ROOT > fPhotonTimes

, generated on Tue Sep 26 2023.