Ignore:
Timestamp:
02/12/04 00:33:23 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc

    r3087 r3108  
    6262
    6363const Int_t   MHCalibrationPixel::fPSDNbins          = 30;
     64const Int_t   MHCalibrationPixel::fPulserFrequency   = 500;
    6465 
    6566// --------------------------------------------------------------------------
     
    316317
    317318  for (Int_t i=0;i<n;i++)
    318     fPSDXaxis->AddAt((Float_t)i,i);
     319    fPSDXaxis->AddAt((Float_t)(fPulserFrequency*i)/2./n,i);
    319320}
    320321
     
    326327      fChargeXaxis = new TArrayF(n);
    327328      for (Int_t i=0;i<n;i++)
    328         fChargeXaxis->AddAt((Float_t)i,i);
     329        fChargeXaxis->AddAt((Float_t)i/fPulserFrequency,i);
    329330      return;
    330331    }
     
    646647                           fChargeXaxis->GetArray(),
    647648                           fHiGains->GetArray()); 
    648   gr1->SetTitle("Evolution of HiGain charges with event number");
     649  gr1->SetTitle("Evolution of HiGain charges with time");
     650  gr1->GetXaxis()->SetTitle("Time [s]");
     651  gr1->GetYaxis()->SetTitle("Sum FADC slices"); 
    649652  gr1->SetBit(kCanDelete);
    650653  gr1->Draw("AL");
     
    657660                           fChargeXaxis->GetArray(),
    658661                           fLoGains->GetArray()); 
    659   gr2->SetTitle("Evolution of LoGain charges with event number");
     662  gr2->SetTitle("Evolution of LoGain charges with time");
     663  gr2->GetXaxis()->SetTitle("Time [s]");
     664  gr2->GetYaxis()->SetTitle("Sum FADC slices"); 
    660665  gr2->SetBit(kCanDelete);
    661666  gr2->Draw("AL");
     
    689694  TGraph *gr3 = new TGraph(fPSDXaxis->GetSize(),fPSDXaxis->GetArray(),array->GetArray());
    690695  gr3->SetTitle(title.Data());
     696  gr3->GetXaxis()->SetTitle("Freq. [Hz]");
     697  gr3->GetYaxis()->SetTitle("P(f)"); 
    691698  gr3->SetBit(kCanDelete);
    692699  gr3->Draw("AL");
     
    705712
    706713  fHPSD->Draw(opt);
     714  fHPSD->GetXaxis()->SetTitle("P(f)");
     715  fHPSD->GetYaxis()->SetTitle("Counts"); 
    707716
    708717  if (fPSDExpFit)
Note: See TracChangeset for help on using the changeset viewer.