ShowerMRecData_ROOT.cc
Go to the documentation of this file.
1 #include <io/ShowerMRecData_ROOT.h>
2 #include <evt/ShowerMRecData.h>
3 
4 using namespace io;
5 
6 
7 ClassImp(ShowerMRecData_ROOT)
8 
9 
10 ShowerMRecData_ROOT::ShowerMRecData_ROOT(const evt::ShowerMRecData& sh) :
11 
12  fAlpha(sh.GetAlpha()),
13  fAlphaError(sh.GetAlphaError()),
14  fBeta(sh.GetBeta()),
15  fBetaError(sh.GetBetaError()),
16  fBetaSystematics(sh.GetBetaSystematics()),
17  fGamma(sh.GetGamma()),
18  fGammaError(sh.GetGammaError()),
19  fR0(sh.GetR0()),
20  fR0Error(sh.GetR0Error()),
21  fNMuRef(sh.GetNMuRef()),
22  fNMuRefError(sh.GetNMuRefError()),
23  fNMuRefSystematics(sh.GetNMuRefSystematics()),
24  fMLDFChi2(sh.GetMLDFChi2()),
25  fMLDFNdof(sh.GetMLDFNdof()),
26  fMLDFLikelihood(sh.GetMLDFLikelihood()),
27  fReferenceDistance(sh.GetReferenceDistance()),
28 
29  fAxis(sh.GetAxis()),
30  fThetaError(sh.GetThetaError()),
31  fPhiError(sh.GetPhiError()),
32  fThetaPhiCorrelation(sh.GetThetaPhiCorrelation()),
33 
34  fReferenceAxis(sh.GetReferenceAxis()),
35  fReferenceCore(sh.GetReferenceCorePosition()),
36 
37  fCurvature(sh.GetCurvature()),
38  fCurvatureError(sh.GetCurvatureError()),
39  fCore(sh.GetCorePosition()),
40  fCoreError(sh.GetCoreError()),
41  fCorrelationXY(sh.GetCorrelationXY()),
42 
43  fBarycenter(sh.GetBarycenter()),
44 
45  fTimeResidualMean(sh.GetTimeResidualMean()),
46  fTimeResidualSpread(sh.GetTimeResidualSpread()),
47  fAngleChi2(sh.GetAngleChi2()),
48  fAngleNdof(sh.GetAngleNdof()),
49  fMdSdAngle(sh.GetMdSdAngle()),
50 
51  fT5Trigger(sh.GetT5Trigger()),
52  fLdfReconstructed(sh.IsLdfReconstructed()),
53  fBetaFixed(sh.IsBetaFixed()),
54  fCoreFixedLdf(sh.IsCoreFixedLdf()),
55  fGeometryReconstructed(sh.IsGeometryReconstructed()),
56  fCoreFixedGeo(sh.IsCoreFixedGeo()),
57  fCurvatureFixed(sh.IsCurvatureFixed())
58 
59 
60 {
61  if (sh.HasMLDF())
62  fMLDF = sh.GetMLDF();
63 }
64 
65 
66 void
68 {
69  if (fMLDF) {
70  if (!sh.HasMLDF())
71  sh.MakeMLDF();
72  fMLDF >> sh.GetMLDF();
73  }
74 
75 
77 
80 
82  sh.SetR0(fR0, fR0Error);
83 
86 
89 
91  sh.SetAxis(fAxis.Convert());
95 
98 
100 
104 
106 
111 
119 
120 
121 }
void SetReferenceCorePosition(const utl::Point &core)
void SetLdfReconstructed(bool flag=true)
void SetPhiError(double error)
void SetBetaSystematics(const double BetaSys)
void SetReferenceDistance(double rd)
void SetCurvature(const double curvature, const double error)
void SetGamma(const double gamma, const double error)
void SetCurvatureFixed(bool flag)
void SetBarycenter(const utl::Point &bary)
void SetReferenceAxis(const utl::Vector &axis)
void SetCoreFixedLdf(bool flag)
void SetCoreError(const utl::Vector &coreerr)
ROOT wise implementation of streaming for class ShowerFRecData.
void SetMdSdAngle(double a)
void SetBetaFixed(bool flag=true)
void SetR0(const double r0, const double error)
void SetTimeResidualMean(const double mean)
const utl::TabulatedFunctionErrors & GetMLDF() const
void SetThetaPhiCorrelation(double corr)
void SetCorePosition(const utl::Point &core)
TabulatedFunctionErrors_ROOT fMLDF
void SetNMuRefSystematics(const double NMuRefSys)
utl::Point Convert() const
Definition: Point_ROOT.h:31
void SetThetaError(double error)
void SetAxis(const utl::Vector &axis)
void SetGeometryReconstructed(bool flag=true)
void SetTimeResidualSpread(const double spread)
void SetAngleChi2(const double chi2, const unsigned int ndof)
void SetAlpha(const double alpha, const double error)
bool HasMLDF() const
void operator>>(evt::ShowerMRecData &sh)
void SetNMuRef(const double NMuRef, const double error)
Interface class to access to the Muon Reconstruction of a Shower.
void SetBeta(const double beta, const double error=0)
void SetCoreFixedGeo(bool flag)
void SetT5Trigger(const bool t5)
void SetCorrelationXY(double corr)
fThetaPhiCorrelation(t.GetThetaPhiCorrelation())
void SetMLDFLikelihood(const double likelihood)
void SetMLDFChi2(const double chi2, const double ndof)
utl::Vector Convert() const
Definition: Vector_ROOT.h:33

, generated on Tue Sep 26 2023.