ATLAS Offline Software
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"
22 #include "xAODMuon/MuonContainer.h"
24 #endif
25 
27 
29 
30  Q_OBJECT
31 
32 public:
33 
34  static QStringList availableCollections(IVP1System*);//For the collection widget.
35 
37  const QString& name, xAOD::Type::ObjectType type );
38  virtual ~IParticleCollHandle_Muon();
39 
42 
43  virtual void init(VP1MaterialButtonBase* matBut=0);//reimplementations must start with a call to this.
45 
47 
48 signals:
49  void shownAssociatedObjectsChanged(const QList<const xAOD::TrackParticle*>&);
50 
51 protected:
52  virtual bool load();
53  virtual bool cut(AODHandleBase*);
54  virtual QColor defaultColor() const { return QColor::fromRgbF(1.0f, 1.0f, 0.5f); }
56 
57 private 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.
60  void resetCachedValuesCuts();
61 
62 private:
63 
64  class Imp;
65  Imp * m_d;
66 
67 };
68 
69 #endif
IParticleCollHandle_Muon::cut
virtual bool cut(AODHandleBase *)
Definition: IParticleCollHandle_Muon.cxx:259
AODHandleBase
Definition: AODHandleBase.h:43
IParticleCollHandle_Muon::collSettingsButton
const MuonCollectionSettingsButton & collSettingsButton() const
Definition: IParticleCollHandle_Muon.cxx:171
ObjectType
ObjectType
Definition: BaseObject.h:11
AODSysCommonData
Definition: AODSysCommonData.h:42
IParticleCollHandle_Muon::m_d
Imp * m_d
Definition: IParticleCollHandle_Muon.h:64
IParticleCollHandle_Muon::setupSettingsFromControllerSpecific
virtual void setupSettingsFromControllerSpecific(const AODSystemController *)
For extensions specific to this collection.
Definition: IParticleCollHandle_Muon.cxx:135
IParticleCollHandle_Muon::Imp
Definition: IParticleCollHandle_Muon.cxx:61
IParticleCollHandle_Muon::setMinimumQuality
void setMinimumQuality(unsigned int)
Definition: IParticleCollHandle_Muon.cxx:275
IParticleCollHandle_Muon::load
virtual bool load()
Definition: IParticleCollHandle_Muon.cxx:179
IVP1System
Definition: IVP1System.h:36
ObjectType.h
AODSystemController
Definition: AODSystemController.h:43
IParticleCollHandle_Muon::printMsgNoTrackParticle
void printMsgNoTrackParticle()
Definition: IParticleCollHandle_Muon.cxx:246
IParticleCollHandle_Muon::~IParticleCollHandle_Muon
virtual ~IParticleCollHandle_Muon()
Definition: IParticleCollHandle_Muon.cxx:107
hist_file_dump.f
f
Definition: hist_file_dump.py:135
IParticleCollHandle_Muon::updateAssociatedTrackParticles
void updateAssociatedTrackParticles()
Definition: IParticleCollHandle_Muon.cxx:291
python.L1.Config.LegacyTopoMergerMap.signals
signals
Definition: LegacyTopoMergerMap.py:13
VP1MaterialButtonBase
Definition: VP1MaterialButton.h:25
MuonContainer.h
IParticleCollHandle_Muon::defaultColor
virtual QColor defaultColor() const
Definition: IParticleCollHandle_Muon.h:54
TrackParticle.h
IParticleCollHandle_Muon::hasPrimaryTrackParticleInfo
bool hasPrimaryTrackParticleInfo()
Definition: IParticleCollHandle_Muon.cxx:253
IParticleCollHandle_Muon::init
virtual void init(VP1MaterialButtonBase *matBut=0)
Definition: IParticleCollHandle_Muon.cxx:113
MuonCollectionSettingsButton
Definition: MuonCollectionSettingsButton.h:16
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
IParticleCollHandle_Muon::resetCachedValuesCuts
void resetCachedValuesCuts()
Definition: IParticleCollHandle_Muon.cxx:155
IParticleCollHandle_Muon::shownAssociatedObjectsChanged
void shownAssociatedObjectsChanged(const QList< const xAOD::TrackParticle * > &)
IParticleCollHandle_Muon::availableCollections
static QStringList availableCollections(IVP1System *)
Definition: IParticleCollHandle_Muon.cxx:54
IParticleCollHandle_Muon::IParticleCollHandle_Muon
IParticleCollHandle_Muon(AODSysCommonData *, const QString &name, xAOD::Type::ObjectType type)
Definition: IParticleCollHandle_Muon.cxx:78
IParticleCollHandle_Muon::updateShownAssociatedObjects
void updateShownAssociatedObjects()
Definition: IParticleCollHandle_Muon.cxx:320
IParticleCollHandleBase.h
IParticleCollHandleBase
Base class for collections holding AOD objects of iParticle type Handles pt etc cuts Local data:
Definition: IParticleCollHandleBase.h:50
IParticleCollHandle_Muon
Definition: IParticleCollHandle_Muon.h:28
AODCollHandleBase::name
QString name() const
Definition: AODCollHandleBase.cxx:130
MuonCollectionSettingsButton.h