Changeset 7188 for trunk/MagicSoft/Mars/mpedestal/MPedestalCam.cc
- Timestamp:
- 07/13/05 19:06:26 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpedestal/MPedestalCam.cc
r5558 r7188 276 276 } 277 277 278 void MPedestalCam::PrintArr(const TCollection &list) const 279 { 280 Int_t id = 0; 281 282 TIter Next(&list); 283 MPedestalPix *pix = 0; 284 285 while ((pix=(MPedestalPix*)Next())) 286 *fLog << Form("Nr.: %4i Pedestal: %5.2f RMS: %5.2f ABOffset: %5.2f ", 287 id++, pix->GetPedestal(), pix->GetPedestalRms(), pix->GetPedestalABoffset()) << endl; 288 } 289 278 290 void MPedestalCam::Print(Option_t *o) const 279 291 { 280 292 *fLog << all << GetDescriptor() << ":" << endl; 281 int id = 0; 282 283 TIter Next(fArray); 284 MPedestalPix *pix; 285 while ((pix=(MPedestalPix*)Next())) 286 { 287 id++; 288 289 if (!pix->IsValid()) 290 continue; 291 292 *fLog << id-1 << ": "; 293 *fLog << pix->GetPedestal() << " " << pix->GetPedestalRms() << endl; 294 } 293 *fLog << "Pixels:" << endl; 294 *fLog << endl; 295 296 PrintArr(*fArray); 297 298 *fLog << endl; 299 *fLog << "Event-by-event averaged areas:" << endl; 300 *fLog << endl; 301 302 PrintArr(*fAverageAreas); 303 304 *fLog << endl; 305 *fLog << "Event-by-event averaged sectors:" << endl; 306 *fLog << endl; 307 308 PrintArr(*fAverageSectors); 295 309 } 296 310
Note:
See TracChangeset
for help on using the changeset viewer.