1 #ifndef _SdSignalRecoveryKLT_SdSignalRecovery_h_
2 #define _SdSignalRecoveryKLT_SdSignalRecovery_h_
4 #include <fwk/VModule.h>
17 namespace SdSignalRecoveryKLT {
81 double& value,
double* par,
const int flag);
86 const int saturationValue)
const;
89 const int saturationValue);
static void SaturationFitFnc(int &nPar, double *const grad, double &value, double *par, const int flag)
class to hold data at PMT level
Report success to RunController.
unsigned int fFirstSatBin
NonLinearity fNonLinearityPlusSigma
std::vector< double > fBeta
NonLinearity fNonLinearity
double RecoverSignalUndershoot(const utl::TraceI &dynodeTrace, const utl::TraceI &anodeTrace, const int saturationValue) const
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
std::vector< double > fAlpha
double ComputeAmplitude(SaturationFitInterface &sfi) const
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
class to hold data at Station level
double SaturationFitDriver(SaturationFitInterface &sfi) const
bool SetNonLinearityCurve(const NonLinearity &nL)
ResultFlag
Flag returned by module methods to the RunController.
std::vector< double > fSignalLimits
int fRecoverUnsaturatedSignal
static double fgVEMTrace[768]
REGISTER_MODULE("SdSignalRecoveryKLT", SignalRecovery)
NonLinearity fNonLinearityMinusSigma