|
ATLAS Offline Software
|
Go to the documentation of this file.
29 #include <Inventor/C/errors/debugerror.h>
30 #include <Inventor/nodes/SoLineSet.h>
31 #include <Inventor/nodes/SoVertexProperty.h>
32 #include <Inventor/nodes/SoSeparator.h>
33 #include <Inventor/nodes/SoMaterial.h>
34 #include <Inventor/nodes/SoPickStyle.h>
35 #include <Inventor/nodes/SoSphere.h>
36 #include <Inventor/nodes/SoMatrixTransform.h>
37 #include <Inventor/SbRotation.h>
38 #include <Inventor/SbMatrix.h>
39 #include <Inventor/nodes/SoTranslation.h>
40 #include <Inventor/nodes/SoText2.h>
50 static double dist(
const SbVec3f&
p1,
const SbVec3f&
p2);
122 m_d->
sep =
new SoSeparator();
137 SoTranslation * translation =
new SoTranslation;
139 m_d->
sep->addChild ( translation );
166 using namespace xAOD;
170 return QString(
"Type: Dummy");
172 return QString(
"Type: Primary");
174 return QString(
"Type: Secondary");
176 return QString(
"Type: Pileup");
178 return QString(
"Type: Conversion");
180 return QString(
"Type: Kink");
182 return QString(
"Type: Not specified (default)");
184 return QString(
"Unknown vertex type - probably VP1 needs updating!");
214 #ifndef BUILDVP1LIGHT
218 l<<
"Vertex is missing links to tracks!";
float x() const
Returns the x position.
virtual QString shortInfo() const
returns position & type information about vertex
SoMaterial * material() const
const VertexCollectionSettingsButton & collSettingsButton() const
VertexCollHandle * collHandle
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
const AODCollHandleBase * collHandle() const
double getPositionY() const
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
SoMaterial * determineMaterial()
Should be implemented by children, in order to change the material depending on the interface etc.
VertexHandle(VertexCollHandle *, const xAOD::Vertex *vertex)
static QString str(const QString &s)
VxType::VertexType vertexType() const
The type of the vertex.
@ NoVtx
Dummy vertex. TrackParticle was not used in vertex fit.
const xAOD::Vertex * vertex
virtual void clear3DObjects()
Delete objects.
Imp(VertexHandle *tc, const xAOD::Vertex *vtx)
Exception — Attempt to retrieve nonexistent aux data item.
@ SecVtx
Secondary vertex.
virtual QStringList clicked() const
Called when user selects the node (stringlist is displayed in messagebox).
float z() const
Returns the z position.
QStringList baseInfo() const
virtual SoNode * nodes()
Returns the 3Dobjects.
static double dist(const SbVec3f &p1, const SbVec3f &p2)
double getPositionZ() const
static void messageVerbose(const QString &)
static std::atomic< int > nvtxhandles
Class describing a Vertex.
double getPositionX() const
QString vertexType() const
static int numberOfInstances()
float y() const
Returns the y position.
@ ConvVtx
Conversion vertex.
std::vector< Trk::VxTrackAtVertex > & vxTrackAtVertex()
Non-const access to the VxTrackAtVertex vector.
@ NotSpecified
Default value, no explicit type set.