Changeset 3740 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 04/14/04 19:58:08 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 //
Note:
See TracChangeset
for help on using the changeset viewer.