ATLAS Offline Software
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 
26 namespace Trk { class Track; }
28 
29  Q_OBJECT
30 
31 public:
32 
33  static QStringList availableCollections(IVP1System*);//For the collection widget.
34 
36  const QString& name,
38  virtual ~TrackCollHandle_TrkTrack();
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 
47 protected:
48  virtual bool load();
49  virtual bool cut(TrackHandleBase*);
50  virtual QColor defaultColor() const { return QColor::fromRgbF(1.0f, 0.666667f, 0.0f); }
51 
52 private:
53 
54  class Imp;
55  Imp * m_d;
56 
57 };
58 
59 #endif
TrackCollHandleBase.h
TrackCollHandleBase
Definition: TrackCollHandleBase.h:49
TrackCollHandle_TrkTrack::TrackCollHandle_TrkTrack
TrackCollHandle_TrkTrack(TrackSysCommonData *, const QString &name, TrackType::Type type=TrackType::TrkTrack)
Definition: TrackCollHandle_TrkTrack.cxx:98
TrackCollHandle_TrkTrack::defaultColor
virtual QColor defaultColor() const
Definition: TrackCollHandle_TrkTrack.h:50
TrackCommonFlags.h
TrackCollHandle_TrkTrack::m_d
Imp * m_d
Definition: TrackCollHandle_TrkTrack.h:54
TrackCollHandle_TrkTrack::visibleStateUpdated
void visibleStateUpdated(TrackHandle_TrkTrack *)
Definition: TrackCollHandle_TrkTrack.cxx:160
TrackCollHandle_TrkTrack::mightHaveSubSystemHitInfo
bool mightHaveSubSystemHitInfo() const
Definition: TrackCollHandle_TrkTrack.h:45
TrackCollHandle_TrkTrack::availableCollections
static QStringList availableCollections(IVP1System *)
Definition: TrackCollHandle_TrkTrack.cxx:43
IVP1System
Definition: IVP1System.h:36
TrackCollHandle_TrkTrack
Definition: TrackCollHandle_TrkTrack.h:27
TrackSysCommonData
Definition: TrackSysCommonData.h:50
TrackCollHandle_TrkTrack::Imp
Definition: TrackCollHandle_TrkTrack.cxx:30
TrackHandle_TrkTrack
Definition: TrackHandle_TrkTrack.h:29
hist_file_dump.f
f
Definition: hist_file_dump.py:135
TrackType::TrkTrack
@ TrkTrack
Definition: TrackTypes.h:14
TrackType::Type
Type
Definition: TrackTypes.h:13
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
TrackCollHandle_TrkTrack::allowColourByVertex
virtual bool allowColourByVertex() const
Definition: TrackCollHandle_TrkTrack.h:42
TrackCollHandle_TrkTrack::load
virtual bool load()
Definition: TrackCollHandle_TrkTrack.cxx:121
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrackCollHandle_TrkTrack::cut
virtual bool cut(TrackHandleBase *)
Definition: TrackCollHandle_TrkTrack.cxx:150
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
TrackCollHandle_TrkTrack::~TrackCollHandle_TrkTrack
virtual ~TrackCollHandle_TrkTrack()
Definition: TrackCollHandle_TrkTrack.cxx:108
TrackHandleBase
Definition: TrackHandleBase.h:56
TrackCollHandleBase::name
const QString & name() const
Definition: TrackCollHandleBase.cxx:310