Changeset 3231 for trunk/MagicSoft/Mars/manalysis/MPedestalCam.cc
- Timestamp:
- 02/18/04 16:40:50 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MPedestalCam.cc
r3202 r3231 58 58 59 59 fArray = new TClonesArray("MPedestalPix", 1); 60 61 60 } 62 61 … … 67 66 MPedestalCam::~MPedestalCam() 68 67 { 69 delete fArray;68 delete fArray; 70 69 } 71 70 … … 86 85 // Get the size of the MPedestalCam 87 86 // 88 UInt_t MPedestalCam::GetSize() const89 { 90 return fArray->GetEntriesFast();87 Int_t MPedestalCam::GetSize() const 88 { 89 return fArray->GetEntriesFast(); 91 90 } 92 91 … … 97 96 MPedestalPix &MPedestalCam::operator[](Int_t i) 98 97 { 99 return *static_cast<MPedestalPix*>(fArray->UncheckedAt(i));98 return *static_cast<MPedestalPix*>(fArray->UncheckedAt(i)); 100 99 } 101 100 … … 106 105 const MPedestalPix &MPedestalCam::operator[](Int_t i) const 107 106 { 108 return *static_cast<MPedestalPix*>(fArray->UncheckedAt(i));107 return *static_cast<MPedestalPix*>(fArray->UncheckedAt(i)); 109 108 } 110 109 … … 113 112 void MPedestalCam::Clear(Option_t *o) 114 113 { 115 116 114 fArray->ForEach(TObject, Clear)(); 117 115 118 fTotalEntries = 0; 119 } 120 121 116 fTotalEntries = 0; 117 } 122 118 123 119 void MPedestalCam::Print(Option_t *o) const
Note:
See TracChangeset
for help on using the changeset viewer.