8#include <tracking/trackFindingCDC/findlets/minimal/RLTaggedWireHitCreator.h>
10#include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
11#include <tracking/trackFindingCDC/eventdata/hits/CDCRLWireHit.h>
16using namespace TrackFindingCDC;
20 return "Use all not-taken stereo hits and output them as right and left hypothesis.";
26 for (
const CDCWireHit& wireHit : inputWireHits) {
27 if (not wireHit->hasTakenFlag() and not wireHit.isAxial()) {
28 wireHit->unsetAssignedFlag();
29 for (
ERightLeft rlInfo : {ERightLeft::c_Left, ERightLeft::c_Right}) {
30 outputRLWireHits.emplace_back(&wireHit, rlInfo);
Class representing a hit wire in the central drift chamber.
std::string getDescription() final
Short description of the findlet.
void apply(std::vector< CDCWireHit > &inputWireHits, std::vector< CDCRLWireHit > &outputRLWireHits) final
Generates the segment from wire hits.
ERightLeft
Enumeration to represent the distinct possibilities of the right left passage.
Abstract base class for different kinds of events.