--- calo/flight/FUTILITIES/macros/caloclasses.cxx 2006/03/22 15:07:47 1.1.1.1 +++ calo/flight/FUTILITIES/macros/caloclasses.cxx 2008/09/22 20:18:48 1.2 @@ -66,7 +66,33 @@ }; }; + +void CalorimeterCalibScan::Clear(){ + calno = 0.; + evno = 0; + for (Int_t a = 0; a < 4 ; a++){ + etime[a] = 0; + cperror[a] = 0.; + cstwerr[a] = 0; + }; + for (Int_t i=0; i<2;i++){ + for (Int_t j=0; j<22;j++){ + for (Int_t m=0; m<96;m++){ + calped[i][j][m] = 0.; + calgood[i][j][m] = 0.; + calrms[i][j][m] = 0.; + if ( m < 6){ + calbase[i][j][m] = 0.; + calthr[i][j][m] = 0.; + calvar[i][j][m] = 0.; + }; + }; + }; + }; +} + CalorimeterLevel1::CalorimeterLevel1() { + obt = 0; evno = 0; nobase = 0; nstrip = 0.;