45 outputTrackTag_(iConfig.getParameter<
std::
string>(
"outputTrackTag")) {
55 ->setComment(
"tag of the input CTPPSLocalTrackLiteCollection");
59 desc.add<
std::string>(
"outputTrackTag",
"")->setComment(
"tag of the output CTPPSLocalTrackLiteCollection");
61 descr.
add(
"ppsLocalTrackLiteReAligner",
desc);
71 auto output = std::make_unique<CTPPSLocalTrackLiteCollection>();
76 auto it =
alignment.getRPMap().find(tr.rpId());
78 edm::LogError(
"PPS") <<
"Cannot find alignment correction for RP " << tr.rpId() <<
". The track will be skipped.";
80 output->emplace_back(tr.rpId(),
81 tr.x() + it->second.getShX(),
83 tr.y() + it->second.getShY(),
89 tr.chiSquaredOverNDF(),
90 tr.pixelTrackRecoInfo(),
91 tr.numberOfPointsUsedForFit(),