8#include <tracking/trackFindingCDC/filters/segment/BasicSegmentVarSet.h>
10#include <tracking/trackFindingCDC/eventdata/segments/CDCSegment2D.h>
13using namespace TrackFindingCDC;
17 if (not ptrSegment2D)
return false;
19 var<
named(
"size")>() = ptrSegment2D->size();
20 var<
named(
"superlayer_id")>() = ptrSegment2D->getISuperLayer();
bool extract(const CDCSegment2D *ptrSegment2D) final
Generate and assign the contained variables.
A reconstructed sequence of two dimensional hits in one super layer.
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.