Changeset 3982 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 05/05/04 17:26:14 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r3936 r3982 228 228 const Float_t MCalibrationChargeCalc::fgLambdaErrLimit = 0.2; 229 229 const Float_t MCalibrationChargeCalc::fgLambdaCheckLimit = 0.2; 230 const Float_t MCalibrationChargeCalc::fgPheErrLimit = 4.;230 const Float_t MCalibrationChargeCalc::fgPheErrLimit = 5.; 231 231 const Float_t MCalibrationChargeCalc::fgFFactorErrLimit = 3.; 232 232 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimeCalc.cc
r3960 r3982 72 72 using namespace std; 73 73 74 const Float_t MCalibrationRelTimeCalc::fgRelTimeRelErrLimit = 7.5;74 const Float_t MCalibrationRelTimeCalc::fgRelTimeRelErrLimit = 10.; 75 75 // -------------------------------------------------------------------------- 76 76 // … … 343 343 areasum2[aidx] /= (numareavalid[aidx]-1.); 344 344 areasum [aidx] /= numareavalid[aidx]; 345 lowlim [aidx] = areasum [aidx] - fRelTimeRelErrLimit*areasum2[aidx];345 lowlim [aidx] = 0.; 346 346 upplim [aidx] = areasum [aidx] + fRelTimeRelErrLimit*areasum2[aidx]; 347 347 -
trunk/MagicSoft/Mars/mcalib/MHCalibrationTestCam.cc
r3855 r3982 115 115 fTitle = title ? title : "Histogram class for testing the calibration"; 116 116 117 SetAverageNbins(5000); 117 118 } 118 119 … … 165 166 (*fHiGainArray)[i] = new MHCalibrationTestPix("Calibrated Events", 166 167 "Test Calibration Pixel"); 167 if (!(*fBadPixels)[i].IsOK()) 168 (*this)[i].SetExcluded(); 169 170 (*this)[i].InitBins(); 171 (*this)[i].ChangeHistId(i); 172 (*this)[i].SetEventFrequency(fPulserFrequency); 168 InitHists((*this)[i],(*fBadPixels)[i],i); 173 169 } 174 170 } … … 181 177 (*fLoGainArray)[i] = new MHCalibrationTestPix("Calibrated Events", 182 178 "Test Calibration Pixel"); 183 if (!(*fBadPixels)[i].IsOK()) 184 (*this)[i].SetExcluded(); 185 186 (*this)[i].InitBins(); 187 (*this)[i].ChangeHistId(i); 188 (*this)[i].SetEventFrequency(fPulserFrequency); 179 InitHists((*this)(i),(*fBadPixels)[i],i); 189 180 } 190 181 } … … 207 198 GetAverageHiGainArea(j).SetEventFrequency(fPulserFrequency); 208 199 200 TH1F *h = GetAverageHiGainArea(j).GetHGausHist(); 201 h->SetTitle( Form("%s%s", h->GetTitle()," Runs: ")); 209 202 } 210 203 } … … 245 238 GetAverageHiGainSector(j).ChangeHistId(j); 246 239 GetAverageHiGainSector(j).SetEventFrequency(fPulserFrequency); 240 241 TH1F *h = GetAverageHiGainSector(j).GetHGausHist(); 242 h->SetTitle( Form("%s%s", h->GetTitle()," Runs: ")); 243 247 244 } 248 245 } … … 307 304 memset(sumareahi, 0, nareas * sizeof(Float_t)); 308 305 memset(sumsectorhi, 0, nsectors*sizeof(Float_t)); 306 memset(numareahi, 0, nareas * sizeof(Int_t)); 307 memset(numsectorhi, 0, nsectors*sizeof(Int_t)); 309 308 310 309 for (Int_t i=0; i<npixels; i++) -
trunk/MagicSoft/Mars/mcalib/MHCalibrationTestPix.cc
r3851 r3982 81 81 82 82 fHGausHist.SetName("HCalibrationTest"); 83 fHGausHist.SetTitle("Distribution of calibrated Summed FADC slices Pixel");84 fHGausHist.SetXTitle(" Sum FADC Slices");83 fHGausHist.SetTitle("Distribution of calibrated Photons Pixel"); 84 fHGausHist.SetXTitle("Nr. Photons"); 85 85 fHGausHist.SetYTitle("Nr. of events"); 86 86 -
trunk/MagicSoft/Mars/mcalib/MHCalibrationTestTimeCam.cc
r3980 r3982 113 113 fName = name ? name : "MHCalibrationTestTimeCam"; 114 114 fTitle = title ? title : "Histogram class for testing the calibration of arrival times"; 115 115 116 SetAverageNbins(5000); 116 117 } 117 118 … … 195 196 GetAverageHiGainArea(j).SetEventFrequency(fPulserFrequency); 196 197 198 TH1F *h = GetAverageHiGainArea(j).GetHGausHist(); 199 h->SetTitle( Form("%s%s", h->GetTitle()," Runs: ")); 200 201 197 202 } 198 203 } … … 233 238 GetAverageHiGainSector(j).ChangeHistId(j); 234 239 GetAverageHiGainSector(j).SetEventFrequency(fPulserFrequency); 240 TH1F *h = GetAverageHiGainSector(j).GetHGausHist(); 241 h->SetTitle( Form("%s%s", h->GetTitle()," Runs: ")); 242 243 235 244 } 236 245 } … … 295 304 memset(sumareahi, 0, nareas * sizeof(Float_t)); 296 305 memset(sumsectorhi, 0, nsectors*sizeof(Float_t)); 306 memset(numareahi, 0, nareas * sizeof(Int_t)); 307 memset(numsectorhi, 0, nsectors*sizeof(Int_t)); 297 308 298 309 for (Int_t i=0; i<npixels; i++)
Note:
See TracChangeset
for help on using the changeset viewer.