|
ATLAS Offline Software
|
#include <VertexHandle.h>
Definition at line 39 of file VertexHandle.h.
◆ VertexHandle() [1/2]
◆ ~VertexHandle()
VertexHandle::~VertexHandle |
( |
| ) |
|
|
virtual |
◆ VertexHandle() [2/2]
◆ attach3DObjects()
void AODHandleBase::attach3DObjects |
( |
| ) |
|
|
virtualinherited |
◆ baseInfo()
QStringList VertexHandle::baseInfo |
( |
| ) |
const |
|
virtual |
◆ browserTreeItem()
QTreeWidgetItem * AODHandleBase::browserTreeItem |
( |
| ) |
const |
|
inherited |
◆ clear3DObjects()
void VertexHandle::clear3DObjects |
( |
| ) |
|
|
virtual |
◆ clicked()
QStringList VertexHandle::clicked |
( |
| ) |
const |
|
virtual |
Called when user selects the node (stringlist is displayed in messagebox).
Reimplementations should add info momInfo() to get momentum, eta, phi, pid,charge, mass printed.
Implements AODHandleBase.
Definition at line 209 of file VertexHandle.cxx.
214 #ifndef BUILDVP1LIGHT
218 l<<
"Vertex is missing links to tracks!";
◆ collHandle()
◆ common()
◆ currentMaterial()
SoMaterial* AODHandleBase::currentMaterial |
( |
| ) |
const |
|
inlineinherited |
Returns the current material of the handle.
Definition at line 76 of file AODHandleBase.h.
◆ currentMaterialChanged()
virtual void AODHandleBase::currentMaterialChanged |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ detach3DObjects()
void AODHandleBase::detach3DObjects |
( |
| ) |
|
|
virtualinherited |
◆ determineMaterial()
SoMaterial * VertexHandle::determineMaterial |
( |
| ) |
|
|
virtual |
Should be implemented by children, in order to change the material depending on the interface etc.
This will (by default) return the collection material.
Implements AODHandleBase.
Definition at line 148 of file VertexHandle.cxx.
◆ dumpToJSON()
virtual void AODHandleBase::dumpToJSON |
( |
std::ofstream & |
| ) |
const |
|
inlinevirtualinherited |
◆ fillObjectBrowser()
void AODHandleBase::fillObjectBrowser |
( |
QList< QTreeWidgetItem * > & |
list | ) |
|
|
virtualinherited |
◆ getPositionX()
double VertexHandle::getPositionX |
( |
| ) |
const |
◆ getPositionY()
double VertexHandle::getPositionY |
( |
| ) |
const |
◆ getPositionZ()
double VertexHandle::getPositionZ |
( |
| ) |
const |
◆ has3DObjects()
bool VertexHandle::has3DObjects |
( |
| ) |
|
|
virtual |
◆ nodes()
SoNode * VertexHandle::nodes |
( |
| ) |
|
|
virtual |
Returns the 3Dobjects.
Implements AODHandleBase.
Definition at line 112 of file VertexHandle.cxx.
122 m_d->
sep =
new SoSeparator();
137 SoTranslation * translation =
new SoTranslation;
139 m_d->
sep->addChild ( translation );
◆ numberOfInstances()
int VertexHandle::numberOfInstances |
( |
| ) |
|
|
static |
◆ operator=()
◆ rebuild3DObjects()
void AODHandleBase::rebuild3DObjects |
( |
| ) |
|
|
virtualinherited |
◆ setVisible()
void AODHandleBase::setVisible |
( |
bool |
vis | ) |
|
|
inherited |
use by the collection handle.
Definition at line 99 of file AODHandleBase.cxx.
101 QString
tmp = (vis==
true)?
"True":
"False";
◆ shortInfo()
QString VertexHandle::shortInfo |
( |
| ) |
const |
|
virtual |
◆ type()
virtual QString VertexHandle::type |
( |
| ) |
const |
|
inlinevirtual |
return very short word with type (maybe link with collection type?)
Reimplemented from AODHandleBase.
Definition at line 68 of file VertexHandle.h.
◆ unknown()
static double AODHandleBase::unknown |
( |
| ) |
|
|
inlinestaticinherited |
◆ update3DObjects()
void AODHandleBase::update3DObjects |
( |
| ) |
|
|
virtualinherited |
Called after some configuration changes, or when the object is first created. Must be overloaded by children.
Definition at line 125 of file AODHandleBase.cxx.
◆ updateMaterial()
void VertexHandle::updateMaterial |
( |
| ) |
|
Called after some configuration related to material changes.
◆ updateObjectBrowser()
void AODHandleBase::updateObjectBrowser |
( |
| ) |
|
|
inlineinherited |
◆ vertexType()
QString VertexHandle::vertexType |
( |
| ) |
const |
Definition at line 165 of file VertexHandle.cxx.
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!");
◆ visible()
bool AODHandleBase::visible |
( |
| ) |
const |
|
inlineinherited |
◆ visibleStateChanged()
void AODHandleBase::visibleStateChanged |
( |
| ) |
|
|
protectedvirtualinherited |
Dummy implementation does nothing.
override if need to take action in this case.
Definition at line 316 of file AODHandleBase.cxx.
329 itemFont.setStrikeOut(!
visible());
◆ AssocObjAttachmentHandle
◆ m_collhandle
◆ m_currentmaterial
SoMaterial* AODHandleBase::m_currentmaterial |
|
privateinherited |
◆ m_d
◆ m_visible
bool AODHandleBase::m_visible |
|
privateinherited |
The documentation for this class was generated from the following files:
float x() const
Returns the x position.
virtual QString shortInfo() const
returns position & type information about vertex
SoMaterial * material() const
const VertexCollectionSettingsButton & collSettingsButton() const
AODHandleBase(AODCollHandleBase *)
VertexCollHandle * collHandle
virtual void detach3DObjects()
Remove from the scene graph.
AODCollHandleBase * m_collhandle
const AODCollHandleBase * collHandle() const
virtual SoMaterial * determineMaterial()=0
Should be implemented by children, in order to change the material depending on the interface etc.
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
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.
virtual void currentMaterialChanged()
const AODSysCommonData * common() const
const xAOD::Vertex * vertex
void incrementNShownHandles()
virtual void attach3DObjects()
Connect to the scene graph.
Exception — Attempt to retrieve nonexistent aux data item.
@ SecVtx
Secondary vertex.
virtual void visibleStateChanged()
Dummy implementation does nothing.
void deregisterHandle(AODHandleBase *h)
QTreeWidgetItem * browserTreeItem() const
Return the QTreeWidgetItem;.
float z() const
Returns the z position.
void decrementNShownHandles()
QStringList baseInfo() const
virtual QString type() const
return very short word with type (maybe link with collection type?)
static void messageVerbose(const QString &)
virtual SoNode * nodes()=0
Returns the 3Dobjects.
static std::atomic< int > nvtxhandles
const VP1ExtraSepLayerHelper * sepHelper() const
static void messageDebug(const QString &)
static void message(const QString &, IVP1System *sys=0)
QString vertexType() const
virtual QString shortInfo() const
returns mom and hit information about track
float y() const
Returns the y position.
virtual void rebuild3DObjects()
QTreeWidgetItem * m_objBrowseTree
@ ConvVtx
Conversion vertex.
std::vector< Trk::VxTrackAtVertex > & vxTrackAtVertex()
Non-const access to the VxTrackAtVertex vector.
void registerHandle(AODHandleBase *h)
SoMaterial * m_currentmaterial
@ NotSpecified
Default value, no explicit type set.
virtual void clear3DObjects()=0
Delete objects.