Changeset 2627 for trunk/MagicSoft/Mars/mhist/MHCamera.cc
- Timestamp:
- 12/09/03 18:25:21 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r2586 r2627 739 739 // ------------------------------------------------------------------------ 740 740 // 741 // Call this function to add a MCamEvent on top of the present contents. 742 // 743 void MHCamera::SetCamError(const MCamEvent &evt, Int_t type) 744 { 745 746 if (fNcells<=1 || IsFreezed()) 747 return; 748 749 // FIXME: Security check missing! 750 for (Int_t idx=0; idx<fNcells-2; idx++) 751 { 752 Double_t val=0; 753 if (evt.GetPixelContent(val, idx, *fGeomCam, type)/* && !IsUsed(idx)*/) 754 SetUsed(idx); 755 756 SetBinError(idx+1, val); // FIXME: Slow! 757 } 758 } 759 760 761 762 // ------------------------------------------------------------------------ 763 // 741 764 // Call this function to add a MHCamera on top of the present contents. 742 765 // Type:
Note:
See TracChangeset
for help on using the changeset viewer.