- Timestamp:
- 05/03/04 19:03:03 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindPix.cc
r3723 r3952 120 120 // Initializes: 121 121 // - all pointers to NULL 122 // - fASinglePheFADCSlices(0); 123 // - fAPedestalFADCSlices(0); 124 // 122 125 // 123 126 // Calls: … … 148 151 fHGausHist.SetYTitle("Nr. of events"); 149 152 153 fASinglePheFADCSlices(0); 154 fAPedestalFADCSlices(0); 155 150 156 Clear(); 151 157 } … … 294 300 // - MExtractedSignalBlindPixel 295 301 // 296 // Initializes:297 // - fASinglePheFADCSlices(0);298 // - fAPedestalFADCSlices(0);299 //300 302 // Calls: 301 303 // - MHGausHist::InitBins() … … 317 319 return kFALSE; 318 320 } 319 320 fASinglePheFADCSlices(0);321 fAPedestalFADCSlices(0);322 321 323 322 InitBins(); … … 985 984 986 985 pad->cd(3); 987 if (fHSinglePheFADCSlices) 988 delete fHSinglePheFADCSlices; 989 990 fHSinglePheFADCSlices = new TH1F(fASinglePheFADCSlices); 991 fHSinglePheFADCSlices->SetName("SinglePheFADCSlices"); 992 fHSinglePheFADCSlices->SetTitle(Form("%s%f","Assumed Single Phe FADC Slices, Sum > ",fSinglePheCut)); 993 fHSinglePheFADCSlices->SetXTitle("FADC slice number"); 994 fHSinglePheFADCSlices->SetYTitle("FADC counts"); 995 fHSinglePheFADCSlices->Draw(opt); 996 986 987 if (fASinglePheFADCSlices.GetNrows() != 0) 988 { 989 if (fHSinglePheFADCSlices) 990 delete fHSinglePheFADCSlices; 991 fHSinglePheFADCSlices = new TH1F(fASinglePheFADCSlices); 992 fHSinglePheFADCSlices->SetName("SinglePheFADCSlices"); 993 fHSinglePheFADCSlices->SetTitle(Form("%s%f","Assumed Single Phe FADC Slices, Sum > ",fSinglePheCut)); 994 fHSinglePheFADCSlices->SetXTitle("FADC slice number"); 995 fHSinglePheFADCSlices->SetYTitle("FADC counts"); 996 fHSinglePheFADCSlices->Draw(opt); 997 } 998 997 999 pad->cd(4); 998 if (fHPedestalFADCSlices) 999 delete fHPedestalFADCSlices; 1000 1001 fHPedestalFADCSlices = new TH1F(fAPedestalFADCSlices); 1002 fHPedestalFADCSlices->SetName("PedestalFADCSlices"); 1003 fHPedestalFADCSlices->SetTitle(Form("%s%f","Pedestal FADC Slices, Sum < ",fSinglePheCut)); 1004 fHPedestalFADCSlices->SetXTitle("FADC slice number"); 1005 fHPedestalFADCSlices->SetYTitle("FADC counts"); 1006 fHPedestalFADCSlices->Draw(opt); 1007 1000 if (fAPedestalFADCSlices.GetNrows() != 0) 1001 { 1002 1003 if (fHPedestalFADCSlices) 1004 delete fHPedestalFADCSlices; 1005 1006 fHPedestalFADCSlices = new TH1F(fAPedestalFADCSlices); 1007 fHPedestalFADCSlices->SetName("PedestalFADCSlices"); 1008 fHPedestalFADCSlices->SetTitle(Form("%s%f","Pedestal FADC Slices, Sum < ",fSinglePheCut)); 1009 fHPedestalFADCSlices->SetXTitle("FADC slice number"); 1010 fHPedestalFADCSlices->SetYTitle("FADC counts"); 1011 fHPedestalFADCSlices->Draw(opt); 1012 } 1013 1008 1014 if (win < 2) 1009 1015 return;
Note:
See TracChangeset
for help on using the changeset viewer.