Changeset 4540
- Timestamp:
- 08/06/04 20:19:20 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractedSignalBlindPixel.h
r4386 r4540 66 66 void SetBlindPixelIdx ( const Int_t i, const Int_t nr=0) { 67 67 if (nr>fBlindPixelIdx.GetSize()-1) 68 fBlindPixelIdx.Set(nr+1); 68 { 69 fBlindPixelIdx.Set(nr+1); 70 fExtractedSignal.Set(nr+1); 71 fNumSaturated.Set(nr+1); 72 fPed.Set(nr+1); 73 fPedErr.Set(nr+1); 74 fPedRms.Set(nr+1); 75 fPedRmsErr.Set(nr+1); 76 } 69 77 fBlindPixelIdx.AddAt(i,nr); } 70 78 void SetExtractedSignal( const Float_t f, const Int_t nr=0 ) { 71 if (nr>fExtractedSignal.GetSize()-1)72 fExtractedSignal.Set(nr+1);73 79 fExtractedSignal.AddAt(f,nr); } 74 80 void SetNumSaturated ( const Int_t i, const Int_t nr=0 ) { 75 if (nr>fNumSaturated.GetSize()-1)76 fNumSaturated.Set(nr+1);77 81 fNumSaturated.AddAt(i,nr); } 78 82 void SetPed ( const Float_t f, const Int_t nr=0 ) { 79 if (nr>fPed.GetSize()-1)80 fPed.Set(nr+1);81 83 fPed.AddAt(f,nr); } 82 84 void SetPedErr ( const Float_t f, const Int_t nr=0 ) { 83 if (nr>fPedErr.GetSize()-1)84 fPedErr.Set(nr+1);85 85 fPedErr.AddAt(f,nr); } 86 86 void SetPedRms ( const Float_t f, const Int_t nr=0 ) { 87 if (nr>fPedRms.GetSize()-1)88 fPedRms.Set(nr+1);89 87 fPedRms.AddAt(f,nr); } 90 88 void SetPedRmsErr ( const Float_t f, const Int_t nr=0 ) { 91 if (nr>fPedRmsErr.GetSize()-1)92 fPedRmsErr.Set(nr+1);93 89 fPedRmsErr.AddAt(f,nr); } 94 90
Note:
See TracChangeset
for help on using the changeset viewer.