mirror of
https://github.com/gwm17/Specter.git
synced 2024-11-23 02:38:52 -05:00
36 lines
719 B
C++
36 lines
719 B
C++
/*
|
|
SPSAnalysisStage.h
|
|
Example of a user AnalysisStage. This one is based around the SE-SPS detector system in FoxLab at FSU.
|
|
|
|
GWM -- Feb 2022
|
|
*/
|
|
#include "Navigator.h"
|
|
|
|
namespace Navigator {
|
|
|
|
class SPSAnalysisStage : public AnalysisStage
|
|
{
|
|
public:
|
|
SPSAnalysisStage();
|
|
virtual ~SPSAnalysisStage();
|
|
|
|
virtual void AnalyzePhysicsEvent(const NavEvent& event) override;
|
|
|
|
private:
|
|
//Create a bunch of parameters
|
|
NavParameter delayFLTime;
|
|
NavParameter delayFRTime;
|
|
NavParameter delayBLTime;
|
|
NavParameter delayBRTime;
|
|
NavParameter x1;
|
|
NavParameter x2;
|
|
NavParameter xavg;
|
|
NavParameter scintLeft;
|
|
NavParameter anodeBack;
|
|
|
|
//some variables.
|
|
double weight1 = 1.7;
|
|
double weight2 = -0.7;
|
|
};
|
|
|
|
} |