Changeset 4946 for trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc
- Timestamp:
- 09/10/04 22:15:18 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc
r4943 r4946 137 137 SetReferencePixel(); 138 138 139 Set RelTimeNbins();140 Set RelTimeFirst();141 Set RelTimeLast ();139 SetNbins(fgRelTimeNbins); 140 SetFirst(fgRelTimeFirst); 141 SetLast (fgRelTimeLast ); 142 142 } 143 143 … … 209 209 210 210 MHCalibrationPix &pix = (*this)[i]; 211 pix.SetNbins(f RelTimeNbins);212 pix.SetFirst(f RelTimeFirst);213 pix.SetLast (f RelTimeLast);211 pix.SetNbins(fNbins); 212 pix.SetFirst(fFirst); 213 pix.SetLast (fLast); 214 214 215 215 TH1F *h = pix.GetHGausHist(); … … 233 233 MHCalibrationPix &pix = (*this)(i); 234 234 235 pix.SetNbins(f RelTimeNbins);236 pix.SetFirst(f RelTimeFirst);237 pix.SetLast (f RelTimeLast);235 pix.SetNbins(fNbins); 236 pix.SetFirst(fFirst); 237 pix.SetLast (fLast); 238 238 239 239 TH1F *h = pix.GetHGausHist(); … … 261 261 MHCalibrationPix &pix = GetAverageHiGainArea(j); 262 262 263 pix.SetNbins(f RelTimeNbins*(Int_t)TMath::Sqrt((Float_t)npixels/nareas));264 pix.SetFirst(f RelTimeFirst);265 pix.SetLast (f RelTimeLast);263 pix.SetNbins(fNbins*(Int_t)TMath::Sqrt((Float_t)npixels/nareas)); 264 pix.SetFirst(fFirst); 265 pix.SetLast (fLast); 266 266 267 267 TH1F *h = pix.GetHGausHist(); … … 298 298 MHCalibrationPix &pix = GetAverageLoGainArea(j); 299 299 300 pix.SetNbins(f RelTimeNbins*(Int_t)TMath::Sqrt((Float_t)npixels/nareas));301 pix.SetFirst(f RelTimeFirst);302 pix.SetLast (f RelTimeLast);300 pix.SetNbins(fNbins*(Int_t)TMath::Sqrt((Float_t)npixels/nareas)); 301 pix.SetFirst(fFirst); 302 pix.SetLast (fLast); 303 303 304 304 TH1F *h = pix.GetHGausHist(); … … 335 335 MHCalibrationPix &pix = GetAverageHiGainSector(j); 336 336 337 pix.SetNbins(f RelTimeNbins*(Int_t)TMath::Sqrt((Float_t)npixels/nsectors));338 pix.SetFirst(f RelTimeFirst);339 pix.SetLast (f RelTimeLast);337 pix.SetNbins(fNbins*(Int_t)TMath::Sqrt((Float_t)npixels/nsectors)); 338 pix.SetFirst(fFirst); 339 pix.SetLast (fLast); 340 340 341 341 TH1F *h = pix.GetHGausHist(); … … 362 362 MHCalibrationPix &pix = GetAverageLoGainSector(j); 363 363 364 pix.SetNbins(f RelTimeNbins*(Int_t)TMath::Sqrt((Float_t)npixels/nsectors));365 pix.SetFirst(f RelTimeFirst);366 pix.SetLast (f RelTimeLast);364 pix.SetNbins(fNbins*(Int_t)TMath::Sqrt((Float_t)npixels/nsectors)); 365 pix.SetFirst(fFirst); 366 pix.SetLast (fLast); 367 367 368 368 TH1F *h = pix.GetHGausHist();
Note:
See TracChangeset
for help on using the changeset viewer.