ShowerUnivRecData.h
Go to the documentation of this file.
1 #ifndef _evt_ShowerUnivRecData_h_
2 #define _evt_ShowerUnivRecData_h_
3 
4 #include <vector>
5 #include <utl/Point.h>
6 #include <utl/Vector.h>
7 #include <utl/TimeStamp.h>
8 #include <utl/TimeInterval.h>
9 #include <utl/LameShadowPtr_fwd.h>
10 #include <utl/ShadowPtr.h>
11 
12 namespace evt {
13 
14  class ShowerRecData;
15 
25 
26  public:
27  const utl::Point& GetCorePosition() const { return fCore; }
28  const utl::Vector& GetCoreError() const { return fCoreError; }
29 
31  const utl::TimeStamp& GetCoreTime() const { return fCoreTime; }
33 
34  const utl::Vector& GetAxis() const { return fAxis; }
35 
36  double GetThetaError() const { return fThetaError; }
37  double GetPhiError() const { return fPhiError; }
38 
39  double GetEnergy() const { return fEnergy; }
40  double GetEnergyError() const { return fEnergyError; }
41  double GetNmu() const { return fNmu; }
42  double GetNmuError() const { return fNmuError; }
43  double GetXmax() const { return fXmax; }
44  double GetXmaxError() const { return fXmaxError; }
45  double GetXmaxMu() const { return fXmaxMu; }
46  double GetXmaxMuError() const { return fXmaxMuError; }
47  double GetTimeModelOffset() const { return fTimeModelOffset; }
49  double GetLnA() const { return fLnA; }
50  double GetLnAError() const { return fLnAError; }
51 
52  bool GetGoodRec() const { return fGoodRec; }
53 
54  int GetNumberOfShapeCandidates() const { return fNCandShape; }
56  int GetNumberOfLDFCandidates() const { return fNCandLDF; }
57 
58  void SetThetaError(const double err) { fThetaError = err; }
59  void SetPhiError(const double err) { fPhiError = err; }
60 
61  void SetCorePosition(const utl::Point& core) { fCore = core; }
62  void SetAxis(const utl::Vector& axis) { fAxis = axis; }
63  void SetCoreError(const utl::Vector& coreerr) { fCoreError = coreerr; }
64  void SetCoreTime(const utl::TimeStamp& coreTime, const utl::TimeInterval& coreTimeErr)
65  { fCoreTime = coreTime; fCoreTimeError = coreTimeErr; }
66 
67  void SetEnergy(const double energy, const double error)
68  { fEnergy = energy; fEnergyError = error; }
69  void SetNmu(const double Nmu, const double error)
70  { fNmu = Nmu; fNmuError = error; }
71  void SetXmax(const double Xmax, const double error)
72  { fXmax = Xmax; fXmaxError = error; }
73  void SetXmaxMu(const double XmaxMu, const double error)
74  { fXmaxMu = XmaxMu; fXmaxMuError = error; }
75  void SetTimeModelOffset(const double mmu, const double mmuunc)
76  { fTimeModelOffset = mmu; fTimeModelOffsetError = mmuunc; }
77  void SetGoodRec(const bool isgood) { fGoodRec = isgood; }
78  void SetLnA(const double lnA, const double error)
79  { fLnA = lnA; fLnAError = error; }
80 
81  void SetNumberOfShapeCandidates(const int ncand) { fNCandShape = ncand; }
82  void SetNumberOfStartTimeCandidates(const int ncand) { fNCandStartTime = ncand; }
83  void SetNumberOfLDFCandidates(const int ncand) { fNCandLDF = ncand; }
84 
85  private:
88 
94 
95  bool fGoodRec;
96 
97  double fThetaError;
98  double fPhiError;
99 
100  double fEnergy;
101  double fEnergyError;
102  double fNmu;
103  double fNmuError;
104  double fXmax;
105  double fXmaxError;
106  double fXmaxMu;
107  double fXmaxMuError;
110  double fLnA;
111  double fLnAError;
112 
116 
117  friend class evt::ShowerRecData;
119 
120  };
121 
122 } // evt
123 
124 
125 #endif // _evt_ShowerUnivRecData_h_
126 
127 // Configure (x)emacs for this file ...
128 // Local Variables:
129 // mode: c++
130 // compile-command: "make -C .. -k"
131 // End:
double GetEnergy() const
void SetNmu(const double Nmu, const double error)
void SetAxis(const utl::Vector &axis)
Point object.
Definition: Point.h:32
double GetThetaError() const
Interface class to access to the SD Reconstruction of a Shower (universality)
void SetXmax(const double Xmax, const double error)
Interface class to access Shower Reconstructed parameters.
Definition: ShowerRecData.h:33
int GetNumberOfLDFCandidates() const
const utl::TimeStamp & GetCoreTime() const
void SetNumberOfShapeCandidates(const int ncand)
const utl::Point & GetCorePosition() const
void SetCoreTime(const utl::TimeStamp &coreTime, const utl::TimeInterval &coreTimeErr)
double GetNmuError() const
A TimeStamp holds GPS second and nanosecond for some event.
Definition: TimeStamp.h:110
void SetNumberOfStartTimeCandidates(const int ncand)
void SetGoodRec(const bool isgood)
int GetNumberOfStartTimeCandidates() const
const utl::TimeInterval & GetCoreTimeError() const
double GetXmaxMuError() const
double GetEnergyError() const
void SetThetaError(const double err)
double GetXmaxMu() const
void SetXmaxMu(const double XmaxMu, const double error)
double GetTimeModelOffset() const
double GetTimeModelOffsetError() const
A TimeInterval is used to represent time elapsed between two events.
Definition: TimeInterval.h:43
double lnA(const double Rmu, const double Xmax, const double lgE, const bool realEvent)
Definition: Functions.cc:505
double GetPhiError() const
Vector object.
Definition: Vector.h:30
const utl::Vector & GetCoreError() const
void SetTimeModelOffset(const double mmu, const double mmuunc)
void SetCoreError(const utl::Vector &coreerr)
double GetLnAError() const
void SetEnergy(const double energy, const double error)
utl::TimeInterval fCoreTimeError
void SetPhiError(const double err)
void SetLnA(const double lnA, const double error)
void SetCorePosition(const utl::Point &core)
const utl::Vector & GetAxis() const
double GetXmaxError() const
int GetNumberOfShapeCandidates() const
void SetNumberOfLDFCandidates(const int ncand)

, generated on Tue Sep 26 2023.