CMS 3D CMS Logo

IMATH_TrackletCalculatorDisk.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_IMATH_TrackletCalculatorDisk_h
2 #define L1Trigger_TrackFindingTracklet_interface_IMATH_TrackletCalculatorDisk_h
3 
4 #include "Settings.h"
5 #include "imath.h"
6 
7 //
8 // Constants used:
9 // dphisector
10 // rmaxL6
11 // zmaxD5
12 // rmaxdisk
13 // kr, kphi1, kz
14 //
15 // rmean[], zmean[]
16 
17 namespace trklet {
18 
20  public:
21  IMATH_TrackletCalculatorDisk(Settings const& settings, imathGlobals* globals, int i1, int i2)
22  : settings_(settings), globals_(globals) {
23  if (settings_.debugTracklet()) {
24  edm::LogVerbatim("Tracklet") << "=============================================";
25  char s[1024];
26  snprintf(s, 1024, "IMATH Tracklet Calculator for Disk %i %i dphisector = %f", i1, i2, settings_.dphisector());
27  edm::LogVerbatim("Tracklet") << s;
28  snprintf(s, 1024, "rmaxL6 = %f, zmaxD5 = %f", settings_.rmax(5), settings_.zmax(4));
29  edm::LogVerbatim("Tracklet") << s;
30  snprintf(
31  s, 1024, " stub Ks: kr, kphi1, kz = %g, %g, %g", settings_.kr(), settings_.kphi1(), settings_.kz());
32  edm::LogVerbatim("Tracklet") << s;
33  snprintf(s,
34  1024,
35  " tracklet Ks: krinvpars, kphi0pars, ktpars, kzpars = %g, %g, %g, %g",
39  settings_.kz() * pow(2, settings_.z0_shift()));
40  edm::LogVerbatim("Tracklet") << s;
41  snprintf(s,
42  1024,
43  "layer proj Ks: kphiproj456, kphider, kzproj, kzder = %g, %g, %g, %g",
48  edm::LogVerbatim("Tracklet") << s;
49  snprintf(s,
50  1024,
51  " disk proj Ks: kphiprojdisk, kphiprojderdisk, krprojdisk, krprojderdisk = %g, %g, %g, %g",
56  edm::LogVerbatim("Tracklet") << s;
57  edm::LogVerbatim("Tracklet") << "=============================================";
58  }
59 
62 
63  if (i2 < 0) { //t is negative
66  invt.set_mode(VarInv::mode::neg);
67  invt.initLUT(0.);
68  }
69 
73 
75 
79 
81 
85 
87 
91 
93 
97 
99 
103 
105  }
106 
107  ~IMATH_TrackletCalculatorDisk() = default;
108 
110 
112 
113  //max values
114  const double dz_max = 50.;
115  const double dr_max = 20.;
116  const double delta0_max = 0.005;
117  const double a2_max = 3.;
118  const double a2a_max = 0.1;
119  const double x6a_max = 0.02;
120  const double x6m_max = 2.;
121  const double x8_max = 1.;
122  const double x13_max = 300.;
123  const double x22_max = 0.3;
124  const double x23_max = 200.;
125  const double deltaZ_max = 8.;
126  const double der_phiD_max = 0.002;
127  const double t_max = 7.9;
128  const double t_disk_min = 1.;
129  const double t_disk_max = 7.9;
130  const double t_layer_max = 2.5;
131  const double z0_max = 20.;
132  const double z0a_max = 205.;
133 
134  //constants
135  VarParam plus2{globals_, "plus2", 2., 10};
136  VarParam plus1{globals_, "plus1", 1., 10};
137  VarParam minus1{globals_, "minus1", -1, 10};
138 
141 
142  //inputs
147 
148  VarDef phi1{globals_, "phi1", "Kphi", settings_.dphisector() / 0.75, settings_.kphi1()};
149  VarDef phi2{globals_, "phi2", "Kphi", settings_.dphisector() / 0.75, settings_.kphi1()};
150 
154 
158 
159  //calculations
160 
161  //tracklet
164 
166 
167  //R LUT
168  VarInv drinv{globals_, "drinv", &dr, 0, 18, 23, 0, VarInv::mode::pos};
169 
172 
175  VarMult delta1{globals_, "delta1", &r1, &delta0};
176  VarMult delta2{globals_, "delta2", &r2, &delta0};
179  VarSubtract a2{globals_, "a2", &plus2, &a2b, 3.};
180  VarNeg a2n{globals_, "a2n", &a2};
181  VarShift a{globals_, "a", &a2, 1};
182 
183  VarAdd Rabs{globals_, "Rabs", &r1, &r2};
184  VarTimesC R6{globals_, "R6", &Rabs, 1. / 6., 12};
185 
187  VarMult x6a{globals_, "x6a", &delta2, &x4, 8 * x6a_max};
189  VarAdd x6m{globals_, "x6m", &minus1, &x6b, 2.};
191 
194 
197  VarMult t{globals_, "t", &a, &deltaZ, 2 * t_max};
198  VarAdd z0{globals_, "z0", &z1abs, &z0b, 2 * z0_max};
199 
201  globals_, "rinv_final", &rinv, settings_.kphi1() / settings_.kr() * pow(2, settings_.rinv_shift())};
205 
206  //projection to r
207  VarShift x2{globals_, "x2", &delta0, 1};
208 
209  VarMult x1_0{globals_, "x1_0", &x2, &rproj0};
210  VarMult x1_1{globals_, "x1_1", &x2, &rproj1};
211  VarMult x1_2{globals_, "x1_2", &x2, &rproj2};
212 
216 
217  VarMult x12_0{globals_, "x12_0", &x8_0, &x8_0};
218  VarMult x12_1{globals_, "x12_1", &x8_1, &x8_1};
219  VarMult x12_2{globals_, "x12_2", &x8_2, &x8_2};
220 
224 
225  VarTimesC x20_0{globals_, "x20_0", &x12A_0, 1. / 6.};
226  VarTimesC x20_1{globals_, "x20_1", &x12A_1, 1. / 6.};
227  VarTimesC x20_2{globals_, "x20_2", &x12A_2, 1. / 6.};
228 
229  VarAdd x10_0{globals_, "x10_0", &plus1, &x20_0};
230  VarAdd x10_1{globals_, "x10_1", &plus1, &x20_1};
231  VarAdd x10_2{globals_, "x10_2", &plus1, &x20_2};
232 
233  VarMult x22_0{globals_, "x22_0", &x8_0, &x10_0, 2 * x22_max};
234  VarMult x22_1{globals_, "x22_1", &x8_1, &x10_1, 2 * x22_max};
235  VarMult x22_2{globals_, "x22_2", &x8_2, &x10_2, 2 * x22_max};
236 
240 
241  VarShift x3{globals_, "x3", &rinv, 1};
242  VarNeg der_phiL{globals_, "der_phiL", &x3};
243 
247 
249  "der_phiL_final",
250  &der_phiL,
252 
253  VarMult x11_0{globals_, "x11_0", &rproj0, &t};
254  VarMult x11_1{globals_, "x11_1", &rproj1, &t};
255  VarMult x11_2{globals_, "x11_2", &rproj2, &t};
256 
257  VarMult x23_0{globals_, "x23_0", &x11_0, &x10_0, 4 * x23_max};
258  VarMult x23_1{globals_, "x23_1", &x11_1, &x10_1, 4 * x23_max};
259  VarMult x23_2{globals_, "x23_2", &x11_2, &x10_2, 4 * x23_max};
260 
261  VarAdd zL_0{globals_, "zL_0", &z0, &x23_0};
262  VarAdd zL_1{globals_, "zL_1", &z0, &x23_1};
263  VarAdd zL_2{globals_, "zL_2", &z0, &x23_2};
264 
268 
270  globals_, "der_zL_final", &t_final, settings_.kz() / settings_.kr() * pow(2, settings_.PS_zderL_shift())};
271 
272  //projection to z
273  VarInv invt{globals_, "invt", &t_final, 0., 18, 26, 1, VarInv::mode::pos, 13};
274 
275  VarMult x7{globals_, "x7", &x2, &a2};
276 
280 
284 
288 
292 
296 
297  VarMult der_phiD{globals_, "der_phiD", &x7, &invt, 2 * der_phiD_max};
298 
300  "der_phiD_final",
301  &der_phiD,
303 
307 
311 
312  VarTimesC x9_0{globals_, "x9_0", &x26A_0, 1. / 6.};
313  VarTimesC x9_1{globals_, "x9_1", &x26A_1, 1. / 6.};
314  VarTimesC x9_2{globals_, "x9_2", &x26A_2, 1. / 6.};
315 
319 
323 
327 
329  globals_, "der_rD_final", &invt, settings_.kr() / settings_.kz() * pow(2, settings_.PS_rderD_shift())};
330 
333 
373 
377 
378  // the following flags are used to apply the cuts in TrackletCalculator
379  // and in the output Verilog
381 
385 
389 
392 
396 
400 
403  };
404 }; // namespace trklet
405 
406 #endif
trklet::IMATH_TrackletCalculatorDisk::plus1
VarParam plus1
Definition: IMATH_TrackletCalculatorDisk.h:136
trklet::IMATH_TrackletCalculatorDisk::z1mean
VarParam z1mean
Definition: IMATH_TrackletCalculatorDisk.h:139
trklet::IMATH_TrackletCalculatorDisk::valid_der_phiD
VarFlag valid_der_phiD
Definition: IMATH_TrackletCalculatorDisk.h:401
Settings.h
trklet::IMATH_TrackletCalculatorDisk::der_phiD
VarMult der_phiD
Definition: IMATH_TrackletCalculatorDisk.h:297
trklet::VarAdd
Definition: imath.h:511
trklet::IMATH_TrackletCalculatorDisk::x13_1_cut
VarCut x13_1_cut
Definition: IMATH_TrackletCalculatorDisk.h:361
trklet::IMATH_TrackletCalculatorDisk::x9_2
VarTimesC x9_2
Definition: IMATH_TrackletCalculatorDisk.h:314
trklet::IMATH_TrackletCalculatorDisk::zproj0
VarDef zproj0
Definition: IMATH_TrackletCalculatorDisk.h:155
trklet::IMATH_TrackletCalculatorDisk::der_phiD_final
VarAdjustK der_phiD_final
Definition: IMATH_TrackletCalculatorDisk.h:299
trklet::IMATH_TrackletCalculatorDisk::x26A_2
VarNounits x26A_2
Definition: IMATH_TrackletCalculatorDisk.h:310
trklet::IMATH_TrackletCalculatorDisk::x10_0
VarAdd x10_0
Definition: IMATH_TrackletCalculatorDisk.h:229
testProducerWithPsetDescEmpty_cfi.i2
i2
Definition: testProducerWithPsetDescEmpty_cfi.py:46
trklet::IMATH_TrackletCalculatorDisk::zL_1
VarAdd zL_1
Definition: IMATH_TrackletCalculatorDisk.h:262
trklet::IMATH_TrackletCalculatorDisk::x1_2
VarMult x1_2
Definition: IMATH_TrackletCalculatorDisk.h:211
trklet::IMATH_TrackletCalculatorDisk::dz
VarSubtract dz
Definition: IMATH_TrackletCalculatorDisk.h:171
trklet::IMATH_TrackletCalculatorDisk::x12A_2
VarNounits x12A_2
Definition: IMATH_TrackletCalculatorDisk.h:223
trklet::IMATH_TrackletCalculatorDisk::valid_phiL_1
VarFlag valid_phiL_1
Definition: IMATH_TrackletCalculatorDisk.h:383
trklet::IMATH_TrackletCalculatorDisk::z1abs
VarAdd z1abs
Definition: IMATH_TrackletCalculatorDisk.h:162
trklet::IMATH_TrackletCalculatorDisk::a2
VarSubtract a2
Definition: IMATH_TrackletCalculatorDisk.h:179
trklet::Settings::maxrinv
double maxrinv() const
Definition: Settings.h:273
trklet::IMATH_TrackletCalculatorDisk::rD_2_cut
VarCut rD_2_cut
Definition: IMATH_TrackletCalculatorDisk.h:372
trklet::IMATH_TrackletCalculatorDisk::valid_phiD_2
VarFlag valid_phiD_2
Definition: IMATH_TrackletCalculatorDisk.h:395
trklet::IMATH_TrackletCalculatorDisk::delta1
VarMult delta1
Definition: IMATH_TrackletCalculatorDisk.h:175
trklet::IMATH_TrackletCalculatorDisk::dr_max
const double dr_max
Definition: IMATH_TrackletCalculatorDisk.h:115
trklet::VarMult
Definition: imath.h:802
trklet::IMATH_TrackletCalculatorDisk::x9_1
VarTimesC x9_1
Definition: IMATH_TrackletCalculatorDisk.h:313
trklet::IMATH_TrackletCalculatorDisk::z0a
VarMult z0a
Definition: IMATH_TrackletCalculatorDisk.h:192
trklet::IMATH_TrackletCalculatorDisk::zL_0_final
VarAdjustK zL_0_final
Definition: IMATH_TrackletCalculatorDisk.h:265
trklet::IMATH_TrackletCalculatorDisk::rinv_cut
VarCut rinv_cut
Definition: IMATH_TrackletCalculatorDisk.h:348
trklet::IMATH_TrackletCalculatorDisk::deltaZ_max
const double deltaZ_max
Definition: IMATH_TrackletCalculatorDisk.h:125
trklet::Settings::dzmax
double dzmax() const
Definition: Settings.h:116
trklet::IMATH_TrackletCalculatorDisk::x27_2
VarSubtract x27_2
Definition: IMATH_TrackletCalculatorDisk.h:318
trklet::IMATH_TrackletCalculatorDisk::delta0_cut
VarCut delta0_cut
Definition: IMATH_TrackletCalculatorDisk.h:339
trklet::Settings::SS_phiL_shift
int SS_phiL_shift() const
Definition: Settings.h:314
trklet::IMATH_TrackletCalculatorDisk::phiD_0_cut
VarCut phiD_0_cut
Definition: IMATH_TrackletCalculatorDisk.h:366
trklet::IMATH_TrackletCalculatorDisk::x23_max
const double x23_max
Definition: IMATH_TrackletCalculatorDisk.h:124
trklet::IMATH_TrackletCalculatorDisk::x13_0
VarMult x13_0
Definition: IMATH_TrackletCalculatorDisk.h:281
trklet::VarDef
Definition: imath.h:465
trklet::IMATH_TrackletCalculatorDisk::t_final
VarAdjustK t_final
Definition: IMATH_TrackletCalculatorDisk.h:203
trklet::IMATH_TrackletCalculatorDisk::z0_final_cut
VarCut z0_final_cut
Definition: IMATH_TrackletCalculatorDisk.h:332
trklet::IMATH_TrackletCalculatorDisk::phi2
VarDef phi2
Definition: IMATH_TrackletCalculatorDisk.h:149
trklet::IMATH_TrackletCalculatorDisk::a2a_max
const double a2a_max
Definition: IMATH_TrackletCalculatorDisk.h:118
trklet::IMATH_TrackletCalculatorDisk::x9_0
VarTimesC x9_0
Definition: IMATH_TrackletCalculatorDisk.h:312
trklet::IMATH_TrackletCalculatorDisk::x5_0
VarSubtract x5_0
Definition: IMATH_TrackletCalculatorDisk.h:277
trklet::IMATH_TrackletCalculatorDisk::phi0_cut
VarCut phi0_cut
Definition: IMATH_TrackletCalculatorDisk.h:347
testProducerWithPsetDescEmpty_cfi.i1
i1
Definition: testProducerWithPsetDescEmpty_cfi.py:45
trklet::IMATH_TrackletCalculatorDisk::x12_0
VarMult x12_0
Definition: IMATH_TrackletCalculatorDisk.h:217
trklet::Settings
Definition: Settings.h:31
trklet::IMATH_TrackletCalculatorDisk::x12A_1
VarNounits x12A_1
Definition: IMATH_TrackletCalculatorDisk.h:222
trklet::IMATH_TrackletCalculatorDisk::x13_max
const double x13_max
Definition: IMATH_TrackletCalculatorDisk.h:122
trklet::IMATH_TrackletCalculatorDisk::deltaZ_cut
VarCut deltaZ_cut
Definition: IMATH_TrackletCalculatorDisk.h:340
trklet::IMATH_TrackletCalculatorDisk::z0b
VarMult z0b
Definition: IMATH_TrackletCalculatorDisk.h:193
trklet::IMATH_TrackletCalculatorDisk::x26_2
VarMult x26_2
Definition: IMATH_TrackletCalculatorDisk.h:306
trklet::IMATH_TrackletCalculatorDisk::settings_
Settings const & settings_
Definition: IMATH_TrackletCalculatorDisk.h:109
trklet::IMATH_TrackletCalculatorDisk::phi1
VarDef phi1
Definition: IMATH_TrackletCalculatorDisk.h:148
trklet::IMATH_TrackletCalculatorDisk::x1_0
VarMult x1_0
Definition: IMATH_TrackletCalculatorDisk.h:209
trklet::IMATH_TrackletCalculatorDisk::rD_2_final
VarAdjustK rD_2_final
Definition: IMATH_TrackletCalculatorDisk.h:326
trklet::IMATH_TrackletCalculatorDisk::x25_2
VarMult x25_2
Definition: IMATH_TrackletCalculatorDisk.h:287
trklet::IMATH_TrackletCalculatorDisk::z1abs_cut
VarCut z1abs_cut
Definition: IMATH_TrackletCalculatorDisk.h:334
trklet::IMATH_TrackletCalculatorDisk::a2b
VarNounits a2b
Definition: IMATH_TrackletCalculatorDisk.h:178
trklet::VarBase::nbits
int nbits() const
Definition: imath.h:243
trklet::IMATH_TrackletCalculatorDisk::x25_0_cut
VarCut x25_0_cut
Definition: IMATH_TrackletCalculatorDisk.h:363
trklet::IMATH_TrackletCalculatorDisk
Definition: IMATH_TrackletCalculatorDisk.h:19
trklet::N_DISK
constexpr int N_DISK
Definition: Settings.h:20
trklet::IMATH_TrackletCalculatorDisk::rD_0_final
VarAdjustK rD_0_final
Definition: IMATH_TrackletCalculatorDisk.h:324
trklet::IMATH_TrackletCalculatorDisk::a2a
VarMult a2a
Definition: IMATH_TrackletCalculatorDisk.h:177
trklet::IMATH_TrackletCalculatorDisk::z2
VarDef z2
Definition: IMATH_TrackletCalculatorDisk.h:146
trklet::IMATH_TrackletCalculatorDisk::x26A_0
VarNounits x26A_0
Definition: IMATH_TrackletCalculatorDisk.h:308
trklet::Settings::dphisector
double dphisector() const
Definition: Settings.h:259
trklet::Settings::kphi1
double kphi1() const
Definition: Settings.h:268
trklet::IMATH_TrackletCalculatorDisk::x8_0
VarMult x8_0
Definition: IMATH_TrackletCalculatorDisk.h:213
trklet::IMATH_TrackletCalculatorDisk::x7
VarMult x7
Definition: IMATH_TrackletCalculatorDisk.h:275
trklet::IMATH_TrackletCalculatorDisk::der_phiD_cut
VarCut der_phiD_cut
Definition: IMATH_TrackletCalculatorDisk.h:369
trklet::IMATH_TrackletCalculatorDisk::valid_phiL_2
VarFlag valid_phiL_2
Definition: IMATH_TrackletCalculatorDisk.h:384
trklet::IMATH_TrackletCalculatorDisk::phi0_final
VarAdjustK phi0_final
Definition: IMATH_TrackletCalculatorDisk.h:202
trklet::Settings::PS_rderD_shift
int PS_rderD_shift() const
Definition: Settings.h:326
trklet::IMATH_TrackletCalculatorDisk::delta2
VarMult delta2
Definition: IMATH_TrackletCalculatorDisk.h:176
trklet::IMATH_TrackletCalculatorDisk::rD_0
VarMult rD_0
Definition: IMATH_TrackletCalculatorDisk.h:320
trklet::IMATH_TrackletCalculatorDisk::phi0a_cut
VarCut phi0a_cut
Definition: IMATH_TrackletCalculatorDisk.h:345
trklet::VarNounits
Definition: imath.h:686
trklet::VarSubtract
Definition: imath.h:598
trklet::IMATH_TrackletCalculatorDisk::r2
VarDef r2
Definition: IMATH_TrackletCalculatorDisk.h:144
trklet::IMATH_TrackletCalculatorDisk::x8_1_cut
VarCut x8_1_cut
Definition: IMATH_TrackletCalculatorDisk.h:352
trklet::IMATH_TrackletCalculatorDisk::x20_1
VarTimesC x20_1
Definition: IMATH_TrackletCalculatorDisk.h:226
trklet::IMATH_TrackletCalculatorDisk::phiD_2
VarAdd phiD_2
Definition: IMATH_TrackletCalculatorDisk.h:291
trklet::IMATH_TrackletCalculatorDisk::phiD_1
VarAdd phiD_1
Definition: IMATH_TrackletCalculatorDisk.h:290
trklet::IMATH_TrackletCalculatorDisk::x25_2_cut
VarCut x25_2_cut
Definition: IMATH_TrackletCalculatorDisk.h:365
trklet::IMATH_TrackletCalculatorDisk::plus2
VarParam plus2
Definition: IMATH_TrackletCalculatorDisk.h:135
trklet::IMATH_TrackletCalculatorDisk::x8_2_cut
VarCut x8_2_cut
Definition: IMATH_TrackletCalculatorDisk.h:353
trklet::IMATH_TrackletCalculatorDisk::x6b
VarNounits x6b
Definition: IMATH_TrackletCalculatorDisk.h:188
trklet::IMATH_TrackletCalculatorDisk::x5_1
VarSubtract x5_1
Definition: IMATH_TrackletCalculatorDisk.h:278
trklet::IMATH_TrackletCalculatorDisk::x11_0
VarMult x11_0
Definition: IMATH_TrackletCalculatorDisk.h:253
trklet::IMATH_TrackletCalculatorDisk::x13_0_cut
VarCut x13_0_cut
Definition: IMATH_TrackletCalculatorDisk.h:360
trklet::IMATH_TrackletCalculatorDisk::der_rD_final
VarAdjustK der_rD_final
Definition: IMATH_TrackletCalculatorDisk.h:328
trklet::IMATH_TrackletCalculatorDisk::x6m_cut
VarCut x6m_cut
Definition: IMATH_TrackletCalculatorDisk.h:344
alignCSCRings.s
s
Definition: alignCSCRings.py:92
trklet::IMATH_TrackletCalculatorDisk::zL_1_final
VarAdjustK zL_1_final
Definition: IMATH_TrackletCalculatorDisk.h:266
trklet::IMATH_TrackletCalculatorDisk::zL_0
VarAdd zL_0
Definition: IMATH_TrackletCalculatorDisk.h:261
trklet::IMATH_TrackletCalculatorDisk::valid_zL_0
VarFlag valid_zL_0
Definition: IMATH_TrackletCalculatorDisk.h:386
trklet::IMATH_TrackletCalculatorDisk::phiD_1_cut
VarCut phiD_1_cut
Definition: IMATH_TrackletCalculatorDisk.h:367
trklet::Settings::z0_shift
int z0_shift() const
Definition: Settings.h:309
trklet::IMATH_TrackletCalculatorDisk::x23_1
VarMult x23_1
Definition: IMATH_TrackletCalculatorDisk.h:258
trklet::IMATH_TrackletCalculatorDisk::phiD_0
VarAdd phiD_0
Definition: IMATH_TrackletCalculatorDisk.h:289
trklet::IMATH_TrackletCalculatorDisk::rD_1_cut
VarCut rD_1_cut
Definition: IMATH_TrackletCalculatorDisk.h:371
trklet::IMATH_TrackletCalculatorDisk::x23_1_cut
VarCut x23_1_cut
Definition: IMATH_TrackletCalculatorDisk.h:358
trklet::IMATH_TrackletCalculatorDisk::x1_1
VarMult x1_1
Definition: IMATH_TrackletCalculatorDisk.h:210
trklet::IMATH_TrackletCalculatorDisk::zproj1
VarDef zproj1
Definition: IMATH_TrackletCalculatorDisk.h:156
trklet::IMATH_TrackletCalculatorDisk::x23_0
VarMult x23_0
Definition: IMATH_TrackletCalculatorDisk.h:257
trklet::IMATH_TrackletCalculatorDisk::delta0
VarMult delta0
Definition: IMATH_TrackletCalculatorDisk.h:173
trklet::IMATH_TrackletCalculatorDisk::zproj2
VarDef zproj2
Definition: IMATH_TrackletCalculatorDisk.h:157
trklet::IMATH_TrackletCalculatorDisk::x6a
VarMult x6a
Definition: IMATH_TrackletCalculatorDisk.h:187
trklet::IMATH_TrackletCalculatorDisk::t_disk_min
const double t_disk_min
Definition: IMATH_TrackletCalculatorDisk.h:128
trklet::IMATH_TrackletCalculatorDisk::rinv
VarMult rinv
Definition: IMATH_TrackletCalculatorDisk.h:196
trklet::N_LAYER
constexpr int N_LAYER
Definition: Settings.h:19
trklet::IMATH_TrackletCalculatorDisk::x6m_max
const double x6m_max
Definition: IMATH_TrackletCalculatorDisk.h:120
trklet::IMATH_TrackletCalculatorDisk::x22_1
VarMult x22_1
Definition: IMATH_TrackletCalculatorDisk.h:234
trklet::IMATH_TrackletCalculatorDisk::x27_0
VarSubtract x27_0
Definition: IMATH_TrackletCalculatorDisk.h:316
trklet::Settings::zmean
double zmean(unsigned int iDisk) const
Definition: Settings.h:146
trklet::IMATH_TrackletCalculatorDisk::x22_1_cut
VarCut x22_1_cut
Definition: IMATH_TrackletCalculatorDisk.h:355
trklet::IMATH_TrackletCalculatorDisk::zL_2_final
VarAdjustK zL_2_final
Definition: IMATH_TrackletCalculatorDisk.h:267
trklet::IMATH_TrackletCalculatorDisk::phiD_2_final
VarAdjustK phiD_2_final
Definition: IMATH_TrackletCalculatorDisk.h:295
trklet::IMATH_TrackletCalculatorDisk::x23_0_cut
VarCut x23_0_cut
Definition: IMATH_TrackletCalculatorDisk.h:357
trklet::IMATH_TrackletCalculatorDisk::valid_der_zL
VarFlag valid_der_zL
Definition: IMATH_TrackletCalculatorDisk.h:391
trklet::IMATH_TrackletCalculatorDisk::valid_der_rD
VarFlag valid_der_rD
Definition: IMATH_TrackletCalculatorDisk.h:402
trklet::IMATH_TrackletCalculatorDisk::x12A_0
VarNounits x12A_0
Definition: IMATH_TrackletCalculatorDisk.h:221
trklet::IMATH_TrackletCalculatorDisk::phiD_0_final
VarAdjustK phiD_0_final
Definition: IMATH_TrackletCalculatorDisk.h:293
trklet::IMATH_TrackletCalculatorDisk::rinv_final_cut
VarCut rinv_final_cut
Definition: IMATH_TrackletCalculatorDisk.h:331
trklet::IMATH_TrackletCalculatorDisk::der_zL_final
VarAdjustK der_zL_final
Definition: IMATH_TrackletCalculatorDisk.h:269
trklet::IMATH_TrackletCalculatorDisk::x6a_cut
VarCut x6a_cut
Definition: IMATH_TrackletCalculatorDisk.h:343
trklet::IMATH_TrackletCalculatorDisk::valid_phiL_0
VarFlag valid_phiL_0
Definition: IMATH_TrackletCalculatorDisk.h:382
trklet::Settings::phi0_shift
int phi0_shift() const
Definition: Settings.h:307
trklet::Settings::SS_phiderD_shift
int SS_phiderD_shift() const
Definition: Settings.h:325
trklet::IMATH_TrackletCalculatorDisk::t_cut
VarCut t_cut
Definition: IMATH_TrackletCalculatorDisk.h:349
trklet::VarFlag
Definition: imath.h:1095
trklet::IMATH_TrackletCalculatorDisk::IMATH_TrackletCalculatorDisk
IMATH_TrackletCalculatorDisk(Settings const &settings, imathGlobals *globals, int i1, int i2)
Definition: IMATH_TrackletCalculatorDisk.h:21
trklet::IMATH_TrackletCalculatorDisk::a2_max
const double a2_max
Definition: IMATH_TrackletCalculatorDisk.h:117
trklet::IMATH_TrackletCalculatorDisk::dphi_cut
VarCut dphi_cut
Definition: IMATH_TrackletCalculatorDisk.h:337
trklet::IMATH_TrackletCalculatorDisk::t
VarMult t
Definition: IMATH_TrackletCalculatorDisk.h:197
trklet::IMATH_TrackletCalculatorDisk::a2a_cut
VarCut a2a_cut
Definition: IMATH_TrackletCalculatorDisk.h:341
trklet::IMATH_TrackletCalculatorDisk::x8_max
const double x8_max
Definition: IMATH_TrackletCalculatorDisk.h:121
trklet::Settings::kr
double kr() const
Definition: Settings.h:271
trklet::IMATH_TrackletCalculatorDisk::x10_2
VarAdd x10_2
Definition: IMATH_TrackletCalculatorDisk.h:231
trklet::IMATH_TrackletCalculatorDisk::valid_rD_0
VarFlag valid_rD_0
Definition: IMATH_TrackletCalculatorDisk.h:397
trklet::IMATH_TrackletCalculatorDisk::x2
VarShift x2
Definition: IMATH_TrackletCalculatorDisk.h:207
trklet::Settings::rmaxdisk
double rmaxdisk() const
Definition: Settings.h:112
trklet::IMATH_TrackletCalculatorDisk::z2mean
VarParam z2mean
Definition: IMATH_TrackletCalculatorDisk.h:140
trklet::IMATH_TrackletCalculatorDisk::phiD_2_cut
VarCut phiD_2_cut
Definition: IMATH_TrackletCalculatorDisk.h:368
trklet::VarInv::initLUT
void initLUT(double offset)
Definition: imath.cc:142
trklet::IMATH_TrackletCalculatorDisk::x13_2_cut
VarCut x13_2_cut
Definition: IMATH_TrackletCalculatorDisk.h:362
trklet::IMATH_TrackletCalculatorDisk::x22_2
VarMult x22_2
Definition: IMATH_TrackletCalculatorDisk.h:235
trklet::IMATH_TrackletCalculatorDisk::x3
VarShift x3
Definition: IMATH_TrackletCalculatorDisk.h:241
trklet::IMATH_TrackletCalculatorDisk::x27_1
VarSubtract x27_1
Definition: IMATH_TrackletCalculatorDisk.h:317
trklet::IMATH_TrackletCalculatorDisk::valid_zL_2
VarFlag valid_zL_2
Definition: IMATH_TrackletCalculatorDisk.h:388
trklet::IMATH_TrackletCalculatorDisk::t_disk_max
const double t_disk_max
Definition: IMATH_TrackletCalculatorDisk.h:129
trklet::IMATH_TrackletCalculatorDisk::rproj0
VarDef rproj0
Definition: IMATH_TrackletCalculatorDisk.h:151
trklet::IMATH_TrackletCalculatorDisk::x11_1
VarMult x11_1
Definition: IMATH_TrackletCalculatorDisk.h:254
trklet::IMATH_TrackletCalculatorDisk::dr
VarSubtract dr
Definition: IMATH_TrackletCalculatorDisk.h:165
trklet::IMATH_TrackletCalculatorDisk::z0_final
VarAdjustK z0_final
Definition: IMATH_TrackletCalculatorDisk.h:204
trklet::IMATH_TrackletCalculatorDisk::phiD_1_final
VarAdjustK phiD_1_final
Definition: IMATH_TrackletCalculatorDisk.h:294
trklet::Settings::rmax
double rmax(unsigned int iLayer) const
Definition: Settings.h:144
trklet::IMATH_TrackletCalculatorDisk::valid_phiD_0
VarFlag valid_phiD_0
Definition: IMATH_TrackletCalculatorDisk.h:393
trklet::IMATH_TrackletCalculatorDisk::deltaZ
VarMult deltaZ
Definition: IMATH_TrackletCalculatorDisk.h:174
trklet::IMATH_TrackletCalculatorDisk::rD_1_final
VarAdjustK rD_1_final
Definition: IMATH_TrackletCalculatorDisk.h:325
trklet::IMATH_TrackletCalculatorDisk::Rabs
VarAdd Rabs
Definition: IMATH_TrackletCalculatorDisk.h:183
trklet::Settings::SS_phiderL_shift
int SS_phiderL_shift() const
Definition: Settings.h:317
trklet::IMATH_TrackletCalculatorDisk::phi0a
VarMult phi0a
Definition: IMATH_TrackletCalculatorDisk.h:190
trklet::VarParam::set_fval
void set_fval(double fval)
Definition: imath.h:448
trklet::IMATH_TrackletCalculatorDisk::rD_2
VarMult rD_2
Definition: IMATH_TrackletCalculatorDisk.h:322
trklet::IMATH_TrackletCalculatorDisk::a
VarShift a
Definition: IMATH_TrackletCalculatorDisk.h:181
trklet::IMATH_TrackletCalculatorDisk::delta0_max
const double delta0_max
Definition: IMATH_TrackletCalculatorDisk.h:116
trklet::VarFlag::add_cut
void add_cut(VarBase *cut, const bool call_set_parent_flag=true)
Definition: imath.cc:373
trklet::IMATH_TrackletCalculatorDisk::rinv_final
VarAdjustK rinv_final
Definition: IMATH_TrackletCalculatorDisk.h:200
trklet::IMATH_TrackletCalculatorDisk::valid_rD_1
VarFlag valid_rD_1
Definition: IMATH_TrackletCalculatorDisk.h:398
trklet::IMATH_TrackletCalculatorDisk::x8_0_cut
VarCut x8_0_cut
Definition: IMATH_TrackletCalculatorDisk.h:351
trklet::IMATH_TrackletCalculatorDisk::x12_2
VarMult x12_2
Definition: IMATH_TrackletCalculatorDisk.h:219
trklet::IMATH_TrackletCalculatorDisk::r1
VarDef r1
Definition: IMATH_TrackletCalculatorDisk.h:143
trklet::IMATH_TrackletCalculatorDisk::~IMATH_TrackletCalculatorDisk
~IMATH_TrackletCalculatorDisk()=default
trklet::Settings::t_shift
int t_shift() const
Definition: Settings.h:308
trklet::VarTimesC
Definition: imath.h:769
trklet::IMATH_TrackletCalculatorDisk::x23_2_cut
VarCut x23_2_cut
Definition: IMATH_TrackletCalculatorDisk.h:359
trklet::IMATH_TrackletCalculatorDisk::valid_rD_2
VarFlag valid_rD_2
Definition: IMATH_TrackletCalculatorDisk.h:399
trklet::VarInv
Definition: imath.h:955
trklet::IMATH_TrackletCalculatorDisk::R6
VarTimesC R6
Definition: IMATH_TrackletCalculatorDisk.h:184
trklet::VarNeg
Definition: imath.h:755
trklet::IMATH_TrackletCalculatorDisk::phiL_2
VarSubtract phiL_2
Definition: IMATH_TrackletCalculatorDisk.h:239
trklet::IMATH_TrackletCalculatorDisk::minus1
VarParam minus1
Definition: IMATH_TrackletCalculatorDisk.h:137
trklet::IMATH_TrackletCalculatorDisk::x22_max
const double x22_max
Definition: IMATH_TrackletCalculatorDisk.h:123
trklet::IMATH_TrackletCalculatorDisk::x26_0
VarMult x26_0
Definition: IMATH_TrackletCalculatorDisk.h:304
trklet::IMATH_TrackletCalculatorDisk::x26A_1
VarNounits x26A_1
Definition: IMATH_TrackletCalculatorDisk.h:309
trklet::IMATH_TrackletCalculatorDisk::der_phiL_final
VarAdjustK der_phiL_final
Definition: IMATH_TrackletCalculatorDisk.h:248
trklet::VarAdjustK
Definition: imath.h:335
trklet::IMATH_TrackletCalculatorDisk::x26_1
VarMult x26_1
Definition: IMATH_TrackletCalculatorDisk.h:305
trklet::IMATH_TrackletCalculatorDisk::rproj2
VarDef rproj2
Definition: IMATH_TrackletCalculatorDisk.h:153
trklet::IMATH_TrackletCalculatorDisk::z0
VarAdd z0
Definition: IMATH_TrackletCalculatorDisk.h:198
trklet
Definition: AllProjectionsMemory.h:9
trklet::IMATH_TrackletCalculatorDisk::x12_1
VarMult x12_1
Definition: IMATH_TrackletCalculatorDisk.h:218
trklet::IMATH_TrackletCalculatorDisk::dr_cut
VarCut dr_cut
Definition: IMATH_TrackletCalculatorDisk.h:336
trklet::IMATH_TrackletCalculatorDisk::phi0
VarAdd phi0
Definition: IMATH_TrackletCalculatorDisk.h:195
trklet::IMATH_TrackletCalculatorDisk::x11_2
VarMult x11_2
Definition: IMATH_TrackletCalculatorDisk.h:255
trklet::IMATH_TrackletCalculatorDisk::x5_2
VarSubtract x5_2
Definition: IMATH_TrackletCalculatorDisk.h:279
trklet::IMATH_TrackletCalculatorDisk::z1
VarDef z1
Definition: IMATH_TrackletCalculatorDisk.h:145
trklet::IMATH_TrackletCalculatorDisk::t_layer_cut
VarCut t_layer_cut
Definition: IMATH_TrackletCalculatorDisk.h:376
trklet::VarParam
Definition: imath.h:415
trklet::IMATH_TrackletCalculatorDisk::a2_cut
VarCut a2_cut
Definition: IMATH_TrackletCalculatorDisk.h:342
trklet::IMATH_TrackletCalculatorDisk::z2abs_cut
VarCut z2abs_cut
Definition: IMATH_TrackletCalculatorDisk.h:335
trklet::IMATH_TrackletCalculatorDisk::a2n
VarNeg a2n
Definition: IMATH_TrackletCalculatorDisk.h:180
trklet::Settings::rinvcut
double rinvcut() const
Definition: Settings.h:187
trklet::IMATH_TrackletCalculatorDisk::dz_cut
VarCut dz_cut
Definition: IMATH_TrackletCalculatorDisk.h:338
trklet::IMATH_TrackletCalculatorDisk::phiL_0_final
VarAdjustK phiL_0_final
Definition: IMATH_TrackletCalculatorDisk.h:244
trklet::IMATH_TrackletCalculatorDisk::x25_1
VarMult x25_1
Definition: IMATH_TrackletCalculatorDisk.h:286
trklet::IMATH_TrackletCalculatorDisk::z0_cut
VarCut z0_cut
Definition: IMATH_TrackletCalculatorDisk.h:350
trklet::Settings::SS_phiD_shift
int SS_phiD_shift() const
Definition: Settings.h:322
trklet::IMATH_TrackletCalculatorDisk::x6m
VarAdd x6m
Definition: IMATH_TrackletCalculatorDisk.h:189
trklet::VarShift
Definition: imath.h:735
trklet::IMATH_TrackletCalculatorDisk::x20_2
VarTimesC x20_2
Definition: IMATH_TrackletCalculatorDisk.h:227
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
trklet::IMATH_TrackletCalculatorDisk::x10_1
VarAdd x10_1
Definition: IMATH_TrackletCalculatorDisk.h:230
imath.h
trklet::Settings::kz
double kz() const
Definition: Settings.h:270
trklet::IMATH_TrackletCalculatorDisk::x13_1
VarMult x13_1
Definition: IMATH_TrackletCalculatorDisk.h:282
trklet::IMATH_TrackletCalculatorDisk::x22_2_cut
VarCut x22_2_cut
Definition: IMATH_TrackletCalculatorDisk.h:356
trklet::IMATH_TrackletCalculatorDisk::dphi
VarSubtract dphi
Definition: IMATH_TrackletCalculatorDisk.h:170
trklet::Settings::debugTracklet
bool debugTracklet() const
Definition: Settings.h:161
trklet::IMATH_TrackletCalculatorDisk::x8_2
VarMult x8_2
Definition: IMATH_TrackletCalculatorDisk.h:215
trklet::IMATH_TrackletCalculatorDisk::valid_zL_1
VarFlag valid_zL_1
Definition: IMATH_TrackletCalculatorDisk.h:387
trklet::IMATH_TrackletCalculatorDisk::x8_1
VarMult x8_1
Definition: IMATH_TrackletCalculatorDisk.h:214
trklet::IMATH_TrackletCalculatorDisk::z0a_cut
VarCut z0a_cut
Definition: IMATH_TrackletCalculatorDisk.h:346
trklet::IMATH_TrackletCalculatorDisk::z0a_max
const double z0a_max
Definition: IMATH_TrackletCalculatorDisk.h:132
trklet::IMATH_TrackletCalculatorDisk::der_phiD_max
const double der_phiD_max
Definition: IMATH_TrackletCalculatorDisk.h:126
trklet::IMATH_TrackletCalculatorDisk::dz_max
const double dz_max
Definition: IMATH_TrackletCalculatorDisk.h:114
trklet::IMATH_TrackletCalculatorDisk::drinv
VarInv drinv
Definition: IMATH_TrackletCalculatorDisk.h:168
trklet::IMATH_TrackletCalculatorDisk::x13_2
VarMult x13_2
Definition: IMATH_TrackletCalculatorDisk.h:283
trklet::Settings::PS_zderL_shift
int PS_zderL_shift() const
Definition: Settings.h:318
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
trklet::IMATH_TrackletCalculatorDisk::z0_max
const double z0_max
Definition: IMATH_TrackletCalculatorDisk.h:131
trklet::Settings::zmax
double zmax(unsigned int iDisk) const
Definition: Settings.h:147
trklet::Settings::PS_rD_shift
int PS_rD_shift() const
Definition: Settings.h:323
trklet::Settings::z0cut
double z0cut() const
Definition: Settings.h:290
trklet::Settings::PS_zL_shift
int PS_zL_shift() const
Definition: Settings.h:315
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
trklet::IMATH_TrackletCalculatorDisk::x22_0_cut
VarCut x22_0_cut
Definition: IMATH_TrackletCalculatorDisk.h:354
trklet::IMATH_TrackletCalculatorDisk::zL_2
VarAdd zL_2
Definition: IMATH_TrackletCalculatorDisk.h:263
trklet::IMATH_TrackletCalculatorDisk::t_layer_max
const double t_layer_max
Definition: IMATH_TrackletCalculatorDisk.h:130
trklet::IMATH_TrackletCalculatorDisk::z2abs
VarAdd z2abs
Definition: IMATH_TrackletCalculatorDisk.h:163
trklet::IMATH_TrackletCalculatorDisk::rD_0_cut
VarCut rD_0_cut
Definition: IMATH_TrackletCalculatorDisk.h:370
trklet::IMATH_TrackletCalculatorDisk::phiL_1
VarSubtract phiL_1
Definition: IMATH_TrackletCalculatorDisk.h:238
trklet::IMATH_TrackletCalculatorDisk::x25_0
VarMult x25_0
Definition: IMATH_TrackletCalculatorDisk.h:285
trklet::IMATH_TrackletCalculatorDisk::valid_phiD_1
VarFlag valid_phiD_1
Definition: IMATH_TrackletCalculatorDisk.h:394
trklet::IMATH_TrackletCalculatorDisk::t_max
const double t_max
Definition: IMATH_TrackletCalculatorDisk.h:127
trklet::IMATH_TrackletCalculatorDisk::x22_0
VarMult x22_0
Definition: IMATH_TrackletCalculatorDisk.h:233
trklet::IMATH_TrackletCalculatorDisk::x23_2
VarMult x23_2
Definition: IMATH_TrackletCalculatorDisk.h:259
trklet::IMATH_TrackletCalculatorDisk::der_phiL
VarNeg der_phiL
Definition: IMATH_TrackletCalculatorDisk.h:242
trklet::IMATH_TrackletCalculatorDisk::rproj1
VarDef rproj1
Definition: IMATH_TrackletCalculatorDisk.h:152
trklet::IMATH_TrackletCalculatorDisk::globals_
imathGlobals * globals_
Definition: IMATH_TrackletCalculatorDisk.h:111
trklet::IMATH_TrackletCalculatorDisk::phiL_0
VarSubtract phiL_0
Definition: IMATH_TrackletCalculatorDisk.h:237
trklet::VarInv::set_mode
void set_mode(mode m)
Definition: imath.h:999
trklet::IMATH_TrackletCalculatorDisk::phiL_1_final
VarAdjustK phiL_1_final
Definition: IMATH_TrackletCalculatorDisk.h:245
trklet::IMATH_TrackletCalculatorDisk::rD_1
VarMult rD_1
Definition: IMATH_TrackletCalculatorDisk.h:321
trklet::VarCut
Definition: imath.h:1054
trklet::IMATH_TrackletCalculatorDisk::invt
VarInv invt
Definition: IMATH_TrackletCalculatorDisk.h:273
trklet::IMATH_TrackletCalculatorDisk::t_disk_cut_right
VarCut t_disk_cut_right
Definition: IMATH_TrackletCalculatorDisk.h:375
trklet::IMATH_TrackletCalculatorDisk::t_disk_cut_left
VarCut t_disk_cut_left
Definition: IMATH_TrackletCalculatorDisk.h:374
trklet::IMATH_TrackletCalculatorDisk::valid_trackpar
VarFlag valid_trackpar
Definition: IMATH_TrackletCalculatorDisk.h:380
trklet::IMATH_TrackletCalculatorDisk::x6a_max
const double x6a_max
Definition: IMATH_TrackletCalculatorDisk.h:119
trklet::IMATH_TrackletCalculatorDisk::x4
VarMult x4
Definition: IMATH_TrackletCalculatorDisk.h:186
trklet::IMATH_TrackletCalculatorDisk::valid_der_phiL
VarFlag valid_der_phiL
Definition: IMATH_TrackletCalculatorDisk.h:390
trklet::IMATH_TrackletCalculatorDisk::x25_1_cut
VarCut x25_1_cut
Definition: IMATH_TrackletCalculatorDisk.h:364
trklet::Settings::rinv_shift
int rinv_shift() const
Definition: Settings.h:306
trklet::imathGlobals
Definition: imath.h:148
trklet::IMATH_TrackletCalculatorDisk::phiL_2_final
VarAdjustK phiL_2_final
Definition: IMATH_TrackletCalculatorDisk.h:246
trklet::Settings::zlength
double zlength() const
Definition: Settings.h:111
trklet::IMATH_TrackletCalculatorDisk::x20_0
VarTimesC x20_0
Definition: IMATH_TrackletCalculatorDisk.h:225