Changeset 12498 for trunk/FACT++/src
- Timestamp:
- 11/12/11 01:25:54 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DataCalib.cc
r12475 r12498 31 31 32 32 fProcessing = false; 33 } 34 35 bool DataCalib::ResetTrgOff(DimDescribedService &dim) 36 { 37 if (fData.fStep!=3) 38 return false; 39 40 for (int i=1024*1440*3+4; i<1440*1024*6+160*1024*2+4; i++) 41 fStats[i] = 0; 42 43 reinterpret_cast<uint32_t*>(fStats.data())[0] = 0; 44 reinterpret_cast<uint32_t*>(fStats.data())[3] = 0; 45 46 fData.fStep = 1; 47 Update(dim); 48 fData.fStep = 2; 49 50 return true; 33 51 } 34 52 -
trunk/FACT++/src/DataCalib.h
r12475 r12498 31 31 32 32 static void Restart(); 33 static bool ResetTrgOff(DimDescribedService &dim); 33 34 static void Update(DimDescribedService &dim); 34 35
Note:
See TracChangeset
for help on using the changeset viewer.