8#include <tracking/trackFindingCDC/filters/segmentPair/TrailSegmentPairVarSet.h>
10#include <tracking/trackFindingCDC/eventdata/tracks/CDCSegmentPair.h>
11#include <tracking/trackFindingCDC/eventdata/segments/CDCSegment2D.h>
14using namespace TrackFindingCDC;
18 if (not ptrSegmentPair)
return false;
59 var<
named(
"from_rl_asym")>() = fromRLAsymmetry * fromSegment.size();
60 var<
named(
"to_rl_asym")>() = toRLAsymmetry * toSegment.size();
62 var<
named(
"from_rl_switches")>() = fromNRLSwitches < 12 ? fromNRLSwitches : 12;
63 var<
named(
"to_rl_switches")>() = toNRLSwitches < 12 ? toNRLSwitches : 12;
A reconstructed sequence of two dimensional hits in one super layer.
double getRLAsymmetry() const
Getter for the sum of right left information relative to the size.
int getNRLSwitches() const
Getter for the number of changes in the right left passage in the segment.
Class representing a pair of one reconstructed axial segment and one stereo segment in adjacent super...
const CDCSegment2D * getToSegment() const
Getter for the to segment.
const CDCSegment2D * getFromSegment() const
Getter for the from segment.
bool extract(const CDCSegmentPair *ptrSegmentPair) final
Generate and assign the contained variables.
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.
Abstract base class for different kinds of events.