ATLAS Offline Software
TrackCollHandle_TrkSegment.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_TrkSegment //
9 // //
10 // Description: fixme //
11 // //
12 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
13 // Initial version: February 2008 //
14 // //
16 
17 #ifndef TRACKCOLLHANDLE_TRKSEGMENT_H
18 #define TRACKCOLLHANDLE_TRKSEGMENT_H
19 
21 #include <QStringList>
22 
24 
26 
27  Q_OBJECT
28 
29 public:
30 
31  static QStringList availableCollections(IVP1System*);//For the collection widget.
32 
34  const QString& name);
36 
38 
39  void visibleStateUpdated(TrackHandle_TrkSegment*);//Must be called whenever visibility/material of handle changes.
40  bool mightHaveSubSystemHitInfo() const { return true; }
41 
42 protected:
43  bool load();
44  bool cut(TrackHandleBase*);
45  virtual QColor defaultColor() const { return QColor::fromRgbF(0.75f, 0.39f, 1.0f ); }
46  virtual bool allowColourByMomentum() const { return false; }
47  virtual bool allowColourByCharge() const { return false; }
48 
49 private:
50 
51  class Imp;
52  Imp * m_d;
53 
54 };
55 
56 #endif
TrackCollHandle_TrkSegment::TrackCollHandle_TrkSegment
TrackCollHandle_TrkSegment(TrackSysCommonData *, const QString &name)
Definition: TrackCollHandle_TrkSegment.cxx:86
TrackCollHandleBase.h
TrackCollHandleBase
Definition: TrackCollHandleBase.h:49
TrackCollHandle_TrkSegment::load
bool load()
Definition: TrackCollHandle_TrkSegment.cxx:105
TrackHandle_TrkSegment
Definition: TrackHandle_TrkSegment.h:28
TrackCollHandle_TrkSegment::~TrackCollHandle_TrkSegment
virtual ~TrackCollHandle_TrkSegment()
Definition: TrackCollHandle_TrkSegment.cxx:93
TrackCollHandle_TrkSegment::allowColourByMomentum
virtual bool allowColourByMomentum() const
Definition: TrackCollHandle_TrkSegment.h:46
TrackCollHandle_TrkSegment::mightHaveSubSystemHitInfo
bool mightHaveSubSystemHitInfo() const
Definition: TrackCollHandle_TrkSegment.h:40
TrackCollHandle_TrkSegment::defaultColor
virtual QColor defaultColor() const
Definition: TrackCollHandle_TrkSegment.h:45
TrackCollHandle_TrkSegment::availableCollections
static QStringList availableCollections(IVP1System *)
Definition: TrackCollHandle_TrkSegment.cxx:37
IVP1System
Definition: IVP1System.h:36
TrackSysCommonData
Definition: TrackSysCommonData.h:50
TrackCollHandle_TrkSegment
Definition: TrackCollHandle_TrkSegment.h:25
TrackCollHandle_TrkSegment::setupSettingsFromControllerSpecific
void setupSettingsFromControllerSpecific(TrackSystemController *)
Definition: TrackCollHandle_TrkSegment.cxx:99
TrackCollHandleBase::name
QString name() const
Definition: TrackCollHandleBase.cxx:310
hist_file_dump.f
f
Definition: hist_file_dump.py:135
TrackCollHandle_TrkSegment::Imp
Definition: TrackCollHandle_TrkSegment.cxx:27
TrackCollHandle_TrkSegment::visibleStateUpdated
void visibleStateUpdated(TrackHandle_TrkSegment *)
Definition: TrackCollHandle_TrkSegment.cxx:142
TrackSystemController
Definition: TrackSystemController.h:49
TrackCollHandle_TrkSegment::cut
bool cut(TrackHandleBase *)
Definition: TrackCollHandle_TrkSegment.cxx:132
TrackCollHandle_TrkSegment::m_d
Imp * m_d
Definition: TrackCollHandle_TrkSegment.h:51
TrackCollHandle_TrkSegment::allowColourByCharge
virtual bool allowColourByCharge() const
Definition: TrackCollHandle_TrkSegment.h:47
TrackHandleBase
Definition: TrackHandleBase.h:56