8#include <tracking/trackFindingCDC/topology/EWirePositionToCDC.h>
11using namespace TrackFindingCDC;
15 if (wirePosition == EWirePosition::c_Base) {
16 return CDC::CDCGeometryPar::EWirePosition::c_Base;
17 }
else if (wirePosition == EWirePosition::c_Misaligned) {
18 return CDC::CDCGeometryPar::EWirePosition::c_Misaligned;
19 }
else if (wirePosition == EWirePosition::c_Aligned) {
20 return CDC::CDCGeometryPar::EWirePosition::c_Aligned;
22 B2ERROR(
"Unexpected EWirePosition");
23 return CDC::CDCGeometryPar::EWirePosition::c_Base;
28 if (wirePosSet == CDC::CDCGeometryPar::EWirePosition::c_Base) {
29 return EWirePosition::c_Base;
30 }
else if (wirePosSet == CDC::CDCGeometryPar::EWirePosition::c_Misaligned) {
31 return EWirePosition::c_Misaligned;
32 }
else if (wirePosSet == CDC::CDCGeometryPar::EWirePosition::c_Aligned) {
33 return EWirePosition::c_Aligned;
35 B2ERROR(
"Unexpected EWirePosition");
36 return EWirePosition::c_Base;
EWirePosition
Wire position set.
EWirePosition
Wire position set.
Abstract base class for different kinds of events.