8#include <tracking/trackFindingCDC/filters/facetRelation/BasicFacetRelationVarSet.h>
10#include <tracking/trackFindingCDC/eventdata/hits/CDCFacet.h>
11#include <tracking/trackFindingCDC/geometry/ParameterLine2D.h>
14using namespace TrackFindingCDC;
18 if (not ptrFacetRelation)
return false;
23 const CDCFacet& fromFacet = *ptrFromFacet;
24 const CDCFacet& toFacet = *ptrToFacet;
35 const double fromMiddlePhi = acos(fromMiddleCos);
36 const double toMiddlePhi = acos(toMiddleCos);
39 var<
named(
"from_middle_phi")>() = fromMiddlePhi;
40 var<
named(
"to_middle_phi")>() = toMiddlePhi;
bool extract(const Relation< const CDCFacet > *ptrFacetRelation) final
Generate and assign the contained variables.
Class representing a triple of neighboring oriented wire with additional trajectory information.
ParameterLine2D getStartToEndLine() const
Getter for the tangential line from the first to the third hit.
ParameterLine2D getStartToMiddleLine() const
Getter for the tangential line from the first to the second hit.
ParameterLine2D getMiddleToEndLine() const
Getter for the tangential line from the second to the third hit.
ISuperLayer getISuperLayer() const
Getter for the common superlayer id of the pair.
A line with a support point and tangential vector.
const Vector2D & tangential() const
Gives the tangential vector of the line.
Type for two related objects.
From * getFrom() const
Getter for the pointer to the from side object.
To * getTo() const
Getter for the pointer to the to side object.
static constexpr 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.
double cosWith(const Vector2D &rhs) const
Abstract base class for different kinds of events.