added moenchT1 data structure

This commit is contained in:
2016-12-15 13:58:55 +01:00
parent d6793a0802
commit 545c5530e3
8 changed files with 267 additions and 4 deletions

View File

@ -39,8 +39,11 @@ class pedestalSubtraction {
*/
virtual int SetNPedestals(int i=-1) {if (i>0) stat.SetN(i); return stat.GetN();};
/** sets the moving average */
virtual void setPedestal(double val) {stat.Set(val);}
private:
MovingStat stat; /**< approximated moving average struct */