#include <ForCFT.h>
|
| void | prcfit (long int ntrk, double *wm, const double *wmfit, double bmag, const double *vrt, const double *vrte) noexcept |
| void | vksetIterationNum (long int Iter) noexcept |
| void | vksetIterationPrec (double Prec) noexcept |
| void | vksetRobustScale (double Scale) noexcept |
| void | vksetRobustness (long int Rob) noexcept |
| void | vksetUseMassCnst () noexcept |
| void | vksetUsePhiCnst () noexcept |
| void | vksetUsePlaneCnst (double a, double b, double c, double d) noexcept |
| void | vksetUseThetaCnst () noexcept |
| void | vksetUseAprioriVrt () noexcept |
| void | vksetUsePointingCnst (int iType=1) noexcept |
| void | vksetUsePassNear (int iType=1) noexcept |
| void | setmasscnst_ (long int ncnsttrk, long int *indextrk, double wmcnst) noexcept |
| | ForCFT () noexcept |
| | ~ForCFT ()=default |
Definition at line 12 of file ForCFT.h.
◆ ForCFT()
Definition at line 123 of file PrCFit.cxx.
123 {
136 }
138}
constexpr double chargedPionMassInMeV
the mass of the charged pion (in MeV)
int indtrkmc[vkalMaxNMassCnst][vkalNTrkM]
double IterationPrecision
double wmfit[vkalMaxNMassCnst]
◆ ~ForCFT()
◆ prcfit()
| void Trk::ForCFT::prcfit |
( |
long int | ntrk, |
|
|
double * | wm, |
|
|
const double * | wmfit, |
|
|
double | bmag, |
|
|
const double * | vrt, |
|
|
const double * | vrte ) |
|
noexcept |
Definition at line 44 of file PrCFit.cxx.
45{
46 long int i__1;
47 double summ;
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
81 for (
int i=0;
i<8; ++
i) this->
wmfit[i] = -10000.;
82 summ = 0.;
84 for (
int i=0;
i<i__1; ++
i) {
85 this->
wm[
i] = std::abs(
wm[i]);
87 }
88 if ((*
wmfit) > summ) {
89
94 }
95 this->
wmfit[0] = (*wmfit);
96 }
97
101 this->
covvrt[0] = vrte[0];
102 this->
covvrt[1] = vrte[1];
103 this->
covvrt[2] = vrte[2];
104 this->
covvrt[3] = vrte[3];
105 this->
covvrt[4] = vrte[4];
106 this->
covvrt[5] = vrte[5];
111
112
113
120
121}
◆ setmasscnst_()
| void Trk::ForCFT::setmasscnst_ |
( |
long int | ncnsttrk, |
|
|
long int * | indextrk, |
|
|
double | wmcnst ) |
|
noexcept |
Definition at line 179 of file PrCFit.cxx.
180{
181 if (indextrk==nullptr) return;
182 --indextrk;
183
188 }
189 for (
int i = 0;
i < ncnsttrk; ++
i) {
190 if (indextrk[i] > 0 && indextrk[i] <
vkalNTrkM) {
192 }
193 }
195 }
◆ vksetIterationNum()
| void Trk::ForCFT::vksetIterationNum |
( |
long int | Iter | ) |
|
|
noexcept |
Definition at line 141 of file PrCFit.cxx.
142{
143 if (Iter<3) Iter=3;
144 if (Iter>100) Iter=100;
146}
◆ vksetIterationPrec()
| void Trk::ForCFT::vksetIterationPrec |
( |
double | Prec | ) |
|
|
noexcept |
Definition at line 148 of file PrCFit.cxx.
149{
150 if (Prec<1.e-5) Prec=1.e-5;
151 if (Prec>1.e-1) Prec=1.e-1;
153}
◆ vksetRobustness()
| void Trk::ForCFT::vksetRobustness |
( |
long int | Rob | ) |
|
|
noexcept |
Definition at line 162 of file PrCFit.cxx.
163{
164 if (Rob<0) Rob=0;
165 if (Rob>7) Rob=7;
167}
◆ vksetRobustScale()
| void Trk::ForCFT::vksetRobustScale |
( |
double | Scale | ) |
|
|
noexcept |
Definition at line 155 of file PrCFit.cxx.
156{
160}
void Scale(TH1 *h, double d=1)
◆ vksetUseAprioriVrt()
| void Trk::ForCFT::vksetUseAprioriVrt |
( |
| ) |
|
|
inlinenoexcept |
◆ vksetUseMassCnst()
| void Trk::ForCFT::vksetUseMassCnst |
( |
| ) |
|
|
noexcept |
◆ vksetUsePassNear()
| void Trk::ForCFT::vksetUsePassNear |
( |
int | iType = 1 | ) |
|
|
inlinenoexcept |
◆ vksetUsePhiCnst()
| void Trk::ForCFT::vksetUsePhiCnst |
( |
| ) |
|
|
noexcept |
◆ vksetUsePlaneCnst()
| void Trk::ForCFT::vksetUsePlaneCnst |
( |
double | a, |
|
|
double | b, |
|
|
double | c, |
|
|
double | d ) |
|
noexcept |
◆ vksetUsePointingCnst()
| void Trk::ForCFT::vksetUsePointingCnst |
( |
int | iType = 1 | ) |
|
|
inlinenoexcept |
◆ vksetUseThetaCnst()
| void Trk::ForCFT::vksetUseThetaCnst |
( |
| ) |
|
|
inlinenoexcept |
◆ Ap
| double Trk::ForCFT::Ap {} |
◆ Bp
| double Trk::ForCFT::Bp {} |
◆ covvrt
| double Trk::ForCFT::covvrt[6] {} |
◆ Cp
| double Trk::ForCFT::Cp {} |
◆ Dp
| double Trk::ForCFT::Dp {} |
◆ indtrkmc
◆ irob
◆ IterationNumber
| int Trk::ForCFT::IterationNumber |
◆ IterationPrecision
| double Trk::ForCFT::IterationPrecision |
◆ localbmag
| double Trk::ForCFT::localbmag |
◆ nmcnst
◆ radiusRefP
| double Trk::ForCFT::radiusRefP[2] {} |
◆ RC
| double Trk::ForCFT::RC {} |
◆ robres
◆ RobustScale
| double Trk::ForCFT::RobustScale |
◆ useAprioriVrt
| int Trk::ForCFT::useAprioriVrt {} |
◆ useMassCnst
| int Trk::ForCFT::useMassCnst {} |
◆ usePassNear
| int Trk::ForCFT::usePassNear {} |
◆ usePhiCnst
| int Trk::ForCFT::usePhiCnst {} |
◆ usePlaneCnst
| int Trk::ForCFT::usePlaneCnst {} |
◆ usePointingCnst
| int Trk::ForCFT::usePointingCnst {} |
◆ useRadiusCnst
| int Trk::ForCFT::useRadiusCnst {} |
◆ useThetaCnst
| int Trk::ForCFT::useThetaCnst {} |
◆ vrt
| double Trk::ForCFT::vrt[3] {} |
◆ vrtstp
| double Trk::ForCFT::vrtstp[3] {} |
◆ wgtvrt
| double Trk::ForCFT::wgtvrt[6] {} |
◆ wm
◆ wmfit
The documentation for this struct was generated from the following files: