35 StatusCode
sc = AlgTool::initialize();
36 if (
sc.isFailure())
return sc;
40 return StatusCode::FAILURE;
48 return StatusCode::FAILURE;
55 return StatusCode::SUCCESS;
62 return AlgTool::finalize();
67 data.seedSegmentsCollection() = std::make_unique<TrackCollection>();
71 data.trackInfo() = info;
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 <<
"|---------------------------------------------------------------------|"
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
char data[hepevt_bytes_allocation_ATLAS]
Handle class for recording to StoreGate.
InDet::SeedToTrackConversionData holds event dependent data used in InDet::SeedToTrackConversionTool.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Class describing the Line to which the Perigee refers to.
Abstract Base Class for tracking surfaces.
Contains information about the 'fitter' of this track.
@ xKalman
tracks produced by xKalman
@ Unknown
Track fitter not defined.
@ SiSpacePointsSeedMaker_ForwardTracks
Entries allowing to distinguish different seed makers.
represents the track state (measurement, material, fit parameters and quality) at a surface.
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
@ Perigee
This represents a perigee, and so will contain a Perigee object only.
ParametersBase< TrackParametersDim, Charged > TrackParameters