◆ createTrack()
Definition at line 27 of file TrackHandle_TrackParticle.cxx.
28 {
29 if (!trackStateOnSurfaces) {
30 VP1Msg::messageDebug(
"TrackHandle_TrackParticle WARNING: Could not create track due to null TSOS vector");
31 return nullptr;
32 }
33 if (trackStateOnSurfaces->
empty()) {
34 VP1Msg::messageDebug(
"TrackHandle_TrackParticle WARNING: Could not create track due to empty TSOS vector");
35 delete trackStateOnSurfaces;
36 return nullptr;
37 }
39 std::unique_ptr<Trk::TrackStates> sink(trackStateOnSurfaces);
40 const Trk::Track* trk =
41 new Trk::Track(ti,
42 std::move(sink),
43 nullptr );
46 +QString::number(trackStateOnSurfaces->
size())+
" parameters");
47 return trk;
48 }
size_type size() const noexcept
Returns the number of elements in the collection.
bool empty() const noexcept
Returns true if the collection is empty.
TrackHandle_TrackParticle * theclass
@ Unknown
Track fitter not defined.
static void messageVerbose(const QString &)
static void messageDebug(const QString &)
◆ theclass
◆ trackparticle
◆ trkTrack
| const Trk::Track* TrackHandle_TrackParticle::Imp::trkTrack |
◆ trkTrackInit
| bool TrackHandle_TrackParticle::Imp::trkTrackInit |
The documentation for this class was generated from the following file: