ATLAS Offline Software
Loading...
Searching...
No Matches
IParticleCollHandle_Muon.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7// //
8// Header file for class IParticleCollHandle_Muon //
9// //
10// Description: Collection handle for track particles //
11// //
12// //
14
15#ifndef IPARTICLECOLLHANDLE_MUON_H
16#define IPARTICLECOLLHANDLE_MUON_H
17
18// FIXME! This is needed because of a Qt bug, which bizarrely manifests for Muons...
19#ifndef Q_MOC_RUN
21#include "xAODBase/ObjectType.h"
24#endif
25
27
29
30 Q_OBJECT
31
32public:
33
34 static QStringList availableCollections(IVP1System*);//For the collection widget.
35
37 const QString& name, xAOD::Type::ObjectType type );
39
42
43 virtual void init(VP1MaterialButtonBase* matBut=0);//reimplementations must start with a call to this.
45
47
48signals:
49 void shownAssociatedObjectsChanged(const QList<const xAOD::TrackParticle*>&);
50
51protected:
52 virtual bool load();
53 virtual bool cut(AODHandleBase*);
54 virtual QColor defaultColor() const { return QColor::fromRgbF(1.0f, 1.0f, 0.5f); }
56
57private Q_SLOTS:
58 void setMinimumQuality(unsigned int); // Can't use xAOD::Muon::Quality because of the boost/Qt bug.
59 void updateShownAssociatedObjects(); // Will get settings from the button.
61
62private:
63
64 class Imp;
66
67};
68
69#endif
const QString & name() const
IParticleCollHandleBase(AODSysCommonData *, const QString &name, xAOD::Type::ObjectType)
virtual QColor defaultColor() const
virtual bool cut(AODHandleBase *)
virtual void setupSettingsFromControllerSpecific(const AODSystemController *)
For extensions specific to this collection.
void shownAssociatedObjectsChanged(const QList< const xAOD::TrackParticle * > &)
const MuonCollectionSettingsButton & collSettingsButton() const
IParticleCollHandle_Muon(AODSysCommonData *, const QString &name, xAOD::Type::ObjectType type)
static QStringList availableCollections(IVP1System *)
virtual void init(VP1MaterialButtonBase *matBut=0)
ObjectType
Type of objects that have a representation in the xAOD EDM.
Definition ObjectType.h:32