36 if (
sc.isFailure())
return sc;
40 return StatusCode::FAILURE;
48 return StatusCode::FAILURE;
55 return StatusCode::SUCCESS;
67 data.seedSegmentsCollection() = std::make_unique<TrackCollection>();
72 data.patternName() = patternName;
73 if (
static_cast<int>(
data.patternName().find(
"Forward"))>-1) {
90 if (seedsegmentsOutput.record(std::move(
data.seedSegmentsCollection())).isFailure()) {
91 ATH_MSG_ERROR(
"Could not save converted SiSPSeedSegments tracks");
98 const std::vector<const Trk::SpacePoint*>& Sp)
const
100 const EventContext& ctx = Gaudi::Hive::currentContext();
103 std::vector<const Trk::PrepRawData*> prdsInSp;
105 const std::pair<const Trk::PrepRawData*, const Trk::PrepRawData*>& prds =
s->clusterList();
106 if (prds.first) prdsInSp.push_back(prds.first);
107 if (prds.second && prds.first != prds.second) prdsInSp.push_back(prds.second);
111 std::unique_ptr<Trk::TrackParameters> prevpar(Tp->
uniqueClone());
113 std::bitset<Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes> typePattern;
116 auto traj = std::make_unique<Trk::TrackStates>();
117 traj->push_back(pertsos);
119 const Trk::Surface& surf = prd->detectorElement()->surface(prd->identify());
122 std::bitset<Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes> typePattern;
124 std::unique_ptr<Trk::RIO_OnTrack> rot(
m_rotcreator->correct(*prd, *thispar, ctx));
127 traj->push_back(tsos);
128 prevpar = std::move(thispar);
139 if (
t)
data.seedSegmentsCollection()->push_back(
t);
159 out <<
"|----------------------------------------------------------------------"
160 <<
"-------------------|"
163 out <<
"} Name of pattern recognition | " <<
data.patternName() << std::endl;
164 out <<
"|----------------------------------------------------------------------"
165 <<
"-------------------|"
175 out <<
"|---------------------------------------------------------------------|"
177 out <<
"| Name of SeedFinder | " <<
data.patternName()
178 <<
" | " << std::endl;
179 out <<
"| Number of All seeds | " << std::setw(12) <<
m_totseed
180 <<
" | " << std::endl;
181 out <<
"| Number of survived seeds | " << std::setw(12) <<
m_survived
182 <<
" | " << std::endl;
183 out <<
"|---------------------------------------------------------------------|"