FairRoot/PandaRoot
PndTrkChi2Fits.h
Go to the documentation of this file.
1 #ifndef PndTrkChi2Fits_H
2 #define PndTrkChi2Fits_H 1
3 
4 #include "PndTrkVectors.h"
5 // Root includes
6 #include "TROOT.h"
7 
8 class PndTrkChi2Fits : public TObject
9 {
10 
11  private:
12 
13  int fIcounter;
14 
15 
16 
17  public:
18 
21 
22 
25 
26  void Calculations_Mvd(
27  bool * InclusionMvd, // input;
28  Double_t * Mvd_DipVar_DipVar, // input;
29  Double_t * Mvd_IndVar_DipVar, // input;
30  Double_t * Mvd_IndVar_IndVar, // input;
31  Short_t nMvdHits, // input;
32 
33  Double_t & Mvd_DipVar_DipVar_Sum, // output;
34  Double_t & Mvd_IndVar_DipVar_Sum, // output;
35  Double_t & Mvd_IndVar_IndVar_Sum // output;
36  );
37 
39  Short_t nSttHits, // input;
40  Double_t * Stt_DriftRad_DipVar, // input;
41  Double_t * Stt_DriftRad_IndVar, // input;
42 
43  Double_t * Stt_DriftRad_DipVar_Sum, // output;
44  Double_t * Stt_DriftRad_IndVar_Sum // output;
45  );
46 
47 
48 
49  Short_t FitHelixCylinder(
50  Short_t nHitsinTrack,
51  Double_t *Xconformal,
52  Double_t *Yconformal,
53  Double_t *DriftRadiusconformal,
54  Double_t *ErrorDriftRadiusconformal,
55  Double_t rotationangle,
56  Double_t trajectory_vertex[2],
57  Short_t NMAX,
58  Double_t *m,
59  Double_t *q,
60  Double_t *pAlfa,
61  Double_t *pBeta,
62  Double_t *pGamma,
63  bool *Type,
64  int istampa,
65  int IVOLTE
66  );
67 
68 
69  Short_t FitSZspace(
70  Short_t nHitsinTrack,
71  Double_t *S,
72  Double_t *Z,
73  Double_t *DriftRadius,
74  Double_t *ErrorDriftRadius,
75  Double_t FInot,
76  Short_t NMAX,
77  Double_t *emme,
78  int IVOLTE
79  );
80 
81 
83  Short_t nHitsinTrack,
84  Double_t *S,
85  Double_t *Z,
86  Double_t *DriftRadius,
87  Double_t *ErrorDriftRadius,
88  Double_t FInot,
89  Short_t NMAX,
90  Double_t *emme,
91  int IVOLTE
92  );
93 
94 
95  void GSumCalculation(
96 
97  Double_t *S, // input; the independent-like variable;
98  Double_t *Z1, // input, first possibility of Z; the dependent-like variable;
99  Double_t *Z2, // input; second possibility of Z; the dependent-like variable;
100  Double_t *Sigma, // input; the errors on Z;
101  Double_t FInot, // input fixed parameter;
102  int nHits,
103  Double_t *outSum // the output; this must be an array of 2**nSttHits elements;
104 
105  );
106 
107  void UinvSumCalculation(
108 
109  Double_t *S, // input; the independent-like variable;
110  Double_t *Sigma, // input; the errors on Z;
111  Double_t FInot, // input fixed parameter;
112  int nHits,
113  Double_t *outSum // the output; this must be an array of 2**nSttHits elements;
114 
115  );
116 
117 
118  void ZqSumCalculation(
119 
120  Double_t *Z1, // input, first possibility of Z; the dependent-like variable;
121  Double_t *Z2, // input; second possibility of Z; the dependent-like variable;
122  Double_t *Sigma, // input; the errors on Z;
123  Double_t FInot, // input fixed parameter;
124  int nHits,
125  Double_t *outSum // the output; this must be an array of 2**nSttHits elements;
126 
127  );
128 
129 
130 
132 
133 };
134 
135 #endif
ClassDef(PndTrkChi2Fits, 1)
__m128 m
Definition: P4_F32vec4.h:28
Short_t FitHelixCylinder(Short_t nHitsinTrack, Double_t *Xconformal, Double_t *Yconformal, Double_t *DriftRadiusconformal, Double_t *ErrorDriftRadiusconformal, Double_t rotationangle, Double_t trajectory_vertex[2], Short_t NMAX, Double_t *m, Double_t *q, Double_t *pAlfa, Double_t *pBeta, Double_t *pGamma, bool *Type, int istampa, int IVOLTE)
Short_t FitSZspace_Chi2_AnnealingtheMvdOnly(Short_t nHitsinTrack, Double_t *S, Double_t *Z, Double_t *DriftRadius, Double_t *ErrorDriftRadius, Double_t FInot, Short_t NMAX, Double_t *emme, int IVOLTE)
int nHits
Definition: RiemannTest.C:16
void ZqSumCalculation(Double_t *Z1, Double_t *Z2, Double_t *Sigma, Double_t FInot, int nHits, Double_t *outSum)
Double_t
void Calculations_SkewStt_AllLeftRightCombinations(Short_t nSttHits, Double_t *Stt_DriftRad_DipVar, Double_t *Stt_DriftRad_IndVar, Double_t *Stt_DriftRad_DipVar_Sum, Double_t *Stt_DriftRad_IndVar_Sum)
void Calculations_Mvd(bool *InclusionMvd, Double_t *Mvd_DipVar_DipVar, Double_t *Mvd_IndVar_DipVar, Double_t *Mvd_IndVar_IndVar, Short_t nMvdHits, Double_t &Mvd_DipVar_DipVar_Sum, Double_t &Mvd_IndVar_DipVar_Sum, Double_t &Mvd_IndVar_IndVar_Sum)
void GSumCalculation(Double_t *S, Double_t *Z1, Double_t *Z2, Double_t *Sigma, Double_t FInot, int nHits, Double_t *outSum)
Short_t FitSZspace(Short_t nHitsinTrack, Double_t *S, Double_t *Z, Double_t *DriftRadius, Double_t *ErrorDriftRadius, Double_t FInot, Short_t NMAX, Double_t *emme, int IVOLTE)
void UinvSumCalculation(Double_t *S, Double_t *Sigma, Double_t FInot, int nHits, Double_t *outSum)
double Z
Definition: anaLmdDigi.C:68