PandaRoot
PndTrkChi2Fits.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef PndTrkChi2Fits_H
14 #define PndTrkChi2Fits_H 1
15 
16 #include "PndTrkVectors.h"
17 // Root includes
18 #include "TROOT.h"
19 
20 class PndTrkChi2Fits : public TObject {
21 
22  private:
23  int fIcounter;
24 
25  public:
28 
31 
32  void Calculations_Mvd(bool *InclusionMvd, // input;
33  Double_t *Mvd_DipVar_DipVar, // input;
34  Double_t *Mvd_IndVar_DipVar, // input;
35  Double_t *Mvd_IndVar_IndVar, // input;
36  Short_t nMvdHits, // input;
37 
38  Double_t &Mvd_DipVar_DipVar_Sum, // output;
39  Double_t &Mvd_IndVar_DipVar_Sum, // output;
40  Double_t &Mvd_IndVar_IndVar_Sum // output;
41  );
42 
43  void Calculations_SkewStt_AllLeftRightCombinations(Short_t nSttHits, // input;
44  Double_t *Stt_DriftRad_DipVar, // input;
45  Double_t *Stt_DriftRad_IndVar, // input;
46 
47  Double_t *Stt_DriftRad_DipVar_Sum, // output;
48  Double_t *Stt_DriftRad_IndVar_Sum // output;
49  );
50 
51  Short_t FitHelixCylinder(Short_t nHitsinTrack, Double_t *Xconformal, Double_t *Yconformal, Double_t *DriftRadiusconformal, Double_t *ErrorDriftRadiusconformal,
52  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,
53  bool *Type, int istampa, int IVOLTE);
54 
55  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);
56 
57  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,
58  Double_t *emme, int IVOLTE);
59 
60  void GSumCalculation(
61 
62  Double_t *S, // input; the independent-like variable;
63  Double_t *Z1, // input, first possibility of Z; the dependent-like variable;
64  Double_t *Z2, // input; second possibility of Z; the dependent-like variable;
65  Double_t *Sigma, // input; the errors on Z;
66  Double_t FInot, // input fixed parameter;
67  int nHits,
68  Double_t *outSum // the output; this must be an array of 2**nSttHits elements;
69 
70  );
71 
72  void UinvSumCalculation(
73 
74  Double_t *S, // input; the independent-like variable;
75  Double_t *Sigma, // input; the errors on Z;
76  Double_t FInot, // input fixed parameter;
77  int nHits,
78  Double_t *outSum // the output; this must be an array of 2**nSttHits elements;
79 
80  );
81 
82  void ZqSumCalculation(
83 
84  Double_t *Z1, // input, first possibility of Z; the dependent-like variable;
85  Double_t *Z2, // input; second possibility of Z; the dependent-like variable;
86  Double_t *Sigma, // input; the errors on Z;
87  Double_t FInot, // input fixed parameter;
88  int nHits,
89  Double_t *outSum // the output; this must be an array of 2**nSttHits elements;
90 
91  );
92 
94 };
95 
96 #endif
ClassDef(PndTrkChi2Fits, 1)
__m128 m
Definition: P4_F32vec4.h:38
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)
void ZqSumCalculation(Double_t *Z1, Double_t *Z2, Double_t *Sigma, Double_t FInot, int nHits, Double_t *outSum)
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)