Changeset 3270 for trunk/MagicSoft/Mars/mcalib/MExtractBlindPixel.cc
- Timestamp:
- 02/23/04 22:43:22 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MExtractBlindPixel.cc
r3268 r3270 186 186 *fLog << warn << "WARNING - saturation occurred in the Blind Pixel " << endl; 187 187 188 //189 // catch the pointer to the event, because MHCalibrationChargeBlindPix will need it later190 //191 fPixelIter = &pixel;192 193 188 fBlindPixel->SetReadyToSave(); 194 189 … … 203 198 if (&pedpix) 204 199 { 205 f Ped = pedpix.GetPedestal() * fNumSamples;206 f PedErr = pedpix.GetPedestalRms()* fNumSamples / TMath::Sqrt((Float_t)fPedestals->GetTotalEntries());207 f PedRms = pedpix.GetPedestalRms()* TMath::Sqrt((Float_t)fNumSamples);208 f PedRmsErr = fPedErr/2.;200 fBlindPixel->SetPed ( pedpix.GetPedestal() * fNumSamples ); 201 fBlindPixel->SetPedErr ( pedpix.GetPedestalRms()* fNumSamples / TMath::Sqrt((Float_t)fPedestals->GetTotalEntries()) ); 202 fBlindPixel->SetPedRms ( pedpix.GetPedestalRms()* TMath::Sqrt((Float_t)fNumSamples) ); 203 fBlindPixel->SetPedRmsErr( fBlindPixel->GetPedErr()/2. ); 209 204 } 210 205
Note:
See TracChangeset
for help on using the changeset viewer.