Changeset 3231 for trunk/MagicSoft
- Timestamp:
- 02/18/04 16:40:50 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3230 r3231 12 12 variables (more readable). 13 13 14 15 14 16 2004/02/18: Hendrik Bartko 15 17 … … 19 21 - removed the files SignalCint.* 20 22 23 * mgui/MHexagon.cc 24 - added comment explaining the algorithm. 25 26 21 27 22 28 2004/01/18: Thomas Bretz 23 29 24 * manalysis/MPedestalCam. h30 * manalysis/MPedestalCam.[h,cc]: 25 31 - Changed order of derivements - seems to be VERY important! 32 - changed GetSize from UInt_t to Int_t which is the type 33 of TClonesArray::GetSize() ! 26 34 27 35 * mfileio/MReadReports.cc: -
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 -
trunk/MagicSoft/Mars/manalysis/MPedestalCam.h
r3223 r3231 35 35 36 36 // Getters 37 UInt_t GetSize() const;37 Int_t GetSize() const; 38 38 ULong_t GetTotalEntries() const { return fTotalEntries; } 39 39
Note:
See TracChangeset
for help on using the changeset viewer.