Changeset 3094 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 02/11/04 16:35:05 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MExtractSignal.cc
r3032 r3094 60 60 // 61 61 MExtractSignal::MExtractSignal(const char *name, const char *title) 62 : fSaturationLimit(fgSaturationLimit)62 : fSaturationLimit(fgSaturationLimit) 63 63 { 64 64 … … 151 151 fSignals->Clear(); 152 152 153 UInt_t sat=0; 153 UInt_t sat=0; 154 TString satpixels; 154 155 155 156 while (pixel.Next()) … … 162 163 163 164 if (satlo) 165 { 164 166 sat++; 167 satpixels += Form("%d%s",pixel.GetPixelId()," "); 168 } 169 165 170 166 171 const Int_t pixid = pixel.GetPixelId(); … … 181 186 182 187 if (sat) 183 *fLog << warn << "WARNING - Lo Gain saturated in " << sat << " pixels."<< endl;188 *fLog << warn << "WARNING - Lo Gain saturated in " << sat << " pixels: " << satpixels << endl; 184 189 185 190 fSignals->SetReadyToSave(); -
trunk/MagicSoft/Mars/manalysis/MExtractSignal2.cc
r3034 r3094 178 178 fSignals->Clear(); 179 179 180 TString satpixels; 180 181 Int_t sat=0; 182 181 183 while (pixel.Next()) 182 184 { … … 188 190 FindSignal(pixel.GetLoGainSamples()+fLoGainFirst, fNumLoGainSamples, sumlo, satlo); 189 191 if (satlo) 192 { 190 193 sat++; 191 194 satpixels += Form("%d%s",pixel.GetPixelId()," "); 195 } 196 192 197 // 193 198 // Take correspodning pedestal … … 214 219 // 215 220 if (sat) 216 *fLog << warn << "WARNING - Lo Gain saturated in " << sat << " pixels."<< endl;221 *fLog << warn << "WARNING - Lo Gain saturated in " << sat << " pixels: " << satpixels << endl; 217 222 218 223 fSignals->SetReadyToSave();
Note:
See TracChangeset
for help on using the changeset viewer.