Ignore:
Timestamp:
09/10/04 20:28:41 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc

    r4929 r4938  
    327327        pix.SetLast (fgChargeHiGainLast);
    328328
    329         pix.GetHGausHist()->SetName ("HCalibrationChargeHiGainPix");
    330         pix.GetHGausHist()->SetTitle("Summed Hi Gain FADC slices Pixel "); 
     329        pix.GetHGausHist()->SetName ("HChargeHiGainPix");
     330        pix.GetHGausHist()->SetTitle("Signals High Gain Pixel "); 
    331331       
    332332        pix.GetHAbsTime()->SetName ("HAbsTimeHiGainPix");
    333         pix.GetHAbsTime()->SetTitle("Absolute Arrival Times Hi Gain Pixel "); 
     333        pix.GetHAbsTime()->SetTitle("Absolute Arrival Times High Gain Pixel "); 
    334334
    335335        InitHists((*this)[i],(*fBadPixels)[i],i);
     
    354354          pix.SetLast (fgChargeLoGainLast);
    355355         
    356           pix.GetHGausHist()->SetName ("HCalibrationChargeLoGainPix");
    357           pix.GetHGausHist()->SetTitle("Summed Lo Gain FADC slices Pixel "); 
     356          pix.GetHGausHist()->SetName ("HChargeLoGainPix");
     357          pix.GetHGausHist()->SetTitle("Signals Low Gain Pixel "); 
    358358       
    359359          pix.GetHAbsTime()->SetName ("HAbsTimeLoGainPix");
    360           pix.GetHAbsTime()->SetTitle("Absolute Arrival Times Lo Gain Pixel "); 
     360          pix.GetHAbsTime()->SetTitle("Absolute Arrival Times Low Gain Pixel "); 
    361361
    362362          //
     
    396396        pix.SetLast (fgChargeHiGainLast);
    397397
    398         pix.GetHGausHist()->SetName ("HCalibrationChargeHiGainAreaIdx");
    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 ");
    400400       
    401401        pix.GetHAbsTime()->SetName ("HAbsTimeHiGainAreaIdx");
     
    404404        if (fGeom->InheritsFrom("MGeomCamMagic"))
    405405          {
    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 ",
    407407                                               j==0 ? "Inner Pixels " : "Outer Pixels ","High Gain Runs: "));
    408408            pix.InitBins();
     
    437437
    438438        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 ");
    440440       
    441441        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 "); 
    443443
    444444        //
     
    459459        if (fGeom->InheritsFrom("MGeomCamMagic"))
    460460          {
    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 ",
    462462                                               j==0 ? "Inner Pixels " : "Outer Pixels ","Low Gain Runs: "));
    463463            pix.InitBins();
     
    490490          pix.SetLast (fgChargeHiGainLast);
    491491
    492           pix.GetHGausHist()->SetName ("HCalibrationChargeHiGainPix");
     492          pix.GetHGausHist()->SetName ("HChargeHiGainPix");
    493493          pix.GetHGausHist()->SetTitle("Signals averaged on event-by-event basis HiGain Sector "); 
    494494       
     
    519519          pix.SetLast (fgChargeLoGainLast);
    520520
    521           pix.GetHGausHist()->SetName ("HCalibrationChargeLoGainPix");
     521          pix.GetHGausHist()->SetName ("HChargeLoGainPix");
    522522          pix.GetHGausHist()->SetTitle("Signals averaged on event-by-event basis LoGain Sector "); 
    523523       
     
    713713        hipix.FillHist(fSumhiarea[j]/npix);
    714714     
    715       hipix.SetSaturated    (fSathiarea [j]/npix);
     715      hipix.SetSaturated    ((Float_t)fSathiarea [j]/npix > 0.5 ? 1 : 0);
    716716      hipix.FillAbsTime     (fTimehiarea[j]/npix);
    717717
     
    723723          else
    724724            lopix.FillHist(fSumloarea [j]/npix);
    725           lopix.SetSaturated    (fSatloarea [j]/npix);
     725          lopix.SetSaturated    ((Float_t)fSatloarea [j]/npix > 0.5 ? 1 : 0);
    726726          lopix.FillAbsTime     (fTimeloarea[j]/npix);
    727727        }
     
    743743        hipix.FillHist(fSumhisector [j]/npix);
    744744
    745       hipix.SetSaturated    (fSathisector [j]/npix);
     745      hipix.SetSaturated    ((Float_t)fSathisector[j]/npix > 0.5 ? 1 : 0);
    746746      hipix.FillAbsTime     (fTimehisector[j]/npix);
    747747
     
    755755            lopix.FillHist(fSumlosector [j]/npix);
    756756           
    757           lopix.SetSaturated    (fSatlosector [j]/npix);
     757          lopix.SetSaturated    ((Float_t)fSatlosector[j]/npix > 0.5 ? 1 : 0);
    758758          lopix.FillAbsTime     (fTimelosector[j]/npix);
    759759        }
Note: See TracChangeset for help on using the changeset viewer.