Changeset 7846 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
08/04/06 10:43:50 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/fillsignal.C

    r7834 r7846  
    131131    }
    132132
    133     MHCamera *pulhi = (MHCamera*)arr.FindObjectInCanvas("PulseHi;avg", "TH1D", "PulseHi");
    134     if (!pulhi)
    135     {
    136         cout << "WARNING - Reading of PulseHi failed." << endl;
    137         return 2;
    138     }
    139     MHCamera *pullo = (MHCamera*)arr.FindObjectInCanvas("PulseLo;avg", "TH1D", "PulseLo");
    140     if (!pullo)
    141     {
    142         cout << "WARNING - Reading of PulseLo failed." << endl;
     133    MHCamera *hilo = (MHCamera*)arr.FindObjectInCanvas("HiLoOff;avg", "MHCamera", "HiLoOff");
     134    if (!hilo)
     135    {
     136        cout << "WARNING - Reading of HiLoOff failed." << endl;
    143137        return 2;
    144138    }
     
    207201    Double_t meanlo  = TMath::Nint(pullo->GetMean()*100.)/100.;
    208202    Double_t rmslo   = TMath::Nint(pullo->GetRMS() *100.)/100.;
    209  */
    210203    pullo->Add(pullo, pulhi, 1, -1);
    211204    pullo->ResetBit(MHCamera::kProfile);
     
    213206    Double_t meanoff = TMath::Nint(pullo->GetMean()*100.)/100.;
    214207    Double_t rmsoff  = TMath::Nint(pullo->GetRMS() *100.)/100.;
     208 */
     209    Double_t meanoff = TMath::Nint(hilo->GetMean()*100.)/100.;
     210    Double_t rmsoff  = TMath::Nint(hilo->GetRMS() *100.)/100.;
    215211
    216212    //get sequence number from the filename
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r7845 r7846  
    584584    //MHCamEvent evtH( 11, "PulseHi",    "Pulse Position of Hi-Gain;;T");
    585585    //MHCamEvent evtL( 10, "PulseLo",    "Pulse Position of Lo-Gain;;T");
    586     MHCamEvent evtR(  4, "HiLoCal",    "Hi-Lo Gain ratio;;");
    587     MHCamEvent evtO(  7, "HiLoOff",    "Hi-Lo Offset;;");
     586    MHCamEvent evtR(  4, "HiLoCal",    "Hi-/Lo-Gain ratio;;Ratio");
     587    MHCamEvent evtO(  7, "HiLoOff",    "Hi-/Lo-Gain Offset;;Offset");
    588588    evt6.SetThreshold();
    589589
Note: See TracChangeset for help on using the changeset viewer.