◆ VertexHandle()
◆ ~VertexHandle()
| VP1TruthVertexCollection::Imp::VertexHandle::~VertexHandle |
( |
| ) |
|
|
inline |
◆ cut()
| bool VP1TruthVertexCollection::Imp::VertexHandle::cut |
( |
| ) |
|
|
inlineprivate |
Definition at line 151 of file VP1TruthVertexCollection.cxx.
151 {
152
153 if (
m_d->controller->truthCutPrimaryVertexOnly()&&
this!=
m_d->vertices.at(0))
154 return false;
155
156 if (!
m_d->controller->truthCutAllowedEta().contains(
m_vertex->position().eta()))
157 return false;
158
159 QPair<VertexCommonFlags::QUANTITY,VP1Interval>
p =
m_d->controller->truthCutQuantity();
160 if (!
p.second.isAllR()) {
162 return false;
163 }
164
165
167 for (
const VP1Interval& i :
m_d->controller->truthCutAllowedPhi()) {
169 return true;
170 }
171 return false;
172 }
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 115 of file VP1TruthVertexCollection.cxx.
115 {
116
117 double px(0),
py(0),
pz(0),
e(0);
118 for (
const auto& PartIn:
m_vertex->particles_in()){
119 px +=PartIn->momentum().px();
120 py +=PartIn->momentum().py();
121 pz +=PartIn->momentum().pz();
122 e += PartIn->momentum().e();
123 }
125 switch(q) {
129 default:
131 }
132 }
HepMC3::FourVector FourVector
◆ recheckCutStatus()
| void VP1TruthVertexCollection::Imp::VertexHandle::recheckCutStatus |
( |
| ) |
|
|
inline |
Definition at line 72 of file VP1TruthVertexCollection.cxx.
72 {
75 if (cutval)
77 else
79 }
80 }
void ensureAttach(SoSeparator *collsep)
void ensureDetach(SoSeparator *collsep)
◆ updateShape()
| void VP1TruthVertexCollection::Imp::VertexHandle::updateShape |
( |
| ) |
|
|
inline |
Definition at line 81 of file VP1TruthVertexCollection.cxx.
81 {
83 return;
85
86 }
87
88 SoVertexProperty *
vertices =
static_cast<SoVertexProperty *
>(
m_line->vertexProperty.getValue());
91 m_line->numVertices.set1Value(0,2);
92 m_line->numVertices.set1Value(1,2);
93 m_line->numVertices.set1Value(2,2);
95 }
96
97 QPair<VertexCommonFlags::QUANTITY,double>
p =
m_d->controller->truthCrossLength();
98 double extent;
101 else
103
111 }
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: