ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics
VP1
VP1Systems
VP1AODSystems
src
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
22
class
IParticleHandle_Muon
:
public
IParticleHandleBase
{
23
public
:
24
25
IParticleHandle_Muon
(
IParticleCollHandleBase
*,
const
xAOD::Muon
* );
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
();
34
void
addLine_FromTrackParticle
();
35
void
linear
(
Amg::Vector3D
& output,
Amg::Vector3D
&
a
,
Amg::Vector3D
& b,
float
t);
36
void
bezier
(
Amg::Vector3D
& output,
Amg::Vector3D
&
a
,
Amg::Vector3D
& b,
Amg::Vector3D
& c,
Amg::Vector3D
& d,
float
t);
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
50
52
QString
shortInfo
()
const
;
53
54
void
fillObjectBrowser
( QList<QTreeWidgetItem *>& listOfItems) ;
55
56
// Some specific stuff used by base collection to draw tracks
57
const
QList<std::pair<xAOD::ParameterPosition, Amg::Vector3D> >&
parametersAndPositions
()
const
;
58
59
protected
:
60
61
private
:
62
63
class
Imp;
64
Imp
*
m_d
;
65
void
ensureInitSubSysHitInfo
()
const
;
66
67
};
68
69
#endif
Muon.h
IParticleHandleBase.h
a
static Double_t a
Definition
LArPhysWaveHECTool.cxx:38
IParticleCollHandleBase
Base class for collections holding AOD objects of iParticle type Handles pt etc cuts Local data:
Definition
IParticleCollHandleBase.h:50
IParticleHandleBase::IParticleHandleBase
IParticleHandleBase(IParticleCollHandleBase *)
Definition
IParticleHandleBase.cxx:59
IParticleHandle_Muon::Imp
Definition
IParticleHandle_Muon.cxx:48
IParticleHandle_Muon::parametersAndPositions
const QList< std::pair< xAOD::ParameterPosition, Amg::Vector3D > > & parametersAndPositions() const
Definition
IParticleHandle_Muon.cxx:519
IParticleHandle_Muon::quality
unsigned int quality() const
Definition
IParticleHandle_Muon.cxx:432
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::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::clear3DObjects
virtual void clear3DObjects()
Delete objects.
Definition
IParticleHandle_Muon.cxx:81
IParticleHandle_Muon::fillObjectBrowser
void fillObjectBrowser(QList< QTreeWidgetItem * > &listOfItems)
Create and fill the object browser QTreeWidgetItem.
Definition
IParticleHandle_Muon.cxx:456
IParticleHandle_Muon::position
virtual Amg::Vector3D position() const
Definition
IParticleHandle_Muon.cxx:401
IParticleHandle_Muon::linear
void linear(Amg::Vector3D &output, Amg::Vector3D &a, Amg::Vector3D &b, float t)
Definition
IParticleHandle_Muon.cxx:262
IParticleHandle_Muon::nodes
virtual SoNode * nodes()
Returns the 3Dobjects.
Definition
IParticleHandle_Muon.cxx:179
IParticleHandle_Muon::charge
virtual double charge() const
Returns unknown() in case of trouble.
Definition
IParticleHandle_Muon.cxx:422
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::addParameterShapes
void addParameterShapes()
Definition
IParticleHandle_Muon.cxx:197
IParticleHandle_Muon::momentum
virtual Amg::Vector3D momentum() const
Definition
IParticleHandle_Muon.cxx:369
IParticleHandle_Muon::iParticle
const xAOD::IParticle & iParticle() const
Definition
IParticleHandle_Muon.cxx:413
IParticleHandle_Muon::fillLineFromSplineFit
void fillLineFromSplineFit(const std::vector< Amg::Vector3D > &positions, const std::vector< Amg::Vector3D > &momenta)
Definition
IParticleHandle_Muon.cxx:280
IParticleHandle_Muon::muon
const xAOD::Muon & muon() const
Definition
IParticleHandle_Muon.cxx:441
IParticleHandle_Muon::IParticleHandle_Muon
IParticleHandle_Muon(IParticleCollHandleBase *, const xAOD::Muon *)
Definition
IParticleHandle_Muon.cxx:60
IParticleHandle_Muon::has3DObjects
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
Definition
IParticleHandle_Muon.cxx:78
IParticleHandle_Muon::shortInfo
QString shortInfo() const
This returns the information shown about the object in the object browser.
Definition
IParticleHandle_Muon.cxx:447
IParticleHandle_Muon::~IParticleHandle_Muon
virtual ~IParticleHandle_Muon()
Definition
IParticleHandle_Muon.cxx:71
IParticleHandle_Muon::ensureInitSubSysHitInfo
void ensureInitSubSysHitInfo() const
IParticleHandle_Muon::m_d
Imp * m_d
Definition
IParticleHandle_Muon.h:64
IParticleHandle_Muon::addLine_FromTrackParticle
void addLine_FromTrackParticle()
Definition
IParticleHandle_Muon.cxx:218
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
xAOD::Muon
Muon_v1 Muon
Reference the current persistent version:
Definition
Event/xAOD/xAODMuon/xAODMuon/Muon.h:13
Generated on
for ATLAS Offline Software by
1.17.0