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

@@ -150,6 +150,18 @@ class singlePhotonDetector {
\param iy pixel y coordinate
*/
double getPedestalRMS(int ix, int iy){if (ix>=0 && ix<nx && iy>=0 && iy<ny) return stat[iy][ix].getPedestalRMS();else return -1;};
/**
sets pedestal
\param ix pixel x coordinate
\param iy pixel y coordinate
\param val value to set
*/
virtual void setPedestal(int ix, int iy, double val){if (ix>=0 && ix<nx && iy>=0 && iy<ny) stat[iy][ix].setPedestal(val);};
/** sets/gets number of rms threshold to detect photons