Changeset 10281 for trunk/Mars/mhist
- Timestamp:
- 04/04/11 10:08:59 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mhist/MHCamera.cc
r10166 r10281 2323 2323 case 4: 2324 2324 obj2->Fit("pol0", "Q"); 2325 obj2->GetFunction("pol0")->SetLineColor(kBlue); 2325 if (obj2->GetFunction("pol0")) 2326 obj2->GetFunction("pol0")->SetLineColor(kBlue); 2326 2327 break; 2327 2328 … … 2331 2332 default: 2332 2333 obj2->Fit("gaus", "Q"); 2333 obj2->GetFunction("gaus")->SetLineColor(kBlue); 2334 if (obj2->GetFunction("gaus")) 2335 obj2->GetFunction("gaus")->SetLineColor(kBlue); 2334 2336 break; 2335 2337 } … … 2402 2404 obj2->SetBit(kCanDelete); 2403 2405 obj2->Fit("pol0","Q",""); 2404 obj2->GetFunction("pol0")->SetLineWidth(1); 2406 if (obj2->GetFunction("pol0")) 2407 obj2->GetFunction("pol0")->SetLineWidth(1); 2405 2408 /* 2406 2409 if (GetGeomCam().InheritsFrom("MGeomCamMagic"))
Note:
See TracChangeset
for help on using the changeset viewer.