Changeset 2658 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 12/11/03 17:42:25 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCalibrationPixel.cc
r2642 r2658 116 116 fHTimeHiGain->SetXTitle("Mean Arrival Times [Hi Gain FADC slice nr]"); 117 117 fHTimeHiGain->SetYTitle("Nr. of events"); 118 fHTimeHiGain->Sumw2();118 // fHTimeHiGain->Sumw2(); 119 119 120 120 fHTimeHiGain->SetDirectory(NULL); … … 124 124 fHTimeLoGain->SetXTitle("Mean Arrival Times [Lo Gain FADC slice nr]"); 125 125 fHTimeLoGain->SetYTitle("Nr. of events"); 126 fHTimeLoGain->Sumw2();126 // fHTimeLoGain->Sumw2(); 127 127 128 128 fHTimeLoGain->SetDirectory(NULL); … … 183 183 184 184 fPixId = id; 185 185 186 // 187 // Names Hi gain Histograms 188 // 186 189 TString nameQHiGain = TString(fHChargeHiGain->GetName()); 187 190 nameQHiGain += id; … … 196 199 fHChargevsNHiGain->SetName(nameQvsNHiGain.Data()); 197 200 201 // 202 // Title Hi gain Histograms 203 // 198 204 TString titleQHiGain = TString(fHChargeHiGain->GetTitle()); 199 205 titleQHiGain += id; … … 208 214 fHChargevsNHiGain->SetTitle(titleQvsNHiGain.Data()); 209 215 210 216 // 217 // Names Low Gain Histograms 218 // 211 219 TString nameQLoGain = TString(fHChargeLoGain->GetName()); 212 220 nameQLoGain += id; … … 221 229 fHChargevsNLoGain->SetName(nameQvsNLoGain.Data()); 222 230 231 // 232 // Titles Low Gain Histograms 233 // 223 234 TString titleQLoGain = TString(fHChargeLoGain->GetTitle()); 224 235 titleQLoGain += id; … … 374 385 fHiGainvsLoGain->GetXaxis()->Set(300,0.,1500.); 375 386 fHiGainvsLoGain->GetYaxis()->Set(400,0.,2000.); 387 fHiGainvsLoGain->GetXaxis()->SetTitle("Sum of Charges High Gain"); 388 fHiGainvsLoGain->GetYaxis()->SetTitle("Sum of Charges Low Gain"); 376 389 fHiGainvsLoGain->SetMarkerStyle(7); 377 390 … … 480 493 if (fTimeGausFit) 481 494 { 482 if (fTime Chisquare > 1.)495 if (fTimeProb > gkProbLimit) 483 496 fTimeGausFit->SetLineColor(kRed); 484 497 else … … 494 507 if (fTimeGausFit) 495 508 { 496 if (fTime Chisquare > 1.)509 if (fTimeProb > gkProbLimit) 497 510 fTimeGausFit->SetLineColor(kRed); 498 511 else … … 535 548 return kFALSE; 536 549 537 rmin = (rmin != 0.) ? rmin : 4.;550 rmin = (rmin != 0.) ? rmin : 3.; 538 551 rmax = (rmax != 0.) ? rmax : 9.; 539 552 … … 575 588 fTimeSigma = fTimeGausFit->GetParameter(2); 576 589 577 if (fTime Chisquare > 1.)590 if (fTimeProb < gkProbLimit) 578 591 { 579 592 *fLog << warn << "Fit of the Arrival times failed ! " << endl; … … 591 604 return kFALSE; 592 605 593 rmin = (rmin != 0.) ? rmin : 4.;606 rmin = (rmin != 0.) ? rmin : 3.; 594 607 rmax = (rmax != 0.) ? rmax : 9.; 595 608 … … 631 644 fTimeSigma = fTimeGausFit->GetParameter(2); 632 645 633 if (fTime Chisquare > 1.)646 if (fTimeProb < gkProbLimit) 634 647 { 635 648 *fLog << warn << "Fit of the Arrival times failed ! " << endl; … … 709 722 } 710 723 711 712 724 fFitOK = kTRUE; 713 725 -
trunk/MagicSoft/Mars/mhist/MHCalibrationPixel.h
r2642 r2658 36 36 37 37 Int_t fPixId; // Pixel Nr 38 TGraph *fHiGainvsLoGain; // Plot the HiGain vs. the LoGain38 TGraph *fHiGainvsLoGain; //! Plot the HiGain vs. the LoGain 39 39 Int_t fTotalEntries; // Number of entries 40 40
Note:
See TracChangeset
for help on using the changeset viewer.