Changeset 3007 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 02/02/04 22:52:53 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/calibration.C
r2983 r3007 24 24 25 25 const TString pedfile = "/mnt/Data/rootdata/CrabNebula/2004_01_27/20040126_12149_P_Cab-On_E.root"; 26 const TString calfile = "/mnt/Data/rootdata/CrabNebula/2004_01_27/20040126_1252 *_C_Cab-On_E.root";26 const TString calfile = "/mnt/Data/rootdata/CrabNebula/2004_01_27/20040126_12525_C_Cab-On_E.root"; 27 27 28 28 //const TString pedfile = "/mnt/Data/rootdata/Miscellaneous/2003_12_19/20031218_03522_P_Park_E.root"; … … 52 52 MGeomApply geomapl; 53 53 MExtractSignal sigcalc; 54 // 55 // We saw that the signal jumps between slices, 56 // thus set the extraction range as high as possible 57 // Sliding window will be implemented asap. 58 // 54 59 sigcalc.SetRange(1,14,1,14); 60 55 61 MPedCalcPedRun pedcalc; 56 62 pedcalc.SetUseHists(); … … 209 215 // faster results 210 216 // 211 timecalc.SetStepSize(0.5);217 // timecalc.SetStepSize(0.02); 212 218 213 219 // … … 246 252 // 247 253 MCalibrationBlindPix *bp = calcam.GetBlindPixel(); 248 254 // bp->ChangeFitFunc(MHCalibrationBlindPixel::kEPolya); 249 255 // bp->ChangeFitFunc(MHCalibrationBlindPixel::kEPoisson4); 250 256 … … 285 291 MHCamera disp3 (geomcam, "MCalibrationPix;SigmaCharge", "Sigma of Fitted Charges"); 286 292 MHCamera disp5 (geomcam, "MCalibrationPix;ChargeProb", "Probability of Fit"); 287 MHCamera disp6 (geomcam, "MCalibrationPix;Time", " Arrival Times");288 MHCamera disp7 (geomcam, "MCalibrationPix;SigmaTime", "Sigma of Arrival Times");289 MHCamera disp8 (geomcam, "MCalibrationPix;Time ChiSquare", "Chi Squareof Time Fit");293 MHCamera disp6 (geomcam, "MCalibrationPix;Time", "Rel. Arrival Times"); 294 MHCamera disp7 (geomcam, "MCalibrationPix;SigmaTime", "Sigma of Rel. Arrival Times"); 295 MHCamera disp8 (geomcam, "MCalibrationPix;TimeProb", "Probability of Time Fit"); 290 296 MHCamera disp9 (geomcam, "MCalibrationPix;Ped", "Pedestals"); 291 297 MHCamera disp10 (geomcam, "MCalibrationPix;PedRms", "Pedestal RMS"); … … 333 339 disp3.SetYTitle("\\sigma_{Charge} [FADC counts]"); 334 340 disp5.SetYTitle("P_{Charge} [1]"); 335 disp6.SetYTitle("Arr. Time [ Time Slice Nr.]");336 disp7.SetYTitle("\\sigma_{Time} [ Time Slices]");337 disp8.SetYTitle(" \\chi^{2}_{Time} [1]");341 disp6.SetYTitle("Arr. Time [ns]"); 342 disp7.SetYTitle("\\sigma_{Time} [ns]"); 343 disp8.SetYTitle("P_{Time} [1]"); 338 344 disp9.SetYTitle("Ped [FADC Counts ]"); 339 345 disp10.SetYTitle("RMS_{Ped} [FADC Counts ]"); … … 366 372 367 373 // Times 368 TCanvas &c3 = d3->AddTab("Fitted Times");374 TCanvas &c3 = d3->AddTab("Fitted Rel. Times"); 369 375 c3.Divide(3,3); 370 376 371 377 CamDraw(c3,disp6,calcam,1,3,1); 372 CamDraw(c3,disp7,calcam,2,3, 0);378 CamDraw(c3,disp7,calcam,2,3,1); 373 379 CamDraw(c3,disp8,calcam,3,3,0); 374 380
Note:
See TracChangeset
for help on using the changeset viewer.