16 |
#include <TrkCalib.h> |
#include <TrkCalib.h> |
17 |
|
|
18 |
#define NTYPES 10 |
#define NTYPES 10 |
19 |
|
#define NGF 14 |
20 |
|
|
21 |
/** |
/** |
22 |
* \brief Class to store tracker parameter information |
* \brief Class to store tracker parameter information |
93 |
static float init__pfa_e234ay[6]; // angle intervals for eta2-3-4 |
static float init__pfa_e234ay[6]; // angle intervals for eta2-3-4 |
94 |
static double init__deltab_0; |
static double init__deltab_0; |
95 |
static double init__deltab_1; |
static double init__deltab_1; |
96 |
|
static double init__dlt; |
97 |
|
|
98 |
|
// ------------------------------------------ |
99 |
|
// nominal z-coordinates to define acceptance |
100 |
|
// ------------------------------------------ |
101 |
|
static int nGF; |
102 |
|
static float zGF[NGF]; |
103 |
|
static float xGF_min[NGF]; |
104 |
|
static float xGF_max[NGF]; |
105 |
|
static float yGF_min[NGF]; |
106 |
|
static float yGF_max[NGF]; |
107 |
|
static TString GF_element[NGF]; |
108 |
|
|
109 |
TrkParams(); |
TrkParams(); |
110 |
|
|
|
|
|
111 |
// --------------------------------------------- |
// --------------------------------------------- |
112 |
// calibration (PED-SIG-BAD) |
// calibration (PED-SIG-BAD) |
113 |
// --------------------------------------------- |
// --------------------------------------------- |
146 |
static float GetBZ(float*); |
static float GetBZ(float*); |
147 |
static float GetResolution(int,float); |
static float GetResolution(int,float); |
148 |
static int GetPFA(){return sw_.pfaid;}; |
static int GetPFA(){return sw_.pfaid;}; |
149 |
|
static int GetPFA_NbinsAngle(); |
150 |
|
static int GetPFA_NbinsETA(); |
151 |
|
static int GetPFA_NbinsCharge(){return 0;}; |
152 |
|
static int GetPFA_AngleBin(float); |
153 |
|
static float* GetPFA_ETAcorr(TString,int,int,int); |
154 |
|
static float* GetPFA_ETAabs(TString,int); |
155 |
|
static float GetPFA_ETAlandi(int,int,int); |
156 |
|
static float GetPFA_ETAlandi(int nv,int nl,float ang) |
157 |
|
{ return TrkParams::GetPFA_ETAlandi(nv,nl,TrkParams::GetPFA_AngleBin(ang)); }; |
158 |
|
|
159 |
// --------------------------------------------- |
// --------------------------------------------- |
160 |
// debug mode |
// debug mode |
178 |
static void SetStepMin() {track_.istepmin = init__mini_istepmin; }; |
static void SetStepMin() {track_.istepmin = init__mini_istepmin; }; |
179 |
static void SetDeltaB() {deltab_.delta0 = init__deltab_0; |
static void SetDeltaB() {deltab_.delta0 = init__deltab_0; |
180 |
deltab_.delta1 = init__deltab_1;}; |
deltab_.delta1 = init__deltab_1;}; |
181 |
|
static void SetDLT() {deltab_.dlt = init__dlt;}; |
182 |
static void SetMiniDefault() { |
static void SetMiniDefault() { |
183 |
SetTrackingMode(); |
SetTrackingMode(); |
184 |
SetPrecisionFactor(); |
SetPrecisionFactor(); |
185 |
SetStepMin(); |
SetStepMin(); |
186 |
SetDeltaB(); |
SetDeltaB(); |
187 |
|
SetDLT(); |
188 |
}; // |
}; // |
189 |
static void SetPFA(); |
static void SetPFA(); |
190 |
|
|
193 |
static void SetPrecisionFactor(double); |
static void SetPrecisionFactor(double); |
194 |
static void SetStepMin(int); |
static void SetStepMin(int); |
195 |
static void SetDeltaB(int,double); |
static void SetDeltaB(int,double); |
196 |
|
static void SetDLT(double); |
197 |
static void SetPFA(int); |
static void SetPFA(int); |
198 |
static void SetPFA(float *); |
static void SetPFA(float *); |
199 |
|
|