ATLAS Offline Software
Loading...
Searching...
No Matches
TrackCollHandle_TrkTrack.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7// //
8// Header file for class TrackCollHandle_TrkTrack //
9// //
10// Description: Collection handle for Trk::Tracks. //
11// //
12// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
13// Initial version: February 2008 //
14// //
16
17#ifndef TRACKCOLLHANDLE_TRKTRACK_H
18#define TRACKCOLLHANDLE_TRKTRACK_H
19
22#include <QStringList>
23#include <iostream>
24
26namespace Trk { class Track; }
28
29 Q_OBJECT
30
31public:
32
33 static QStringList availableCollections(IVP1System*);//For the collection widget.
34
36 const QString& name,
39
40 //NB: All overridden methods should be virtual since
41 //TrackCollHandle_FatrasTruthTracks inherits from this.
42 virtual bool allowColourByVertex() const { return true;}
43
44 void visibleStateUpdated(TrackHandle_TrkTrack*);//Must be called whenever visibility/material of handle changes.
45 bool mightHaveSubSystemHitInfo() const { return true; }
46
47protected:
48 virtual bool load();
49 virtual bool cut(TrackHandleBase*);
50 virtual QColor defaultColor() const { return QColor::fromRgbF(1.0f, 0.666667f, 0.0f); }
51
52private:
53
54 class Imp;
56
57};
58
59#endif
const QString & name() const
TrackCollHandleBase(TrackSysCommonData *, const QString &name, TrackType::Type)
virtual QColor defaultColor() const
void visibleStateUpdated(TrackHandle_TrkTrack *)
virtual bool cut(TrackHandleBase *)
TrackCollHandle_TrkTrack(TrackSysCommonData *, const QString &name, TrackType::Type type=TrackType::TrkTrack)
static QStringList availableCollections(IVP1System *)
virtual bool allowColourByVertex() const
Ensure that the ATLAS eigen extensions are properly loaded.