Changeset 3108 for trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc
- Timestamp:
- 02/12/04 00:33:23 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc
r3087 r3108 62 62 63 63 const Int_t MHCalibrationPixel::fPSDNbins = 30; 64 const Int_t MHCalibrationPixel::fPulserFrequency = 500; 64 65 65 66 // -------------------------------------------------------------------------- … … 316 317 317 318 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); 319 320 } 320 321 … … 326 327 fChargeXaxis = new TArrayF(n); 327 328 for (Int_t i=0;i<n;i++) 328 fChargeXaxis->AddAt((Float_t)i ,i);329 fChargeXaxis->AddAt((Float_t)i/fPulserFrequency,i); 329 330 return; 330 331 } … … 646 647 fChargeXaxis->GetArray(), 647 648 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"); 649 652 gr1->SetBit(kCanDelete); 650 653 gr1->Draw("AL"); … … 657 660 fChargeXaxis->GetArray(), 658 661 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"); 660 665 gr2->SetBit(kCanDelete); 661 666 gr2->Draw("AL"); … … 689 694 TGraph *gr3 = new TGraph(fPSDXaxis->GetSize(),fPSDXaxis->GetArray(),array->GetArray()); 690 695 gr3->SetTitle(title.Data()); 696 gr3->GetXaxis()->SetTitle("Freq. [Hz]"); 697 gr3->GetYaxis()->SetTitle("P(f)"); 691 698 gr3->SetBit(kCanDelete); 692 699 gr3->Draw("AL"); … … 705 712 706 713 fHPSD->Draw(opt); 714 fHPSD->GetXaxis()->SetTitle("P(f)"); 715 fHPSD->GetYaxis()->SetTitle("Counts"); 707 716 708 717 if (fPSDExpFit)
Note:
See TracChangeset
for help on using the changeset viewer.