PlaneFrontRecData.h
Go to the documentation of this file.
1 #ifndef _sevt_PlaneFrontRecData_h_
2 #define _sevt_PlaneFrontRecData_h_
3 
4 #include <utl/Math.h>
5 #include <utl/PhysicalConstants.h>
6 
7 namespace evt {
8  class ShowerSRecData;
9 }
10 
11 namespace evt {
12  class ShowerMRecData;
13 }
14 
15 namespace sevt {
16 
18 
19  public:
20  const utl::Point& GetBarycenter() const { return fBarycenter; }
22  const utl::Vector& GetAxis() const { return fAxis; }
23  double GetThetaError() const { return fThetaError; }
24  double GetPhiError() const { return fPhiError; }
25  double GetCorrelationThetaPhi() const { return fCorrelationThetaPhi; }
26  double GetAxisChi2() const { return fAngleChi2; }
27  double GetAxisNdof() const { return fAngleNdof; }
28  double GetTimeResidualMean() const { return fTimeResidualMean; }
29  double GetTimeResidualSpread() const { return fTimeResidualSpread; }
30 
33  {
34  return fBarycenterTime -
36  }
37 
38  void SetBarycenter(const utl::Point& p) { fBarycenter = p; }
40  void SetAxis(const utl::Vector& a) { fAxis = a; }
42  const utl::Vector::Triple& sigma_u2_uv_v2)
44  void SetAngleChi2Ndof(const double chi2, const int ndof)
45  { fAngleChi2 = chi2; fAngleNdof = ndof; }
46  void SetTimeResidualMean(const double mean, const double spread)
47  { fTimeResidualMean = mean; fTimeResidualSpread = spread; }
48 
49  private:
51  fThetaError(0),
52  fPhiError(0),
54  fAngleChi2(0),
55  fAngleNdof(0),
58  { }
59 
61 
65  double fThetaError;
66  double fPhiError;
68  double fAngleChi2;
72 
73  friend class evt::ShowerSRecData;
74  friend class evt::ShowerMRecData;
76 
77  };
78 
79 }
80 
81 #endif
double GetAxisNdof() const
pointer with built-in initialization, deletion, deep copying
Definition: ShadowPtr.h:163
Point object.
Definition: Point.h:32
double GetPhiError() const
void SetTimeResidualMean(const double mean, const double spread)
Interface class to access to the SD Reconstruction of a Shower.
utl::TimeStamp fBarycenterTime
boost::tuple< double, double, double > Triple
Coordinate triple for easy getting or setting of coordinates.
Definition: BasicVector.h:147
const utl::Vector & GetAxis() const
const utl::Point & GetBarycenter() const
double GetTimeResidualSpread() const
A TimeStamp holds GPS second and nanosecond for some event.
Definition: TimeStamp.h:110
void PropagateAxisErrors(const Vector::Triple &u_v_w, const Vector::Triple &sigma_u2_uv_v2, double &thetaError, double &phiError, double &thetaPhiCorrelation)
void SetAxis(const utl::Vector &a)
double GetTimeResidualMean() const
constexpr double kSpeedOfLight
A TimeInterval is used to represent time elapsed between two events.
Definition: TimeInterval.h:43
void SetAngleErrors(const utl::Vector::Triple &u_v_w, const utl::Vector::Triple &sigma_u2_uv_v2)
double GetThetaError() const
utl::TimeStamp GetPredictedTime(const utl::Point &p)
double GetAxisChi2() const
Vector object.
Definition: Vector.h:30
void SetAngleChi2Ndof(const double chi2, const int ndof)
const utl::TimeStamp & GetBarycenterTime() const
Interface class to access to the Muon Reconstruction of a Shower.
void SetBarycenterTime(const utl::TimeStamp &t)
double GetCorrelationThetaPhi() const
void SetBarycenter(const utl::Point &p)

, generated on Tue Sep 26 2023.