ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
34class SoMaterial;
35class SoNode;
36
38
40public:
41
42 static int numberOfInstances();
43
45 virtual ~VertexHandle();
46
48 virtual bool has3DObjects();
49
51 virtual SoNode* nodes();
54 SoMaterial * determineMaterial();
55
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
75private:
76
77 // It is illegal to copy/assign a VertexHandle:
80
82 class Imp;
84};
85
86
87#endif
AODHandleBase(AODCollHandleBase *)
virtual SoNode * nodes()
Returns the 3Dobjects.
virtual void clear3DObjects()
Delete objects.
SoMaterial * determineMaterial()
Should be implemented by children, in order to change the material depending on the interface etc.
VertexHandle(VertexCollHandle *, const xAOD::Vertex *vertex)
friend class AssocObjAttachmentHandle
VertexHandle(const VertexHandle &)
void updateMaterial()
Called after some configuration related to material changes.
QStringList baseInfo() const
double getPositionZ() const
QString vertexType() const
double getPositionX() const
virtual QStringList clicked() const
Called when user selects the node (stringlist is displayed in messagebox).
double getPositionY() const
virtual QString type() const
return very short word with type (maybe link with collection type?)
VertexHandle & operator=(const VertexHandle &)
static int numberOfInstances()
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
virtual QString shortInfo() const
returns position & type information about vertex
virtual ~VertexHandle()
Vertex_v1 Vertex
Define the latest version of the vertex class.