2022-02-05 13:20:45 -05:00
|
|
|
#include "Navigator.h"
|
|
|
|
|
|
|
|
namespace Navigator {
|
|
|
|
|
|
|
|
class SPSAnalysisStage : public AnalysisStage
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
SPSAnalysisStage();
|
|
|
|
virtual ~SPSAnalysisStage();
|
|
|
|
|
2022-02-19 11:33:21 -05:00
|
|
|
virtual void AnalyzePhysicsEvent(const NavEvent& event) override;
|
2022-02-05 13:20:45 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
NavParameter delayFLTime;
|
|
|
|
NavParameter delayFRTime;
|
|
|
|
NavParameter delayBLTime;
|
|
|
|
NavParameter delayBRTime;
|
|
|
|
NavParameter x1;
|
|
|
|
NavParameter x2;
|
|
|
|
NavParameter xavg;
|
2022-02-22 20:11:08 -05:00
|
|
|
NavParameter scintLeft;
|
|
|
|
NavParameter anodeBack;
|
2022-02-05 13:20:45 -05:00
|
|
|
|
|
|
|
double weight1 = 1.7;
|
|
|
|
double weight2 = -0.7;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|