|
ATLAS Offline Software
|
#include <TrackCollHandle_TrackContainer.h>
|
| TrackCollHandle_TrackContainer (TrackSysCommonData *, const QString &name) |
|
virtual | ~TrackCollHandle_TrackContainer () |
|
virtual void | init (VP1MaterialButtonBase *matBut=0) |
|
void | setupSettingsFromController (TrackSystemController *) |
|
const QString & | name () const |
|
TrackSysCommonData * | common () const |
|
VP1ExtraSepLayerHelper * | sephelper () const |
|
virtual bool | canUsePropagator () |
|
double | trackTubeRadius () const |
|
virtual QByteArray | persistifiableState () const |
| Provide specific implementation. More...
|
|
virtual void | setState (const QByteArray &) |
| Provide specific implementation. More...
|
|
void | recheckCutStatusOfAllVisibleHandles () |
|
void | recheckCutStatusOfAllNotVisibleHandles () |
|
void | recheckCutStatusOfAllHandles () |
|
void | update3DObjectsOfAllHandles (bool onlythosetouchingmuonchambers=false, bool invalidatePropagatedPoints=false, float maxR=0.0) |
|
void | updateMaterialOfAllHandles () |
|
void | updateInDetProjectionsOfAllHandles () |
|
void | updateMuonProjectionsOfAllHandles () |
|
int | nShownHandles () |
|
void | incrementNShownHandles () |
|
void | decrementNShownHandles () |
|
virtual bool | mayHaveAssociatedObjects () const |
|
Trk::IExtrapolator * | propagator () const |
|
TrackSystemController::PropagationOptionFlags | propagationOptions () |
|
bool | ignoreMEOTinProp () const |
|
bool | extendTracks () const |
|
TrackCommonFlags::TrackPartsFlags | parts () const |
|
COLOURBY | colourBy () const |
|
virtual COLOURBY | defaultColourBy () const |
|
virtual bool | allowColourByPID () const |
|
virtual bool | allowColourByMomentum () const |
|
virtual bool | allowColourByCharge () const |
|
virtual bool | allowColourByDistanceFromSelectedTrack () const |
|
virtual bool | allowColourByVertex () const |
|
virtual void | collMaterialTransparencyAndBrightnessChanged () |
|
bool | useDefaultCuts () const |
| Return true if this collection uses the default (i.e. More...
|
|
bool | cutOnlyVertexAssocTracks () const |
| Return true if this collection should only should tracks associated to a vertex. More...
|
|
VP1Interval | cutAllowedPt () const |
|
VP1Interval | cutAllowedEta () const |
|
QList< VP1Interval > | cutAllowedPhi () const |
|
QList< unsigned > | cutRequiredNHits () const |
|
void | vertexCutsAllowed (bool) |
|
bool | cutTruthFromIROnly () const |
|
bool | cutExcludeBarcodeZero () const |
|
bool | cutTruthExcludeNeutrals () const |
|
bool | visible () const |
|
bool | isLoaded () const |
|
bool | problemsLoading () const |
|
QString | text () const |
|
SoSwitch * | collSwitch () const |
| Add this somewhere in your scenegraph (do not add any children here!) More...
|
|
SoSeparator * | collSep () const |
| All 3D objects from this coll. More...
|
|
SoMaterial * | material () const |
|
double | collMaterialTransparency () const |
|
double | collMaterialBrightness () const |
|
virtual void | largeChangesBegin () |
|
virtual void | largeChangesEnd () |
|
qint32 | collTypeID () const |
|
QByteArray | persistifiableID () const |
|
QString | section () const |
|
QString | sectionToolTip () const |
|
virtual QList< QWidget * > | widgetsForGuiRow () const |
|
void | setSystemBasePointer (IVP1System *sys) |
|
void | message (const QString &) const |
|
void | message (const QStringList &, const QString &addtoend="") const |
|
void | message (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
void | messageDebug (const QString &) const |
|
void | messageDebug (const QStringList &, const QString &addtoend="") const |
|
void | messageDebug (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
void | messageVerbose (const QString &) const |
|
void | messageVerbose (const QStringList &, const QString &addtoend="") const |
|
void | messageVerbose (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
IVP1System * | systemBase () const |
|
const QString & | helperClassName () const |
|
◆ COLOURBY
Enumerator |
---|
COLOUR_PERCOLLECTION | |
COLOUR_RANDOM | |
COLOUR_BYPID | |
COLOUR_MOMENTUM | |
COLOUR_CHARGE | |
COLOUR_DISTANCE | |
COLOUR_VERTEX | |
Definition at line 138 of file TrackCollHandleBase.h.
◆ TrackCollHandle_TrackContainer()
◆ ~TrackCollHandle_TrackContainer()
TrackCollHandle_TrackContainer::~TrackCollHandle_TrackContainer |
( |
| ) |
|
|
virtual |
◆ actualSetCustomColouredTSOSPartsOnHandles()
void TrackCollHandleBase::actualSetCustomColouredTSOSPartsOnHandles |
( |
| ) |
|
|
privateinherited |
◆ actualSetShownTSOSPartsOnHandles()
void TrackCollHandleBase::actualSetShownTSOSPartsOnHandles |
( |
| ) |
|
|
privateinherited |
◆ addTrackHandle()
◆ allowColourByCharge()
virtual bool TrackCollHandleBase::allowColourByCharge |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ allowColourByDistanceFromSelectedTrack()
virtual bool TrackCollHandleBase::allowColourByDistanceFromSelectedTrack |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ allowColourByMomentum()
virtual bool TrackCollHandleBase::allowColourByMomentum |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ allowColourByPID()
virtual bool TrackCollHandleBase::allowColourByPID |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ allowColourByVertex()
virtual bool TrackCollHandleBase::allowColourByVertex |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ applyStates()
◆ assignDefaultMaterial()
void TrackCollHandleBase::assignDefaultMaterial |
( |
SoMaterial * |
m | ) |
const |
|
protectedvirtualinherited |
◆ availableCollections()
QStringList TrackCollHandle_TrackContainer::availableCollections |
( |
IVP1System * |
sys | ) |
|
|
static |
◆ canUsePropagator()
virtual bool TrackCollHandleBase::canUsePropagator |
( |
| ) |
|
|
inlinevirtualinherited |
◆ checkBoxToolTip()
virtual QString VP1StdCollection::checkBoxToolTip |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ cleanupPtrContainer()
template<class T >
void TrackCollHandleBase::cleanupPtrContainer |
( |
T & |
t | ) |
const |
|
protectedinherited |
◆ clipVolumeChanged
void TrackCollHandleBase::clipVolumeChanged |
( |
double |
radius | ) |
|
|
slotinherited |
◆ collMaterialBrightness()
double VP1StdCollection::collMaterialBrightness |
( |
| ) |
const |
|
inherited |
◆ collMaterialTransparency()
double VP1StdCollection::collMaterialTransparency |
( |
| ) |
const |
|
inherited |
◆ collMaterialTransparencyAndBrightnessChanged()
void TrackCollHandleBase::collMaterialTransparencyAndBrightnessChanged |
( |
| ) |
|
|
virtualinherited |
◆ collSep()
SoSeparator * VP1StdCollection::collSep |
( |
| ) |
const |
|
inherited |
All 3D objects from this coll.
belongs under here.
Definition at line 212 of file VP1StdCollection.cxx.
215 message(
"ERROR: collSep() called before init()");
◆ collSwitch()
SoSwitch * VP1StdCollection::collSwitch |
( |
| ) |
const |
|
inherited |
Add this somewhere in your scenegraph (do not add any children here!)
Definition at line 204 of file VP1StdCollection.cxx.
207 message(
"ERROR: collSwitch() called before init()");
◆ collTypeID()
qint32 VP1StdCollection::collTypeID |
( |
| ) |
const |
|
inherited |
◆ collVisibilityChanged
void TrackCollHandleBase::collVisibilityChanged |
( |
bool |
vis | ) |
|
|
privateslotinherited |
◆ colourBy()
COLOURBY TrackCollHandleBase::colourBy |
( |
| ) |
const |
|
inlineinherited |
◆ colourByComboBoxItemChanged
void TrackCollHandleBase::colourByComboBoxItemChanged |
( |
| ) |
|
|
privateslotinherited |
◆ common()
◆ cut()
◆ cutAllowedEta()
VP1Interval TrackCollHandleBase::cutAllowedEta |
( |
| ) |
const |
|
inherited |
◆ cutAllowedPhi()
QList<VP1Interval> TrackCollHandleBase::cutAllowedPhi |
( |
| ) |
const |
|
inherited |
◆ cutAllowedPt()
VP1Interval TrackCollHandleBase::cutAllowedPt |
( |
| ) |
const |
|
inherited |
◆ cutExcludeBarcodeZero()
bool TrackCollHandleBase::cutExcludeBarcodeZero |
( |
| ) |
const |
|
inherited |
◆ cutOnlyVertexAssocTracks()
bool TrackCollHandleBase::cutOnlyVertexAssocTracks |
( |
| ) |
const |
|
inherited |
Return true if this collection should only should tracks associated to a vertex.
Definition at line 1245 of file TrackCollHandleBase.cxx.
1248 message(
"ERROR: cutOnlyVertexAssocTracks(..) called before init()");
◆ cutRequiredNHits()
QList<unsigned> TrackCollHandleBase::cutRequiredNHits |
( |
| ) |
const |
|
inherited |
◆ cutTruthExcludeNeutrals()
bool TrackCollHandleBase::cutTruthExcludeNeutrals |
( |
| ) |
const |
|
inherited |
◆ cutTruthFromIROnly()
bool TrackCollHandleBase::cutTruthFromIROnly |
( |
| ) |
const |
|
inherited |
◆ decrementNShownHandles()
void TrackCollHandleBase::decrementNShownHandles |
( |
| ) |
|
|
inlineinherited |
◆ defaultColor()
virtual QColor TrackCollHandle_TrackContainer::defaultColor |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ defaultColourBy()
virtual COLOURBY TrackCollHandleBase::defaultColourBy |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ extendTracks()
bool TrackCollHandleBase::extendTracks |
( |
| ) |
const |
|
inlineinherited |
◆ extrapolateToThisVolumeChanged
void TrackCollHandleBase::extrapolateToThisVolumeChanged |
( |
void |
| ) |
|
|
slotinherited |
◆ extraWidgetsState()
QByteArray TrackCollHandleBase::extraWidgetsState |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ fillObjectBrowser()
void TrackCollHandleBase::fillObjectBrowser |
( |
| ) |
|
|
privateinherited |
Definition at line 1092 of file TrackCollHandleBase.cxx.
1098 if (!trkObjBrowser) {
1099 messageVerbose(
"TrackCollHandleBase::fillObjectBrowser: no common()->controller()->trackObjBrowser(). Aborting");
1108 trkObjBrowser->setUpdatesEnabled(
false);
1110 bool firstTime=
false;
1114 messageVerbose(
"TrackCollHandleBase::fillObjectBrowser: First time so creating QTreeWidgetItem.");
1118 messageVerbose(
"Missing from WidgetTree! Will continue but something must be wrong");
1124 QList<QTreeWidgetItem *>
list;
1128 unsigned int numVisible=0;
1137 if (trkHandle->
visible() ) numVisible++;
1147 trkObjBrowser->setUpdatesEnabled(
true);
◆ getNextTrackHandle()
◆ getStates()
◆ helperClassName()
const QString& VP1HelperClassBase::helperClassName |
( |
| ) |
const |
|
inlineinherited |
◆ hintNumberOfTracksInEvent()
void TrackCollHandleBase::hintNumberOfTracksInEvent |
( |
unsigned |
n | ) |
|
|
protectedinherited |
◆ ignoreMEOTinProp()
bool TrackCollHandleBase::ignoreMEOTinProp |
( |
| ) |
const |
|
inlineinherited |
◆ incrementNShownHandles()
void TrackCollHandleBase::incrementNShownHandles |
( |
| ) |
|
|
inlineinherited |
◆ init()
◆ isLoaded()
bool VP1StdCollection::isLoaded |
( |
| ) |
const |
|
inherited |
◆ largeChangesBegin()
void VP1StdCollection::largeChangesBegin |
( |
| ) |
|
|
virtualinherited |
◆ largeChangesEnd()
void VP1StdCollection::largeChangesEnd |
( |
| ) |
|
|
virtualinherited |
◆ load()
bool TrackCollHandle_TrackContainer::load |
( |
| ) |
|
|
protectedvirtual |
◆ matButtonToolTip()
virtual QString VP1StdCollection::matButtonToolTip |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ material()
SoMaterial * VP1StdCollection::material |
( |
| ) |
const |
|
inherited |
◆ mayHaveAssociatedObjects()
virtual bool TrackCollHandleBase::mayHaveAssociatedObjects |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ message() [1/3]
void VP1HelperClassBase::message |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ message() [2/3]
void VP1HelperClassBase::message |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 131 of file VP1HelperClassBase.cxx.
133 if (addtostart.isEmpty()) {
137 if (addtoend.isEmpty()) {
138 for (
const QString&
s :
l)
141 for (
const QString&
s :
l)
◆ message() [3/3]
void VP1HelperClassBase::message |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 91 of file VP1HelperClassBase.cxx.
93 if (addtoend.isEmpty()) {
94 for (
const QString&
s :
l)
97 for (
const QString&
s :
l)
◆ messageDebug() [1/3]
void VP1HelperClassBase::messageDebug |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageDebug() [2/3]
void VP1HelperClassBase::messageDebug |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 147 of file VP1HelperClassBase.cxx.
151 if (addtostart.isEmpty()) {
155 if (addtoend.isEmpty()) {
156 for (
const QString&
s :
l)
159 for (
const QString&
s :
l)
◆ messageDebug() [3/3]
void VP1HelperClassBase::messageDebug |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 103 of file VP1HelperClassBase.cxx.
107 if (addtoend.isEmpty()) {
108 for (
const QString&
s :
l)
111 for (
const QString&
s :
l)
◆ messageVerbose() [1/3]
void VP1HelperClassBase::messageVerbose |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageVerbose() [2/3]
void VP1HelperClassBase::messageVerbose |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 165 of file VP1HelperClassBase.cxx.
169 if (addtostart.isEmpty()) {
173 if (addtoend.isEmpty()) {
174 for (
const QString&
s :
l)
177 for (
const QString&
s :
l)
◆ messageVerbose() [3/3]
void VP1HelperClassBase::messageVerbose |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 117 of file VP1HelperClassBase.cxx.
121 if (addtoend.isEmpty()) {
122 for (
const QString&
s :
l)
125 for (
const QString&
s :
l)
◆ mightHaveSubSystemHitInfo()
bool TrackCollHandle_TrackContainer::mightHaveSubSystemHitInfo |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ name()
const QString & TrackCollHandleBase::name |
( |
| ) |
const |
|
inherited |
◆ nShownHandles()
int TrackCollHandleBase::nShownHandles |
( |
| ) |
|
|
inlineinherited |
◆ parts()
TrackCommonFlags::TrackPartsFlags TrackCollHandleBase::parts |
( |
| ) |
const |
|
inlineinherited |
◆ persistifiableID()
QByteArray VP1Collection::persistifiableID |
( |
| ) |
const |
|
inherited |
◆ persistifiableState()
QByteArray TrackCollHandleBase::persistifiableState |
( |
| ) |
const |
|
virtualinherited |
◆ possibleChangeMatTranspOrBrightness
void VP1StdCollection::possibleChangeMatTranspOrBrightness |
( |
| ) |
|
|
slotinherited |
◆ problemsLoading()
bool VP1StdCollection::problemsLoading |
( |
| ) |
const |
|
inherited |
◆ propagationOptions()
TrackSystemController::PropagationOptionFlags TrackCollHandleBase::propagationOptions |
( |
| ) |
|
|
inlineinherited |
◆ propagator()
◆ provideCollTypeID()
qint32 TrackCollHandleBase::provideCollTypeID |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ provideExtraWidgetsForGuiRow()
QList< QWidget * > TrackCollHandleBase::provideExtraWidgetsForGuiRow |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ providePersistifiableID()
QByteArray VP1StdCollection::providePersistifiableID |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ provideSection()
virtual QString TrackCollHandleBase::provideSection |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ provideSectionToolTip()
virtual QString TrackCollHandleBase::provideSectionToolTip |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ provideText()
virtual QString TrackCollHandleBase::provideText |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ provideWidgetsForGuiRow()
QList< QWidget * > VP1StdCollection::provideWidgetsForGuiRow |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ recheckCutStatus()
◆ recheckCutStatusOfAllHandles()
void TrackCollHandleBase::recheckCutStatusOfAllHandles |
( |
| ) |
|
|
inherited |
◆ recheckCutStatusOfAllNotVisibleHandles()
void TrackCollHandleBase::recheckCutStatusOfAllNotVisibleHandles |
( |
| ) |
|
|
inherited |
◆ recheckCutStatusOfAllVisibleHandles()
void TrackCollHandleBase::recheckCutStatusOfAllVisibleHandles |
( |
| ) |
|
|
inherited |
◆ rerandomiseRandomTrackColours
void TrackCollHandleBase::rerandomiseRandomTrackColours |
( |
| ) |
|
|
slotinherited |
◆ section()
QString VP1Collection::section |
( |
| ) |
const |
|
inherited |
◆ sectionToolTip()
QString VP1Collection::sectionToolTip |
( |
| ) |
const |
|
inherited |
◆ sephelper()
◆ setActualPathShown
void TrackCollHandleBase::setActualPathShown |
( |
bool |
hide | ) |
|
|
privateslotinherited |
◆ setColourBy
Definition at line 634 of file TrackCollHandleBase.cxx.
670 if (
i>=0&&i<m_d->comboBox_colourby->count()) {
675 message(
"ERROR: Problems finding correct text in combo box");
◆ setCustomColouredTSOSParts
void TrackCollHandleBase::setCustomColouredTSOSParts |
( |
TrackCommonFlags::TSOSPartsFlags |
f | ) |
|
|
slotinherited |
◆ setCutAllowedEta
◆ setCutAllowedPhi
void TrackCollHandleBase::setCutAllowedPhi |
( |
const QList< VP1Interval > & |
allowedPhi | ) |
|
|
privateslotinherited |
◆ setCutAllowedPt
Definition at line 745 of file TrackCollHandleBase.cxx.
755 double signMin = allowedpt.
lower()<0.0 ? -1.0 : 1.0;
756 double signMax = allowedpt.
upper()<0.0 ? -1.0 : 1.0;
757 double minptsq = allowedpt.
lower() == -std::numeric_limits<double>::infinity() ? -std::numeric_limits<double>::infinity() : signMin*(allowedpt.lower()*allowedpt.lower());
758 double maxptsq = allowedpt.
upper() == std::numeric_limits<double>::infinity() ? std::numeric_limits<double>::infinity() : signMax*(allowedpt.
upper()*allowedpt.
upper());
◆ setDrawMeasGlobalPositions
void TrackCollHandleBase::setDrawMeasGlobalPositions |
( |
bool |
b | ) |
|
|
slotinherited |
◆ setExtraWidgetsState()
void TrackCollHandleBase::setExtraWidgetsState |
( |
const QByteArray & |
ba | ) |
|
|
protectedvirtualinherited |
◆ setHelperClassName()
void VP1HelperClassBase::setHelperClassName |
( |
const QString & |
n | ) |
|
|
inlineprotectedinherited |
◆ setLabelPosOffsets
void TrackCollHandleBase::setLabelPosOffsets |
( |
const QList< int > & |
offsets | ) |
|
|
slotinherited |
◆ setLabels
void TrackCollHandleBase::setLabels |
( |
TrackSystemController::TrackLabelModes |
labels | ) |
|
|
slotinherited |
◆ setLabelTrkOffset
void TrackCollHandleBase::setLabelTrkOffset |
( |
float |
offset | ) |
|
|
slotinherited |
◆ setMaterialEffectsOnTrackScale
void TrackCollHandleBase::setMaterialEffectsOnTrackScale |
( |
double |
n | ) |
|
|
slotinherited |
◆ setMeasurementsShorttubesScale
void TrackCollHandleBase::setMeasurementsShorttubesScale |
( |
double |
n | ) |
|
|
slotinherited |
◆ setNStdDevForParamErrors
void TrackCollHandleBase::setNStdDevForParamErrors |
( |
const double & |
nstddev | ) |
|
|
slotinherited |
◆ setNumberOfPointsOnCircles
void TrackCollHandleBase::setNumberOfPointsOnCircles |
( |
int |
n | ) |
|
|
slotinherited |
◆ setOnlyVertexAssocTracks
void TrackCollHandleBase::setOnlyVertexAssocTracks |
( |
bool |
b | ) |
|
|
slotinherited |
◆ setParts [1/2]
void TrackCollHandleBase::setParts |
( |
int |
angle | ) |
|
|
privateslotinherited |
◆ setParts [2/2]
void TrackCollHandleBase::setParts |
( |
TrackCommonFlags::TrackPartsFlags |
parts | ) |
|
|
privateslotinherited |
◆ setParTubeErrorsDrawCylinders
void TrackCollHandleBase::setParTubeErrorsDrawCylinders |
( |
bool |
b | ) |
|
|
slotinherited |
◆ setPropagationOptions
void TrackCollHandleBase::setPropagationOptions |
( |
TrackSystemController::PropagationOptionFlags |
options | ) |
|
|
privateslotinherited |
◆ setPropagator
◆ setPropMaxRadius
void TrackCollHandleBase::setPropMaxRadius |
( |
float |
radius | ) |
|
|
privateslotinherited |
◆ setRequiredDetectorElement
void TrackCollHandleBase::setRequiredDetectorElement |
( |
const QString & |
id | ) |
|
|
slotinherited |
◆ setRequiredNHits
void TrackCollHandleBase::setRequiredNHits |
( |
const QList< unsigned > & |
l | ) |
|
|
slotinherited |
Definition at line 832 of file TrackCollHandleBase.cxx.
840 bool relaxed(
false),tightened(
false);
852 for (
int i=0;
i<
l.count();++
i) {
860 assert(relaxed||tightened);
862 if (relaxed&&tightened) {
◆ setShownTSOSParts
void TrackCollHandleBase::setShownTSOSParts |
( |
TrackCommonFlags::TSOSPartsFlags |
f | ) |
|
|
slotinherited |
◆ setState()
void TrackCollHandleBase::setState |
( |
const QByteArray & |
state | ) |
|
|
virtualinherited |
Provide specific implementation.
Reimplemented from VP1StdCollection.
Definition at line 1259 of file TrackCollHandleBase.cxx.
1262 message(
"ERROR: setState(..) called before init()");
1266 des.disableUnrestoredChecks();
1267 if (
des.version()!=0&&
des.version()!=1) {
1268 messageDebug(
"Warning: Ignoring state with wrong version");
1271 bool vis =
des.restoreBool();
1273 QByteArray matState =
des.restoreByteArray();
1275 QByteArray extraWidgetState =
des.version()>=1 ?
des.restoreByteArray() : QByteArray();
1278 if (extraWidgetState!=QByteArray())
◆ setSystemBasePointer()
void VP1HelperClassBase::setSystemBasePointer |
( |
IVP1System * |
sys | ) |
|
|
inherited |
◆ setTrackTubeRadius
void TrackCollHandleBase::setTrackTubeRadius |
( |
const double & |
r | ) |
|
|
privateslotinherited |
◆ setupSettingsFromController()
Definition at line 198 of file TrackCollHandleBase.cxx.
210 connect(controller,SIGNAL(propagationOptionsChanged(TrackSystemController::PropagationOptionFlags)),
this,SLOT(
setPropagationOptions(TrackSystemController::PropagationOptionFlags)));
219 connect(controller,SIGNAL(shownTrackPartsChanged(TrackCommonFlags::TrackPartsFlags)),
this,SLOT(
setParts(TrackCommonFlags::TrackPartsFlags)));
223 connect(controller,SIGNAL(vertexProjectionAngleChanged(
int)),
this,SLOT(
setParts(
int)));
246 connect(controller,SIGNAL(cutAllowedPhiChanged(
const QList<VP1Interval>&)),
this,SLOT(
setCutAllowedPhi(
const QList<VP1Interval>&)));
250 connect(controller,SIGNAL(cutRequiredNHitsChanged(
const QList<unsigned>&)),
this,SLOT(
setRequiredNHits(
const QList<unsigned>&)));
261 connect(controller,SIGNAL(customColouredTSOSPartsChanged(TrackCommonFlags::TSOSPartsFlags)),
289 connect(controller,SIGNAL(shownTSOSPartsChanged(TrackCommonFlags::TSOSPartsFlags)),
293 connect(controller,SIGNAL(customColouredTSOSPartsChanged(TrackCommonFlags::TSOSPartsFlags)),
297 connect(controller,SIGNAL(trackLabelsChanged(TrackSystemController::TrackLabelModes)),
this,SLOT(
setLabels(TrackSystemController::TrackLabelModes)));
◆ setupSettingsFromControllerSpecific()
|
inlineprotectedvirtualinherited |
◆ setUseDefaultCuts
void TrackCollHandleBase::setUseDefaultCuts |
( |
bool |
useDefaults | ) |
|
|
privateslotinherited |
◆ setUseShortMDTMeasurements
void TrackCollHandleBase::setUseShortMDTMeasurements |
( |
bool |
b | ) |
|
|
slotinherited |
◆ setUseShortTRTMeasurements
void TrackCollHandleBase::setUseShortTRTMeasurements |
( |
bool |
b | ) |
|
|
slotinherited |
◆ setVisible
void VP1StdCollection::setVisible |
( |
bool |
b | ) |
|
|
slotinherited |
◆ str() [1/30]
◆ str() [2/30]
static QString VP1String::str |
( |
const bool |
b | ) |
|
|
inlinestaticinherited |
Definition at line 53 of file VP1String.h.
53 {
return b?
"True":
"False"; }
◆ str() [3/30]
static QString VP1String::str |
( |
const char * |
c | ) |
|
|
inlinestaticinherited |
◆ str() [4/30]
static QString VP1String::str |
( |
const double & |
d | ) |
|
|
inlinestaticinherited |
◆ str() [5/30]
static QString VP1String::str |
( |
const float & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [6/30]
◆ str() [7/30]
QString VP1String::str |
( |
const QColor & |
c | ) |
|
|
staticinherited |
Definition at line 30 of file VP1String.cxx.
32 return c.isValid() ?
c.name() :
"Invalid";
◆ str() [8/30]
template<class T >
static QString VP1String::str |
( |
const QFlags< T > & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [9/30]
template<class T >
static QString VP1String::str |
( |
const QList< T > & |
t | ) |
|
|
inlinestaticinherited |
◆ str() [10/30]
static QString VP1String::str |
( |
const QString & |
s | ) |
|
|
inlinestaticinherited |
◆ str() [11/30]
QString VP1String::str |
( |
const SbColor & |
c | ) |
|
|
staticinherited |
◆ str() [12/30]
QString VP1String::str |
( |
const SbVec2d & |
v | ) |
|
|
staticinherited |
◆ str() [13/30]
QString VP1String::str |
( |
const SbVec2f & |
v | ) |
|
|
staticinherited |
◆ str() [14/30]
QString VP1String::str |
( |
const SbVec2s & |
v | ) |
|
|
staticinherited |
◆ str() [15/30]
QString VP1String::str |
( |
const SbVec3d & |
v | ) |
|
|
staticinherited |
◆ str() [16/30]
QString VP1String::str |
( |
const SbVec3f & |
v | ) |
|
|
staticinherited |
◆ str() [17/30]
QString VP1String::str |
( |
const SbVec3s & |
v | ) |
|
|
staticinherited |
◆ str() [18/30]
QString VP1String::str |
( |
const SbVec4d & |
v | ) |
|
|
staticinherited |
◆ str() [19/30]
QString VP1String::str |
( |
const SbVec4f & |
v | ) |
|
|
staticinherited |
◆ str() [20/30]
template<class T >
static QString VP1String::str |
( |
const T * |
t | ) |
|
|
inlinestaticinherited |
Definition at line 87 of file VP1String.h.
87 {
return str(
static_cast<const void*
>(
t)); }
◆ str() [21/30]
QString VP1String::str |
( |
const void * |
p | ) |
|
|
staticinherited |
Definition at line 48 of file VP1String.cxx.
54 return QString (
s.str().c_str());
◆ str() [22/30]
◆ str() [23/30]
static QString VP1String::str |
( |
int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [24/30]
static QString VP1String::str |
( |
long |
n | ) |
|
|
inlinestaticinherited |
◆ str() [25/30]
static QString VP1String::str |
( |
qlonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [26/30]
static QString VP1String::str |
( |
qulonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [27/30]
static QString VP1String::str |
( |
short int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [28/30]
static QString VP1String::str |
( |
uint |
n | ) |
|
|
inlinestaticinherited |
◆ str() [29/30]
static QString VP1String::str |
( |
ulong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [30/30]
static QString VP1String::str |
( |
unsigned short int |
n | ) |
|
|
inlinestaticinherited |
◆ systemBase()
IVP1System* VP1HelperClassBase::systemBase |
( |
| ) |
const |
|
inlineinherited |
◆ text()
QString VP1StdCollection::text |
( |
| ) |
const |
|
inherited |
◆ toBaseCollList()
Definition at line 80 of file VP1Collection.h.
82 QList<VP1Collection*>
l;
84 l << static_cast<T*>(
t);
◆ toString()
◆ trackHandleIterationBegin()
void TrackCollHandleBase::trackHandleIterationBegin |
( |
| ) |
|
|
protectedinherited |
◆ trackSelectionChanged
void TrackCollHandleBase::trackSelectionChanged |
( |
| ) |
|
|
slotinherited |
◆ trackTubeRadius()
double TrackCollHandleBase::trackTubeRadius |
( |
| ) |
const |
|
inlineinherited |
◆ update3DObjectsOfAllHandles()
void TrackCollHandleBase::update3DObjectsOfAllHandles |
( |
bool |
onlythosetouchingmuonchambers = false , |
|
|
bool |
invalidatePropagatedPoints = false , |
|
|
float |
maxR = 0.0 |
|
) |
| |
|
inherited |
Definition at line 440 of file TrackCollHandleBase.cxx.
445 messageVerbose(
"update3DObjectsOfAllHandles start (onlythosetouchingmuonchambers = "
446 +
str(onlythosetouchingmuonchambers)+
", invalidatePropagatedPoints = "
447 +
str(invalidatePropagatedPoints)+
")");
450 if (onlythosetouchingmuonchambers) {
452 if (!(*it)->touchedMuonChambers().empty())
453 (*it)->update3DObjects(invalidatePropagatedPoints, maxR);
456 (*it)->update3DObjects(invalidatePropagatedPoints, maxR);
◆ updateInDetProjectionsOfAllHandles()
void TrackCollHandleBase::updateInDetProjectionsOfAllHandles |
( |
| ) |
|
|
inherited |
◆ updateMaterialOfAllHandles()
void TrackCollHandleBase::updateMaterialOfAllHandles |
( |
| ) |
|
|
inherited |
◆ updateMuonProjectionsOfAllHandles()
void TrackCollHandleBase::updateMuonProjectionsOfAllHandles |
( |
| ) |
|
|
inherited |
◆ updateObjectBrowserVisibilityCounts()
void TrackCollHandleBase::updateObjectBrowserVisibilityCounts |
( |
| ) |
|
|
privateinherited |
Definition at line 1080 of file TrackCollHandleBase.cxx.
1081 messageVerbose(
"TrackCollHandleBase::updateObjectBrowserVisibilityCounts called for "+
name());
1084 messageVerbose(
"TrackCollHandleBase::updateObjectBrowserVisibilityCounts: no common()->controller()->trackObjBrowser() and/or m_d->objBrowseTree. Aborting");
◆ updateStates()
Definition at line 118 of file VP1Collection.cxx.
121 QMapIterator<QByteArray,QByteArray>
it(newInfo);
122 while (
it.hasNext()) {
124 state.insert(
it.key(),
it.value());
◆ useDefaultCuts()
bool TrackCollHandleBase::useDefaultCuts |
( |
| ) |
const |
|
inherited |
Return true if this collection uses the default (i.e.
controller) cuts
Definition at line 1236 of file TrackCollHandleBase.cxx.
1239 message(
"ERROR: useDefaultCuts(..) called before init()");
◆ verbose()
static bool VP1HelperClassBase::verbose |
( |
| ) |
|
|
inlinestaticinherited |
◆ vertexCutsAllowed()
void TrackCollHandleBase::vertexCutsAllowed |
( |
bool |
| ) |
|
|
inherited |
◆ visibilityChanged
void VP1StdCollection::visibilityChanged |
( |
bool |
| ) |
|
|
signalinherited |
◆ visible()
bool VP1StdCollection::visible |
( |
| ) |
const |
|
inherited |
◆ warnUndeletedInstances()
void VP1HelperClassBase::warnUndeletedInstances |
( |
| ) |
|
|
staticinherited |
Definition at line 183 of file VP1HelperClassBase.cxx.
185 if (vp1helperclassbase_instanceMap.empty())
187 std::cout <<
"WARNING: Detected "<<vp1helperclassbase_instanceMap.size()<<
" undeleted helper class instances:"<<std::endl;
190 for (
it = vp1helperclassbase_instanceMap.begin();
it!=
itE;++
it) {
191 std::cout <<
" ==> "<<
it->first<<
": "<<
it->first->m_helpername.toStdString()
192 << (
it->second.isEmpty()?QString(
""):
" (in system "+
it->
second+
")").toStdString()<<std::endl;
◆ widgetsForGuiRow()
QList< QWidget * > VP1Collection::widgetsForGuiRow |
( |
| ) |
const |
|
virtualinherited |
◆ m_colourby
COLOURBY TrackCollHandleBase::m_colourby |
|
privateinherited |
◆ m_commonData
◆ m_cut_allowedEta
◆ m_cut_allowedPhi
QList<VP1Interval> TrackCollHandleBase::m_cut_allowedPhi |
|
privateinherited |
◆ m_cut_allowedPtSq
◆ m_cut_eta_allowall
bool TrackCollHandleBase::m_cut_eta_allowall |
|
privateinherited |
◆ m_cut_etaptphi_allwillfail
bool TrackCollHandleBase::m_cut_etaptphi_allwillfail |
|
privateinherited |
◆ m_cut_phi_allowall
bool TrackCollHandleBase::m_cut_phi_allowall |
|
privateinherited |
◆ m_cut_pt_allowall
bool TrackCollHandleBase::m_cut_pt_allowall |
|
privateinherited |
◆ m_cut_requiredNHits
QList<unsigned> TrackCollHandleBase::m_cut_requiredNHits |
|
privateinherited |
◆ m_d
Imp* TrackCollHandle_TrackContainer::m_d |
|
private |
◆ m_helpername
QString VP1HelperClassBase::m_helpername |
|
privateinherited |
◆ m_labels
TrackSystemController::TrackLabelModes TrackCollHandleBase::m_labels |
|
privateinherited |
◆ m_labelsPosOffsets
QList<int> TrackCollHandleBase::m_labelsPosOffsets |
|
privateinherited |
◆ m_labelsTrkOffset
float TrackCollHandleBase::m_labelsTrkOffset |
|
privateinherited |
◆ m_nshownhandles
int TrackCollHandleBase::m_nshownhandles |
|
privateinherited |
◆ m_parts
TrackCommonFlags::TrackPartsFlags TrackCollHandleBase::m_parts |
|
privateinherited |
◆ m_propagationOptions
TrackSystemController::PropagationOptionFlags TrackCollHandleBase::m_propagationOptions |
|
privateinherited |
◆ m_propagator
◆ m_propMaxRadius
float TrackCollHandleBase::m_propMaxRadius |
|
privateinherited |
◆ m_requiredDetectorElement
QString TrackCollHandleBase::m_requiredDetectorElement |
|
privateinherited |
◆ m_sephelper
◆ m_system
◆ m_trackTubeRadius
double TrackCollHandleBase::m_trackTubeRadius |
|
privateinherited |
◆ m_type
◆ s_vp1verbose
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
virtual bool allowColourByMomentum() const
bool useShortTRTMeasurements() const
static QString comboBoxEntry_ColourByDistanceFromSelectedTrack()
QList< unsigned > m_cut_requiredNHits
void setLabelTrkOffset(float)
QMap< QByteArray, QByteArray > VP1CollStates
std::vector< TrackHandleBase * > trackhandles
static QString comboBoxEntry_ColourByMomentum()
void setRequiredDetectorElement(const QString &id)
static QString comboBoxEntry_ColourByVertex()
void setShownTSOSParts(TrackCommonFlags::TSOSPartsFlags)
PropagationOptionFlags propagationOptions() const
TrackSystemController * controller() const
virtual void fillObjectBrowser(QList< QTreeWidgetItem * > &list)
Called in child classes.
VP1Interval m_cut_allowedPtSq
double tsos_nStdDevForParamErrors
QList< QWidget * > widgetsForGuiRow
void setCutAllowedPhi(const QList< VP1Interval > &)
void serialise(const std::vector< const IRoiDescriptor * > &rois, roiserial_type &s)
serialise an entire vector of IRoiDescriptors
Trk::IExtrapolator * propagator() const
static QString comboBoxEntry_ColourByCharge()
virtual QList< QWidget * > provideWidgetsForGuiRow() const =0
TrackCommonFlags::TrackPartsFlags parts() const
void setUseDefaultCuts(bool)
bool tsos_drawMeasGlobalPositions
VP1Interval m_cut_allowedEta
qint32 collTypeID() const
void clipVolumeChanged(double)
TrackCommonFlags::TSOSPartsFlags customColouredTSOSParts() const
bool cutOnlyVertexAssocTracks() const
void messageVerbose(const QString &) const
Trk::IExtrapolator * lastUsedPropagator
virtual void setupSettingsFromControllerSpecific(TrackSystemController *)
SoSwitch * collSwitch() const
Add this somewhere in your scenegraph (do not add any children here!)
static const bool s_vp1verbose
TrackCommonFlags::TrackPartsFlags m_parts
double nStdDevForParamErrors() const
TrackCommonFlags::TrackPartsFlags shownTrackParts() const
VP1TrackSystem * system() const
static QString comboBoxEntry_ColourByPID()
void setLabels(TrackSystemController::TrackLabelModes)
virtual void init(VP1MaterialButtonBase *button=0)
void updateShapes_TSOSWithMeasurements()
void setDrawMeasGlobalPositions(bool)
int vertexProjectionAngle() const
void setCustomColouredTSOSParts(TrackCommonFlags::TSOSPartsFlags)
void setOnlyVertexAssocTracks(bool)
virtual void largeChangesBegin()
void recheckCutStatusOfAllNotVisibleHandles()
bool cutOnlyVertexAssocTracks() const
Return true if this collection should only should tracks associated to a vertex.
bool parTubeErrorsDrawCylinders() const
void hintNumberOfTracksInEvent(unsigned)
void actualSetShownTSOSPartsOnHandles()
static QString str(const QString &s)
TrackCollHandleBase(TrackSysCommonData *, const QString &name, TrackType::Type)
virtual COLOURBY defaultColourBy() const
TrackCommonFlags::TSOSPartsFlags shownTSOSParts
void messageDebug(const QString &) const
void setParts(TrackCommonFlags::TrackPartsFlags)
virtual QColor defaultColor() const =0
bool useDefaultCuts() const
Return true if this collection uses the default (i.e.
TrackCommonFlags::TSOSPartsFlags shownTSOSParts() const
double measurementsShorttubesScale() const
virtual void updateObjectBrowser()
QStringList getKeys() const
static QString typeToSectionHeader(const Type &)
bool tsos_parTubeErrorsDrawCylinders
void setPropagator(Trk::IExtrapolator *)
virtual bool cut(TrackHandleBase *)
VP1Interval cutAllowedEta() const
QList< VP1Interval > m_cut_allowedPhi
static VP1CustomTourEditor * customTourEditor()
QComboBox * comboBox_colourby
void setNumberOfPointsOnCircles(int)
void colourByComboBoxItemChanged()
void setRequiredNHits(const QList< unsigned > &)
virtual bool allowColourByVertex() const
virtual bool allowColourByDistanceFromSelectedTrack() const
def save(self, fileName="./columbo.out")
bool drawMeasGlobalPositions() const
void updateShapes_TSOSWithErrors()
static const char * prefix_msg()
std::vector< TrackHandleBase * >::iterator itTrackHandles
void updateMaterialOfAllHandles()
bool useShortMDTMeasurements() const
static bool environmentVariableIsOn(const QString &name)
void setCustomColouredTSOSParts(TrackCommonFlags::TSOSPartsFlags f)
void updateRandomColourTransparencyAndBrightness()
static QString comboBoxEntry_ColourByRandom()
void updateObjectBrowserVisibilityCounts()
void setShownTSOSParts(TrackCommonFlags::TSOSPartsFlags f)
COLOURBY colourBy() const
double angle(const GeoTrf::Vector2D &a, const GeoTrf::Vector2D &b)
VP1MaterialButtonBase * matButton
VP1Interval cutAllowedEta() const
void setCutAllowedEta(const VP1Interval &)
void visibilityChanged(bool)
TrackLabelModes trackLabels()
const QString & name() const
virtual QList< QWidget * > provideExtraWidgetsForGuiRow() const
bool m_cut_etaptphi_allwillfail
void setMeasurementsShorttubesScale(double)
QList< QWidget * > extraWidgets
virtual bool allowColourByPID() const
QTreeWidgetItem * objBrowseTree
static qint32 typeToInt(const Type &)
void trackSelectionChanged()
QList< VP1Interval > cutAllowedPhi() const
QList< unsigned > cutRequiredNHits() const
void recheckCutStatusOfAllHandles()
bool tsos_useShortMDTMeasurements
QList< unsigned > cutRequiredNHits() const
bool problemsLoading() const
void setPropagationOptions(TrackSystemController::PropagationOptionFlags)
void setLabelPosOffsets(const QList< int > &)
void update3DObjectsOfAllHandles(bool onlythosetouchingmuonchambers=false, bool invalidatePropagatedPoints=false, float maxR=0.0)
virtual void collMaterialTransparencyAndBrightnessChanged()
void setPropMaxRadius(float)
double lastMatTransparency
static QColor sbcol2qcol(const SbColor &)
QByteArray extraWidgetsState() const
IVP1System * systemBase() const
void actualSetCustomColouredTSOSPartsOnHandles()
virtual QByteArray providePersistifiableID() const =0
bool contains(const double &x) const
void addTrackHandle(TrackHandleBase *)
void setExtraWidgetsState(const QByteArray &)
virtual QList< QWidget * > widgetsForGuiRow() const
QString m_requiredDetectorElement
void setMaterialEffectsOnTrackScale(double)
static const char * prefix_debug()
double materialEffectsOnTrackScale() const
void setActualPathShown(bool)
VP1Interval cutAllowedPt() const
void trackHandleIterationBegin()
double tsos_materialEffectsOnTrackScale
bool widgetsForGuiRowProvided
virtual void largeChangesEnd()
virtual QString provideSection() const =0
VP1Interval cutAllowedPt() const
void rerandomiseRandomTrackColours()
void updateShapes_TSOSWithMaterialEffects()
void setCutAllowedPt(const VP1Interval &)
bool sectionToolTipProvided
void setParTubeErrorsDrawCylinders(bool)
static const char * prefix_verbose()
int largechangescount_sep
TrackSystemController::TrackLabelModes m_labels
static void messageDebug(const QString &)
Trk::IExtrapolator * m_propagator
virtual QString provideSectionToolTip() const
int tsos_numberOfPointsOnCircles
void setVisible(bool)
use by the collection handle.
QTreeWidget * trackObjBrowser() const
Returns a pointer to the Track Object Browser (if it exists)
virtual bool allowColourByCharge() const
int largechangescount_switch
static void setMatColor(SoMaterial *, const double &r, const double &g, const double &b, const double &brightness=0.0, const double &transp=0.0)
void setNStdDevForParamErrors(const double &)
TrackSystemController::PropagationOptionFlags m_propagationOptions
void setupSettingsFromController(TrackSystemController *)
SoSeparator * collSep() const
All 3D objects from this coll.
std::vector< TrackHandleBase * >::iterator itTrackHandlesEnd
double tsos_measurementsShorttubesScale
float propMaxRadius() const
QList< int > m_labelsPosOffsets
void message(const QString &) const
static QString comboBoxEntry_ColourByCollection()
bool ignoreMeasurementEffectsOnTrackInProp()
If true (default) don't use TSOS with MEOT to draw track points.
void recheckCutStatusOfAllVisibleHandles()
bool tsos_useShortTRTMeasurements
void setColourBy(COLOURBY)
void recheckCutStatus(TrackHandleBase *)
void setUseShortMDTMeasurements(bool)
TrackCommonFlags::TSOSPartsFlags customColouredTSOSParts
TrackSysCommonData * m_commonData
TrackSysCommonData * common() const
void setTrackTubeRadius(const double &)
TrackHandleBase * getNextTrackHandle()
TrackCollHandle_TrackContainer * theclass
VP1ExtraSepLayerHelper * m_sephelper
virtual QString provideText() const =0
static QString typeToSectionHeaderToolTip(const Type &)
void setUseShortTRTMeasurements(bool)
void collVisibilityChanged(bool)
int numberOfPointsOnCircles() const
void message(const QString &) const
virtual qint32 provideCollTypeID() const
virtual void deselectAll(SoCooperativeSelection *exception_sel=0)
TrackCollectionSettingsButton * matButton
virtual bool mightHaveSubSystemHitInfo() const
QList< VP1Interval > cutAllowedPhi() const
const QString & name() const
void extrapolateToThisVolumeChanged(void)