90 nullptr,
nullptr,
nullptr,
nullptr,
nullptr};
93 nullptr,
nullptr,
nullptr,
nullptr,
nullptr};
132 theTrackerGeometry = tGeometryHandle.
product();
138 if (!Phase2TrackerDigiTTStubHandle.
isValid())
141 for (inputIter = Phase2TrackerDigiTTStubHandle->begin(); inputIter != Phase2TrackerDigiTTStubHandle->end();
143 for (contentIter = inputIter->
begin(); contentIter != inputIter->
end(); ++contentIter) {
150 DetId detIdStub = theTrackerGeometry->
idToDet((tempStubRef->clusterRef(0))->getDetId())->geographicalId();
153 double rawBend = tempStubRef->rawBend();
154 double bendOffset = tempStubRef->bendOffset();
157 MeasurementPoint mp = (tempStubRef->clusterRef(0))->findAverageLocalCoordinates();
158 const GeomDet *theGeomDet = theTrackerGeometry->
idToDet(detIdStub);
186 if (posStub.
z() > 0) {
209 const int numDiscs = 5;
404 for (
int i = 0;
i < numDiscs;
i++) {
405 HistoName =
"NStubs_Disc+" + std::to_string(
i + 1);
416 for (
int i = 0;
i < numDiscs;
i++) {
417 HistoName =
"NStubs_Disc-" + std::to_string(
i + 1);
449 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsx"),
450 psTTStub_ECDisc_2D.getParameter<
double>(
"xmin"),
451 psTTStub_ECDisc_2D.getParameter<
double>(
"xmax"),
452 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsy"),
453 psTTStub_ECDisc_2D.getParameter<
double>(
"ymin"),
454 psTTStub_ECDisc_2D.getParameter<
double>(
"ymax"));
461 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
462 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
463 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
464 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
465 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
466 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
470 for (
int i = 0;
i < numDiscs;
i++) {
471 HistoName =
"Stub_Width_Disc+" + std::to_string(
i + 1);
474 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
475 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
476 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
477 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
478 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
479 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
484 for (
int i = 0;
i < numDiscs;
i++) {
485 HistoName =
"Stub_Width_Disc-" + std::to_string(
i + 1);
488 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
489 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
490 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
491 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
492 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
493 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
514 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsx"),
515 psTTStub_ECDisc_2D.getParameter<
double>(
"xmin"),
516 psTTStub_ECDisc_2D.getParameter<
double>(
"xmax"),
517 psTTStub_ECDisc_2D.getParameter<int32_t>(
"Nbinsy"),
518 psTTStub_ECDisc_2D.getParameter<
double>(
"ymin"),
519 psTTStub_ECDisc_2D.getParameter<
double>(
"ymax"));
526 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
527 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
528 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
529 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
530 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
531 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
535 for (
int i = 0;
i < numDiscs;
i++) {
536 HistoName =
"Stub_Offset_Disc+" + std::to_string(
i + 1);
539 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
540 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
541 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
542 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
543 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
544 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));
549 for (
int i = 0;
i < numDiscs;
i++) {
550 HistoName =
"Stub_Offset_Disc-" + std::to_string(
i + 1);
553 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsx"),
554 psTTStub_ECRing_2D.getParameter<
double>(
"xmin"),
555 psTTStub_ECRing_2D.getParameter<
double>(
"xmax"),
556 psTTStub_ECRing_2D.getParameter<int32_t>(
"Nbinsy"),
557 psTTStub_ECRing_2D.getParameter<
double>(
"ymin"),
558 psTTStub_ECRing_2D.getParameter<
double>(
"ymax"));