Changeset 3952 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 05/03/04 19:03:03 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimeCalc.cc
r3941 r3952 72 72 using namespace std; 73 73 74 const Float_t MCalibrationRelTimeCalc::fgRelTimeRelErrLimit = 25.;74 const Float_t MCalibrationRelTimeCalc::fgRelTimeRelErrLimit = 7.5; 75 75 // -------------------------------------------------------------------------- 76 76 // … … 292 292 continue; 293 293 294 if (bad.IsUnsuitable(MBadPixelsPix::kUnreliableRun))295 continue;296 297 294 const Float_t res = pix.GetTimePrecision(); 298 295 const Int_t aidx = (*fGeom)[i].GetAidx(); … … 306 303 for (UInt_t aidx=0; aidx<nareas; aidx++) 307 304 { 308 if (numareavalid[aidx] ==0)309 { 310 *fLog << warn << GetDescriptor() << ": Nopixels with valid time resolution found "305 if (numareavalid[aidx] < 20) 306 { 307 *fLog << warn << GetDescriptor() << ": Less than 20 pixels with valid time resolution found " 311 308 << "in area index: " << aidx << endl; 312 309 continue; -
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; -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindPix.h
r3639 r3952 46 46 TVector fAPedestalFADCSlices; // Averaged FADC slice entries supposed pedestal events 47 47 48 TF1 *fSinglePheFit; // ->Single Phe Fit (Gaussians convoluted with Poisson)48 TF1 *fSinglePheFit; // Single Phe Fit (Gaussians convoluted with Poisson) 49 49 50 50 UInt_t fNumSinglePhes; // Number of entries in fASinglePheFADCSlices
Note:
See TracChangeset
for help on using the changeset viewer.