ATLAS Offline Software
Loading...
Searching...
No Matches
TrackCollHandle_RefittedTracks.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7// //
8// Implementation of class TrackCollHandle_RefittedTracks //
9// //
10// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
11// Initial version: September 2008 //
12// //
14
15#include <utility>
16
19// #include "VP1Utils/VP1JobConfigInfo.h"
20#include "VP1Base/IVP1System.h"
21
22//____________________________________________________________________
24public:
25 QList<const Trk::Track*> fittedtracks;
26};
27
28
29//____________________________________________________________________
31 const QString& name, QList<const Trk::Track*> fittedtracks)
32 : TrackCollHandle_TrkTrack(cd,name,TrackType::RefittedTrack), m_d(new Imp)
33{
34 m_d->fittedtracks = std::move(fittedtracks);
35}
36
37//____________________________________________________________________
42
43//____________________________________________________________________
45{
46 hintNumberOfTracksInEvent(m_d->fittedtracks.count());
47 int i(0);
48 for (const Trk::Track * trk : m_d->fittedtracks) {
49 if (trk) {
50 messageDebug("ADDTRACK.");
52 } else
53 messageDebug("WARNING: Ignoring null Trk::Track pointer.");
54 if (!(i++%100))
56 }
57
58 //Maybe we need to show measurements, etc.:
59 //FIXME updateVisibleAssociatedObjects(); ??
60
61 return true;
62}
63
64//FIXME: These coll's should not have their states saved...
void updateGUI()
void hintNumberOfTracksInEvent(unsigned)
const QString & name() const
void addTrackHandle(TrackHandleBase *)
TrackCollHandle_RefittedTracks(TrackSysCommonData *, const QString &name, QList< const Trk::Track * > fittedtracks)
TrackCollHandle_TrkTrack(TrackSysCommonData *, const QString &name, TrackType::Type type=TrackType::TrkTrack)
IVP1System * systemBase() const
void messageDebug(const QString &) const