ATLAS Offline Software
Loading...
Searching...
No Matches
VP1TruthVertexCollection::Imp Class Reference
Collaboration diagram for VP1TruthVertexCollection::Imp:

Classes

class  VertexHandle

Public Member Functions

SoLineSet * createCross (const double &x, const double &y, const double &z, const double &extent=10 *Gaudi::Units::mm)

Public Attributes

QString key
VP1TruthVertexCollectiontheclass = nullptr
VertexSysControllercontroller = nullptr
std::map< SoNode *, HepMC::ConstGenVertexPtrnodeToVertexMap
QList< VertexHandle * > vertices

Detailed Description

Definition at line 56 of file VP1TruthVertexCollection.cxx.

Member Function Documentation

◆ createCross()

SoLineSet * VP1TruthVertexCollection::Imp::createCross ( const double & x,
const double & y,
const double & z,
const double & extent = 10*Gaudi::Units::mm )

Definition at line 215 of file VP1TruthVertexCollection.cxx.

216{
217 SoVertexProperty *vertices = new SoVertexProperty();
218 vertices->vertex.set1Value ( 0,x-extent, y, z );
219 vertices->vertex.set1Value ( 1,x+extent, y,z );
220 vertices->vertex.set1Value ( 2, x,y-extent, z);
221 vertices->vertex.set1Value ( 3, x,y+extent, z );
222 vertices->vertex.set1Value ( 4, x, y,z-extent );
223 vertices->vertex.set1Value ( 5, x, y,z+extent );
224 SoLineSet * line = new SoLineSet();
225 line->numVertices.set1Value(0,2);
226 line->numVertices.set1Value(1,2);
227 line->numVertices.set1Value(2,2);
228 line->vertexProperty = vertices;
229 return line;
230}
#define y
#define x
#define z

Member Data Documentation

◆ controller

VertexSysController* VP1TruthVertexCollection::Imp::controller = nullptr

Definition at line 60 of file VP1TruthVertexCollection.cxx.

◆ key

QString VP1TruthVertexCollection::Imp::key

Definition at line 58 of file VP1TruthVertexCollection.cxx.

◆ nodeToVertexMap

std::map<SoNode *, HepMC::ConstGenVertexPtr> VP1TruthVertexCollection::Imp::nodeToVertexMap

Definition at line 61 of file VP1TruthVertexCollection.cxx.

◆ theclass

VP1TruthVertexCollection* VP1TruthVertexCollection::Imp::theclass = nullptr

Definition at line 59 of file VP1TruthVertexCollection.cxx.

◆ vertices

QList<VertexHandle*> VP1TruthVertexCollection::Imp::vertices

Definition at line 176 of file VP1TruthVertexCollection.cxx.


The documentation for this class was generated from the following file: