Ignore:
Timestamp:
08/04/06 10:43:50 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 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
Note: See TracChangeset for help on using the changeset viewer.