ATLAS Offline Software
Loading...
Searching...
No Matches
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
29public:
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
42protected:
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
49private:
50
51 class Imp;
53
54};
55
56#endif
const QString & name() const
TrackCollHandleBase(TrackSysCommonData *, const QString &name, TrackType::Type)
void visibleStateUpdated(TrackHandle_TrkSegment *)
TrackCollHandle_TrkSegment(TrackSysCommonData *, const QString &name)
void setupSettingsFromControllerSpecific(TrackSystemController *)
static QStringList availableCollections(IVP1System *)