69 theTrackerGeometry = tGeometryHandle.
product();
75 if (!Phase2TrackerDigiTTStubHandle.
isValid())
78 for (inputIter = Phase2TrackerDigiTTStubHandle->begin(); inputIter != Phase2TrackerDigiTTStubHandle->end();
80 for (contentIter = inputIter->
begin(); contentIter != inputIter->
end(); ++contentIter) {
87 DetId detIdStub = theTrackerGeometry->
idToDet((tempStubRef->clusterRef(0))->getDetId())->geographicalId();
90 double displStub = tempStubRef->rawBend();
91 double offsetStub = tempStubRef->bendOffset();
94 MeasurementPoint mp = (tempStubRef->clusterRef(0))->findAverageLocalCoordinates();
95 const GeomDet *theGeomDet = theTrackerGeometry->
idToDet(detIdStub);
118 if (posStub.
z() > 0) {
141 const int numDiscs = 5;
284 for (
int i = 0;
i < numDiscs;
i++) {
285 HistoName =
"NStubs_Disc+" + std::to_string(
i + 1);
296 for (
int i = 0;
i < numDiscs;
i++) {
297 HistoName =
"NStubs_Disc-" + std::to_string(
i + 1);
329 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsx"),
330 psTTStub_ECDisc_2D.getParameter<
double>(
"xmin"),
331 psTTStub_ECDisc_2D.getParameter<
double>(
"xmax"),
332 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsy"),
333 psTTStub_ECDisc_2D.getParameter<
double>(
"ymin"),
334 psTTStub_ECDisc_2D.getParameter<
double>(
"ymax"));
341 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
342 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
343 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
344 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
345 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
346 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
350 for (
int i = 0;
i < numDiscs;
i++) {
351 HistoName =
"Stub_Width_Disc+" + std::to_string(
i + 1);
354 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
355 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
356 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
357 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
358 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
359 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
364 for (
int i = 0;
i < numDiscs;
i++) {
365 HistoName =
"Stub_Width_Disc-" + std::to_string(
i + 1);
368 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
369 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
370 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
371 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
372 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
373 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
394 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsx"),
395 psTTStub_ECDisc_2D.getParameter<
double>(
"xmin"),
396 psTTStub_ECDisc_2D.getParameter<
double>(
"xmax"),
397 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsy"),
398 psTTStub_ECDisc_2D.getParameter<
double>(
"ymin"),
399 psTTStub_ECDisc_2D.getParameter<
double>(
"ymax"));
406 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
407 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
408 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
409 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
410 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
411 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
415 for (
int i = 0;
i < numDiscs;
i++) {
416 HistoName =
"Stub_Offset_Disc+" + std::to_string(
i + 1);
419 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
420 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
421 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
422 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
423 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
424 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
429 for (
int i = 0;
i < numDiscs;
i++) {
430 HistoName =
"Stub_Offset_Disc-" + std::to_string(
i + 1);
433 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
434 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
435 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
436 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
437 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
438 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));