ATLAS Offline Software
IParticleHandle_Muon.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 IParticleHandle_Muon //
9 // //
10 // Description: Handles for track particles. //
11 // //
12 // //
14 
15 #ifndef IPARTICLEHANDLE_MUON_H
16 #define IPARTICLEHANDLE_MUON_H
17 
18 #include "IParticleHandleBase.h"
19 #include <QList>
20 #include "xAODMuon/Muon.h"
21 
23 public:
24 
26  virtual ~IParticleHandle_Muon();
27 
28  virtual bool has3DObjects();
29  virtual void clear3DObjects();
30  virtual SoNode* nodes();
31 
32  // FIXME! The methods below were copied from TrackParticle and should be put into a helper function.
33  void addParameterShapes();
37  void fillLineFromSplineFit(const std::vector<Amg::Vector3D>& positions, const std::vector<Amg::Vector3D>&momenta);
38 
39  virtual QStringList clicked() const;
40  virtual Amg::Vector3D momentum() const;
41  virtual Amg::Vector3D position() const;
42  const xAOD::IParticle& iParticle() const;
43  virtual double charge() const ;
44 
45  // Muon specific
46  virtual QString type() const { return QString("Muon"); }
47  unsigned int quality() const;
48  const xAOD::Muon& muon() const;
49  QString muonTypeString() const;
50  QString qualityString() const;
51 
52 
54  QString shortInfo() const;
55 
56  void fillObjectBrowser( QList<QTreeWidgetItem *>& listOfItems) ;
57 
58  // Some specific stuff used by base collection to draw tracks
59  const QList<std::pair<xAOD::ParameterPosition, Amg::Vector3D> >& parametersAndPositions() const;
60 
61 protected:
62 
63 private:
64 
65  class Imp;
66  Imp * m_d;
68 
69 };
70 
71 #endif
IParticleHandle_Muon::parametersAndPositions
const QList< std::pair< xAOD::ParameterPosition, Amg::Vector3D > > & parametersAndPositions() const
Definition: IParticleHandle_Muon.cxx:601
IParticleHandle_Muon::quality
unsigned int quality() const
Definition: IParticleHandle_Muon.cxx:468
Muon.h
hist_file_dump.d
d
Definition: hist_file_dump.py:137
IParticleHandle_Muon::fillObjectBrowser
void fillObjectBrowser(QList< QTreeWidgetItem * > &listOfItems)
Create and fill the object browser QTreeWidgetItem.
Definition: IParticleHandle_Muon.cxx:538
IParticleHandle_Muon::IParticleHandle_Muon
IParticleHandle_Muon(IParticleCollHandleBase *, const xAOD::Muon *)
Definition: IParticleHandle_Muon.cxx:60
IParticleHandle_Muon::m_d
Imp * m_d
Definition: IParticleHandle_Muon.h:65
IParticleHandle_Muon::addLine_FromTrackParticle
void addLine_FromTrackParticle()
Definition: IParticleHandle_Muon.cxx:218
IParticleHandle_Muon::Imp
Definition: IParticleHandle_Muon.cxx:48
IParticleHandle_Muon::fillLineFromSplineFit
void fillLineFromSplineFit(const std::vector< Amg::Vector3D > &positions, const std::vector< Amg::Vector3D > &momenta)
Definition: IParticleHandle_Muon.cxx:280
IParticleHandle_Muon::momentum
virtual Amg::Vector3D momentum() const
Definition: IParticleHandle_Muon.cxx:402
IParticleHandle_Muon::nodes
virtual SoNode * nodes()
Returns the 3Dobjects.
Definition: IParticleHandle_Muon.cxx:179
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
IParticleHandle_Muon::ensureInitSubSysHitInfo
void ensureInitSubSysHitInfo() const
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
IParticleHandle_Muon::has3DObjects
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
Definition: IParticleHandle_Muon.cxx:78
IParticleHandle_Muon::position
virtual Amg::Vector3D position() const
Definition: IParticleHandle_Muon.cxx:437
IParticleHandle_Muon::linear
void linear(Amg::Vector3D &output, Amg::Vector3D &a, Amg::Vector3D &b, float t)
Definition: IParticleHandle_Muon.cxx:262
IParticleHandleBase
Definition: IParticleHandleBase.h:42
IParticleHandle_Muon::addParameterShapes
void addParameterShapes()
Definition: IParticleHandle_Muon.cxx:197
IParticleHandleBase.h
IParticleHandle_Muon::muon
const xAOD::Muon & muon() const
Definition: IParticleHandle_Muon.cxx:477
IParticleHandle_Muon::iParticle
const xAOD::IParticle & iParticle() const
Definition: IParticleHandle_Muon.cxx:449
IParticleHandle_Muon::clicked
virtual QStringList clicked() const
Called when user selects the node (stringlist is displayed in messagebox).
Definition: IParticleHandle_Muon.cxx:321
IParticleHandle_Muon::charge
virtual double charge() const
Returns unknown() in case of trouble.
Definition: IParticleHandle_Muon.cxx:458
merge.output
output
Definition: merge.py:17
IParticleHandle_Muon
Definition: IParticleHandle_Muon.h:22
IParticleHandle_Muon::clear3DObjects
virtual void clear3DObjects()
Delete objects.
Definition: IParticleHandle_Muon.cxx:81
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
IParticleHandle_Muon::shortInfo
QString shortInfo() const
This returns the information shown about the object in the object browser.
Definition: IParticleHandle_Muon.cxx:527
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
a
TList * a
Definition: liststreamerinfos.cxx:10
IParticleHandle_Muon::bezier
void bezier(Amg::Vector3D &output, Amg::Vector3D &a, Amg::Vector3D &b, Amg::Vector3D &c, Amg::Vector3D &d, float t)
Definition: IParticleHandle_Muon.cxx:269
IParticleHandle_Muon::muonTypeString
QString muonTypeString() const
Definition: IParticleHandle_Muon.cxx:482
IParticleHandle_Muon::~IParticleHandle_Muon
virtual ~IParticleHandle_Muon()
Definition: IParticleHandle_Muon.cxx:71
IParticleHandle_Muon::type
virtual QString type() const
return very short word with type (maybe link with collection type?)
Definition: IParticleHandle_Muon.h:46
IParticleHandle_Muon::qualityString
QString qualityString() const
Definition: IParticleHandle_Muon.cxx:499
IParticleCollHandleBase
Base class for collections holding AOD objects of iParticle type Handles pt etc cuts Local data:
Definition: IParticleCollHandleBase.h:50
python.compressB64.c
def c
Definition: compressB64.py:93