10 const std::string& latexName,
14 : fShortName(shortName), fLatexName(latexName), fApplyPenalty(applyPenalty), fMin(min), fMax(max)
36 if(x >=
Min() && x <=
Max())
return 0;
41 const double rad = (
Max()-
Min())/2;
process_name opflash particleana ie x
ISyst(const std::string &shortName, const std::string &latexName, bool applyPenalty=true, double min=-3, double max=+3)
virtual double Max() const
process_name opflashCryoW ana
virtual double Min() const
Return the min/max value for this syst.
T sqr(T x)
More efficient square function than pow(x,2)
static void UnRegister(const ISyst *s)
static void Register(const ISyst *s)
double mean(const std::vector< short > &wf, size_t start, size_t nsample)
virtual double Penalty(double x) const