|
ATLAS Offline Software
|
Go to the documentation of this file.
27 #include <Inventor/C/errors/debugerror.h>
28 #include <Inventor/nodes/SoLineSet.h>
29 #include <Inventor/nodes/SoSeparator.h>
30 #include <Inventor/nodes/SoVertexProperty.h>
94 SoLineSet *
line =
new SoLineSet();
95 SoVertexProperty * vertices =
new SoVertexProperty();
96 vertices->vertex.set1Value(0,
p1.x(),
p1.y(),
p1.z());
97 vertices->vertex.set1Value(1,
p2.x(),
p2.y(),
p2.z());
98 line->numVertices.set1Value(0,2);
99 line->vertexProperty = vertices;
101 shape_simple =
new SoSeparator;
102 shape_simple->addChild(
line);
103 shape_detailed = shape_simple;
117 l <<
" ==> Truth point";
135 l <<
"Gen Particle vertex";
void buildShapes(SoSeparator *&shape_simple, SoSeparator *&shape_detailed)
virtual ~AscObj_TruthPoint()
static QString str(const QString &s)
@ u
Enums for curvilinear frames.
virtual Amg::Vector3D momentumDirection() const =0
virtual Amg::Vector3D posStart() const =0
virtual QString type() const =0
AscObj_TruthPoint(TrackHandleBase *, HepMC::ConstGenVertexPtr v, HepMC::ConstGenParticlePtr p)
SimHitHandleBase * simhit
const GenParticle * ConstGenParticlePtr
static void messageVerbose(const QString &)
Eigen::Matrix< double, 3, 1 > Vector3D
Imp(HepMC::ConstGenVertexPtr v, HepMC::ConstGenParticlePtr p)
static void message(const QString &, IVP1System *sys=0)
virtual double actualMomentum() const
std::string AsString(const T &m)
write an Amg Eigen object to std::string
HepMC::ConstGenVertexPtr genVertex
HepMC::ConstGenParticlePtr genParticle
const HepMC::GenVertex * ConstGenVertexPtr
double lodCrossOverValue() const