Changeset 3740 for trunk/MagicSoft
- Timestamp:
- 04/14/04 19:58:08 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3737 r3740 43 43 2004/04/14: Markus Gaug 44 44 45 * mcalib/MCalibrationQEPix.cc 46 - found a bug in the calculation of the error, fixed 47 45 48 * macros/mccalibrate.C, mmain/MEventDisplay.cc: 46 49 - replaced SetCalibrationMethod by SetCalibrationMode -
trunk/MagicSoft/Mars/macros/calibration.C
r3725 r3740 28 28 const MCalibrationCam::PulserColor_t color = MCalibrationCam::kGREEN; 29 29 30 // const TString inpath = "/mnt/Data/rootdata/CrabNebula/2004_01_27/"; 31 const TString inpath = "/mnt/Data/rootdata/Miscellaneous/2004_03_03/"; 32 // const TString inpath = "/home/rootdata/BlindPixel/"; 30 const TString inpath = "/home/rootdata/Calib/2004_04_08/"; 33 31 34 32 MRunIter pruns; 35 33 MRunIter cruns; 36 34 37 pruns.AddRun(20132,inpath); 38 cruns.AddRun(20134,inpath); 39 // cruns.AddRun(16774,inpath); 35 pruns.AddRun(22254,inpath); 36 cruns.AddRun(22253,inpath); 40 37 41 38 gStyle->SetOptStat(1111); … … 82 79 static_cast<MRead&>(read).AddFiles(pruns); 83 80 84 //85 // Now the short version:86 //87 81 MJCalibration calloop; 88 82 calloop.SetColor(color); 83 84 // 85 // If you want only the most necessary plots, choose: 86 // calloop.SetDataCheck(); 87 // 88 // For everything, you ever dreamed of, choose: 89 // calloop.SetFullDisplay(); 90 91 // 92 // If you want to calibrate the times as well, choose: 93 // calloop.SetRelTimeCalibration(); 89 94 calloop.SetInput(&cruns); 90 95 calloop.SetDisplay(display); … … 93 98 if (!calloop.Process(pedloop.GetPedestalCam())) 94 99 return; 100 101 95 102 96 103 #if 0 … … 157 164 MArrivalTimeCalc2 timecalc; 158 165 MCalibrationChargeCalc calcalc; 166 calcalc.SetPulserColor(color); 159 167 MGeomApply geomapl; 160 168 … … 163 171 MFillH fillblind("MHCalibrationChargeBlindPix", "MExtractedSignalBlindPixel"); 164 172 MFillH fillcam ("MHCalibrationChargeCam" , "MExtractedSignalCam"); 165 166 //167 // As long, as we don't have digital modules,168 // we have to set the color of the pulser LED by hand169 //170 calcalc.SetPulserColor(MCalibrationCam::kCT1);171 173 172 174 // -
trunk/MagicSoft/Mars/mcalib/MCalibrationQEPix.cc
r3728 r3740 225 225 wav += newavqe / newavqevar; 226 226 sumw += 1./ newavqevar; 227 227 228 } 228 229 } … … 245 246 wav += newavqe / newavqevar; 246 247 sumw += 1./ newavqevar; 248 249 *fLog << err << GetQEFFactorRelVar(col) << " " << GetDefaultQERelVar(col) << endl; 247 250 } 251 252 248 253 } 249 254 … … 675 680 Float_t MCalibrationQEPix::GetQECascadesBlindPixelErr( const Float_t zenith ) const 676 681 { 677 const Float_t var = GetQECascadesBlindPixel (zenith);682 const Float_t var = GetQECascadesBlindPixelVar(zenith); 678 683 679 684 if (var < 0.) … … 702 707 Float_t MCalibrationQEPix::GetQECascadesCombinedErr( const Float_t zenith ) const 703 708 { 704 const Float_t var = GetQECascadesCombined (zenith);709 const Float_t var = GetQECascadesCombinedVar(zenith); 705 710 706 711 if (var < 0.) … … 740 745 Float_t MCalibrationQEPix::GetQECascadesFFactorErr( const Float_t zenith ) const 741 746 { 742 const Float_t var = GetQECascadesFFactor (zenith);747 const Float_t var = GetQECascadesFFactorVar(zenith); 743 748 744 749 if (var < 0.) … … 778 783 Float_t MCalibrationQEPix::GetQECascadesPINDiodeErr( const Float_t zenith ) const 779 784 { 780 const Float_t var = GetQECascadesPINDiode (zenith);785 const Float_t var = GetQECascadesPINDiodeVar(zenith); 781 786 782 787 if (var < 0.) -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r3738 r3740 73 73 // i=1: Use MArrivalTimeCalc (using MCubicSpline, arrival time == position at half maximum) 74 74 // i=2: Use MArrivalTimeCalc2 (mean time of fWindowSize time slices with the highest integral content: default) 75 // 76 // See also: MHCalibrationRelTimePix, MHCalibrationRelTimeCam, MHGausEvents 77 // MCalibrationRelTimePix, MCalibrationRelTimeCam 78 // MBadPixelsPix, MBadPixelsCam 75 79 // 76 80 /////////////////////////////////////////////////////////////////////////////
Note:
See TracChangeset
for help on using the changeset viewer.