 |
Belle II Software
release-05-01-25
|
10 #include <tracking/trackFindingCDC/filters/facetRelation/BasicFacetRelationVarSet.h>
12 #include <tracking/trackFindingCDC/eventdata/hits/CDCFacet.h>
13 #include <tracking/trackFindingCDC/geometry/ParameterLine2D.h>
16 using namespace TrackFindingCDC;
20 if (not ptrFacetRelation)
return false;
22 const CDCFacet* ptrFromFacet(ptrFacetRelation->getFrom());
23 const CDCFacet* ptrToFacet(ptrFacetRelation->getTo());
25 const CDCFacet& fromFacet = *ptrFromFacet;
26 const CDCFacet& toFacet = *ptrToFacet;
37 const double fromMiddlePhi = acos(fromMiddleCos);
38 const double toMiddlePhi = acos(toMiddleCos);
41 var<
named(
"from_middle_phi")>() = fromMiddlePhi;
42 var<
named(
"to_middle_phi")>() = toMiddlePhi;
ParameterLine2D getStartToEndLine() const
Getter for the tangential line from the first to the third hit.
Type for two related objects.
A line with a support point and tangential vector.
Abstract base class for different kinds of events.
bool extract(const Relation< const CDCFacet > *ptrFacetRelation) final
Generate and assign the contained variables.
ParameterLine2D getStartToMiddleLine() const
Getter for the tangential line from the first to the second hit.
Class representing a triple of neighboring oriented wire with additional trajectory information.
double cosWith(const Vector2D &rhs) const
const Vector2D & tangential() const
Gives the tangential vector of the line.
ParameterLine2D getMiddleToEndLine() const
Getter for the tangential line from the second to the third hit.
constexpr static int named(const char *name)
Getter for the index from the name.
Float_t & var()
Reference getter for the value of the ith variable. Static version.
ISuperLayer getISuperLayer() const
Getter for the common superlayer id of the pair.