◆ VertexHandle()
◆ ~VertexHandle()
| VP1TruthVertexCollection::Imp::VertexHandle::~VertexHandle |
( |
| ) |
|
|
inline |
◆ cut()
| bool VP1TruthVertexCollection::Imp::VertexHandle::cut |
( |
| ) |
|
|
inlineprivate |
Definition at line 148 of file VP1TruthVertexCollection.cxx.
148 {
149
150 if (
m_d->controller->truthCutPrimaryVertexOnly()&&
this!=
m_d->vertices.at(0))
151 return false;
152
153 if (!
m_d->controller->truthCutAllowedEta().contains(
m_vertex->position().eta()))
154 return false;
155
156 QPair<VertexCommonFlags::QUANTITY,VP1Interval>
p =
m_d->controller->truthCutQuantity();
157 if (!
p.second.isAllR()) {
159 return false;
160 }
161
162
164 for (
const VP1Interval& i :
m_d->controller->truthCutAllowedPhi()) {
166 return true;
167 }
168 return false;
169 }
Scalar phi() const
phi method
double quantityVal(const VertexCommonFlags::QUANTITY &q)
◆ ensureAttach()
| void VP1TruthVertexCollection::Imp::VertexHandle::ensureAttach |
( |
SoSeparator * | collsep | ) |
|
|
inlineprivate |
◆ ensureDetach()
| void VP1TruthVertexCollection::Imp::VertexHandle::ensureDetach |
( |
SoSeparator * | collsep | ) |
|
|
inlineprivate |
◆ line()
| SoLineSet * VP1TruthVertexCollection::Imp::VertexHandle::line |
( |
| ) |
const |
|
inline |
◆ quantityVal()
Definition at line 112 of file VP1TruthVertexCollection.cxx.
112 {
113
114 double px(0),
py(0),
pz(0),
e(0);
115 for (
const auto& PartIn:
m_vertex->particles_in()){
116 px +=PartIn->momentum().px();
117 py +=PartIn->momentum().py();
118 pz +=PartIn->momentum().pz();
119 e += PartIn->momentum().e();
120 }
122 switch(q) {
126 default:
128 }
129 }
HepMC3::FourVector FourVector
◆ recheckCutStatus()
| void VP1TruthVertexCollection::Imp::VertexHandle::recheckCutStatus |
( |
| ) |
|
|
inline |
Definition at line 69 of file VP1TruthVertexCollection.cxx.
69 {
72 if (cutval)
74 else
76 }
77 }
void ensureAttach(SoSeparator *collsep)
void ensureDetach(SoSeparator *collsep)
◆ updateShape()
| void VP1TruthVertexCollection::Imp::VertexHandle::updateShape |
( |
| ) |
|
|
inline |
Definition at line 78 of file VP1TruthVertexCollection.cxx.
78 {
80 return;
82
83 }
84
85 SoVertexProperty *
vertices =
static_cast<SoVertexProperty *
>(
m_line->vertexProperty.getValue());
88 m_line->numVertices.set1Value(0,2);
89 m_line->numVertices.set1Value(1,2);
90 m_line->numVertices.set1Value(2,2);
92 }
93
94 QPair<VertexCommonFlags::QUANTITY,double>
p =
m_d->controller->truthCrossLength();
95 double extent;
98 else
100
108 }
QList< VertexHandle * > vertices
◆ vertex()
◆ m_attached
| bool VP1TruthVertexCollection::Imp::VertexHandle::m_attached |
|
private |
◆ m_d
◆ m_line
| SoLineSet* VP1TruthVertexCollection::Imp::VertexHandle::m_line |
|
private |
◆ m_vertex
The documentation for this class was generated from the following file: