Changeset 4938 for trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc
- Timestamp:
- 09/10/04 20:28:41 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc
r4929 r4938 327 327 pix.SetLast (fgChargeHiGainLast); 328 328 329 pix.GetHGausHist()->SetName ("HC alibrationChargeHiGainPix");330 pix.GetHGausHist()->SetTitle("S ummed Hi Gain FADC slicesPixel ");329 pix.GetHGausHist()->SetName ("HChargeHiGainPix"); 330 pix.GetHGausHist()->SetTitle("Signals High Gain Pixel "); 331 331 332 332 pix.GetHAbsTime()->SetName ("HAbsTimeHiGainPix"); 333 pix.GetHAbsTime()->SetTitle("Absolute Arrival Times Hi Gain Pixel ");333 pix.GetHAbsTime()->SetTitle("Absolute Arrival Times High Gain Pixel "); 334 334 335 335 InitHists((*this)[i],(*fBadPixels)[i],i); … … 354 354 pix.SetLast (fgChargeLoGainLast); 355 355 356 pix.GetHGausHist()->SetName ("HC alibrationChargeLoGainPix");357 pix.GetHGausHist()->SetTitle("S ummed Lo Gain FADC slicesPixel ");356 pix.GetHGausHist()->SetName ("HChargeLoGainPix"); 357 pix.GetHGausHist()->SetTitle("Signals Low Gain Pixel "); 358 358 359 359 pix.GetHAbsTime()->SetName ("HAbsTimeLoGainPix"); 360 pix.GetHAbsTime()->SetTitle("Absolute Arrival Times Lo Gain Pixel ");360 pix.GetHAbsTime()->SetTitle("Absolute Arrival Times Low Gain Pixel "); 361 361 362 362 // … … 396 396 pix.SetLast (fgChargeHiGainLast); 397 397 398 pix.GetHGausHist()->SetName ("HC alibrationChargeHiGainAreaIdx");399 pix.GetHGausHist()->SetTitle("Signal averaged on event-by-event basis High Gain Area Idx ");398 pix.GetHGausHist()->SetName ("HChargeHiGainAreaIdx"); 399 pix.GetHGausHist()->SetTitle("Signals averaged on event-by-event basis High Gain Area Idx "); 400 400 401 401 pix.GetHAbsTime()->SetName ("HAbsTimeHiGainAreaIdx"); … … 404 404 if (fGeom->InheritsFrom("MGeomCamMagic")) 405 405 { 406 pix.GetHGausHist()->SetTitle(Form("%s%s%s","Signal averaged on event-by-event basis ",406 pix.GetHGausHist()->SetTitle(Form("%s%s%s","Signals averaged on event-by-event basis ", 407 407 j==0 ? "Inner Pixels " : "Outer Pixels ","High Gain Runs: ")); 408 408 pix.InitBins(); … … 437 437 438 438 pix.GetHGausHist()->SetName ("HChargeLoGainAreaIdx"); 439 pix.GetHGausHist()->SetTitle("Signal averaged on event-by-event basis Low Gain Area Idx ");439 pix.GetHGausHist()->SetTitle("Signals averaged on event-by-event basis Low Gain Area Idx "); 440 440 441 441 pix.GetHAbsTime()->SetName ("HAbsTimeLoGainAreaIdx"); 442 pix.GetHAbsTime()->SetTitle("Absolute Arrival Times average Lo Gain Area Idx ");442 pix.GetHAbsTime()->SetTitle("Absolute Arrival Times average Low Gain Area Idx "); 443 443 444 444 // … … 459 459 if (fGeom->InheritsFrom("MGeomCamMagic")) 460 460 { 461 pix.GetHGausHist()->SetTitle(Form("%s%s%s","Signal averaged on event-by-event basis ",461 pix.GetHGausHist()->SetTitle(Form("%s%s%s","Signals averaged on event-by-event basis ", 462 462 j==0 ? "Inner Pixels " : "Outer Pixels ","Low Gain Runs: ")); 463 463 pix.InitBins(); … … 490 490 pix.SetLast (fgChargeHiGainLast); 491 491 492 pix.GetHGausHist()->SetName ("HC alibrationChargeHiGainPix");492 pix.GetHGausHist()->SetName ("HChargeHiGainPix"); 493 493 pix.GetHGausHist()->SetTitle("Signals averaged on event-by-event basis HiGain Sector "); 494 494 … … 519 519 pix.SetLast (fgChargeLoGainLast); 520 520 521 pix.GetHGausHist()->SetName ("HC alibrationChargeLoGainPix");521 pix.GetHGausHist()->SetName ("HChargeLoGainPix"); 522 522 pix.GetHGausHist()->SetTitle("Signals averaged on event-by-event basis LoGain Sector "); 523 523 … … 713 713 hipix.FillHist(fSumhiarea[j]/npix); 714 714 715 hipix.SetSaturated ( fSathiarea [j]/npix);715 hipix.SetSaturated ((Float_t)fSathiarea [j]/npix > 0.5 ? 1 : 0); 716 716 hipix.FillAbsTime (fTimehiarea[j]/npix); 717 717 … … 723 723 else 724 724 lopix.FillHist(fSumloarea [j]/npix); 725 lopix.SetSaturated ( fSatloarea [j]/npix);725 lopix.SetSaturated ((Float_t)fSatloarea [j]/npix > 0.5 ? 1 : 0); 726 726 lopix.FillAbsTime (fTimeloarea[j]/npix); 727 727 } … … 743 743 hipix.FillHist(fSumhisector [j]/npix); 744 744 745 hipix.SetSaturated ( fSathisector [j]/npix);745 hipix.SetSaturated ((Float_t)fSathisector[j]/npix > 0.5 ? 1 : 0); 746 746 hipix.FillAbsTime (fTimehisector[j]/npix); 747 747 … … 755 755 lopix.FillHist(fSumlosector [j]/npix); 756 756 757 lopix.SetSaturated ( fSatlosector [j]/npix);757 lopix.SetSaturated ((Float_t)fSatlosector[j]/npix > 0.5 ? 1 : 0); 758 758 lopix.FillAbsTime (fTimelosector[j]/npix); 759 759 }
Note:
See TracChangeset
for help on using the changeset viewer.