18 namespace TrackFindingCDC {
36 inline EFitPos getFitPos(
const std::string& fitPosString)
38 if (fitPosString == std::string(
"recoPos")) {
39 return EFitPos::c_RecoPos;
40 }
else if (fitPosString == std::string(
"rlDriftCircle")) {
41 return EFitPos::c_RLDriftCircle;
42 }
else if (fitPosString == std::string(
"wirePos")) {
43 return EFitPos::c_WirePos;
45 throw std::invalid_argument(
"Unexpected fit position string : '" + fitPosString +
"'");
Abstract base class for different kinds of events.