ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics
VP1
VP1Systems
VP1AODSystems
src
VertexHandle.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 VertexHandle //
9
// //
10
// Description: Base class for IParticle xAOD. //
11
// //
12
// Author: E. Moyse //
13
// //
15
16
#ifndef VERTEXHANDLE_H
17
#define VERTEXHANDLE_H
18
19
#include "
GeoPrimitives/GeoPrimitives.h
"
20
21
#include <QStringList>
22
#include <QTreeWidgetItem>
23
#include <vector>
24
#include <set>
25
#include <QList>
26
#include <QFlags>
27
#include "
xAODTracking/Vertex.h
"
28
#include "
AODHandleBase.h
"
29
30
31
class
AssocObjAttachmentHandle
;
32
class
AssociatedObjectHandleBase
;
33
class
VertexCollHandle
;
34
class
SoMaterial;
35
class
SoNode;
36
37
class
AODSysCommonData
;
38
39
class
VertexHandle
:
public
AODHandleBase
{
40
public
:
41
42
static
int
numberOfInstances
();
43
44
VertexHandle
(
VertexCollHandle
*,
const
xAOD::Vertex
*vertex);
45
virtual
~VertexHandle
();
46
48
virtual
bool
has3DObjects
();
49
51
virtual
SoNode*
nodes
();
54
SoMaterial *
determineMaterial
();
55
57
void
updateMaterial
();
58
60
virtual
void
clear3DObjects
();
61
62
QStringList
baseInfo
()
const
;
65
virtual
QStringList
clicked
()
const
;
66
67
virtual
QString
shortInfo
()
const
;
68
virtual
QString
type
()
const
{
return
QString(
"Vertex"
); }
69
QString
vertexType
()
const
;
70
71
double
getPositionX
()
const
;
72
double
getPositionY
()
const
;
73
double
getPositionZ
()
const
;
74
75
private
:
76
77
// It is illegal to copy/assign a VertexHandle:
78
VertexHandle
(
const
VertexHandle
& );
79
VertexHandle
&
operator=
(
const
VertexHandle
& );
80
81
friend
class
AssocObjAttachmentHandle
;
82
class
Imp
;
83
Imp
*
m_d
;
84
};
85
86
87
#endif
AODHandleBase.h
Vertex.h
GeoPrimitives.h
AODHandleBase::AODHandleBase
AODHandleBase(AODCollHandleBase *)
Definition
AODHandleBase.cxx:73
AODSysCommonData
Definition
AODSysCommonData.h:42
AssocObjAttachmentHandle
Definition
TrackHandleBase.h:203
AssociatedObjectHandleBase
Definition
AssociatedObjectHandleBase.h:35
VertexCollHandle
Definition
VertexCollHandle.h:42
VertexHandle::Imp
Definition
VertexHandle.cxx:47
VertexHandle::m_d
Imp * m_d
Definition
VertexHandle.h:83
VertexHandle::nodes
virtual SoNode * nodes()
Returns the 3Dobjects.
Definition
VertexHandle.cxx:111
VertexHandle::clear3DObjects
virtual void clear3DObjects()
Delete objects.
Definition
VertexHandle.cxx:96
VertexHandle::determineMaterial
SoMaterial * determineMaterial()
Should be implemented by children, in order to change the material depending on the interface etc.
Definition
VertexHandle.cxx:147
VertexHandle::VertexHandle
VertexHandle(VertexCollHandle *, const xAOD::Vertex *vertex)
Definition
VertexHandle.cxx:68
VertexHandle::AssocObjAttachmentHandle
friend class AssocObjAttachmentHandle
Definition
VertexHandle.h:81
VertexHandle::VertexHandle
VertexHandle(const VertexHandle &)
VertexHandle::updateMaterial
void updateMaterial()
Called after some configuration related to material changes.
VertexHandle::baseInfo
QStringList baseInfo() const
Definition
VertexHandle.cxx:154
VertexHandle::getPositionZ
double getPositionZ() const
Definition
VertexHandle.cxx:196
VertexHandle::vertexType
QString vertexType() const
Definition
VertexHandle.cxx:164
VertexHandle::getPositionX
double getPositionX() const
Definition
VertexHandle.cxx:188
VertexHandle::clicked
virtual QStringList clicked() const
Called when user selects the node (stringlist is displayed in messagebox).
Definition
VertexHandle.cxx:208
VertexHandle::getPositionY
double getPositionY() const
Definition
VertexHandle.cxx:192
VertexHandle::type
virtual QString type() const
return very short word with type (maybe link with collection type?)
Definition
VertexHandle.h:68
VertexHandle::operator=
VertexHandle & operator=(const VertexHandle &)
VertexHandle::numberOfInstances
static int numberOfInstances()
Definition
VertexHandle.cxx:83
VertexHandle::has3DObjects
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
Definition
VertexHandle.cxx:90
VertexHandle::shortInfo
virtual QString shortInfo() const
returns position & type information about vertex
Definition
VertexHandle.cxx:202
VertexHandle::~VertexHandle
virtual ~VertexHandle()
Definition
VertexHandle.cxx:76
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
Generated on
for ATLAS Offline Software by
1.17.0