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