Changeset 5465
- Timestamp:
- 11/24/04 16:16:09 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5464 r5465 28 28 29 29 * mpedestal/MPedestalPix.[h,cc] 30 * mpedestal/MPedestalCam.[h,cc] 30 31 - introduced Copy-function 31 32 -
trunk/MagicSoft/Mars/mpedestal/MPedestalCam.cc
r4794 r5465 99 99 // -------------------------------------------------------------------------- 100 100 // 101 // Copy 'constructor' 102 // 103 void MPedestalCam::Copy(TObject &object) const 104 { 105 106 MPedestalCam &cam = (MPedestalCam&)object; 107 108 const Int_t n = GetSize(); 109 110 if (n==0) 111 return; 112 113 cam.InitSize(n); 114 for (int i=0; i<n; i++) 115 (*this)[i].Copy(cam[i]); 116 } 117 118 // -------------------------------------------------------------------------- 119 // 101 120 // Set the size of the camera 102 121 // -
trunk/MagicSoft/Mars/mpedestal/MPedestalCam.h
r4794 r5465 31 31 32 32 void Clear(Option_t *o=""); 33 void Copy(TObject &object) const; 33 34 34 35 // Getters
Note:
See TracChangeset
for help on using the changeset viewer.