Ignore:
Timestamp:
06/23/03 12:09:05 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc

    r2173 r2209  
    115115    fMcEvt = (MMcEvt*)plist->FindObject("MMcEvt");
    116116    if (!fMcEvt)
    117     {
    118         *fLog << err << "MMcEvt not found... aborting." << endl;
    119         return kFALSE;
    120     }
     117        *fLog << warn << "MMcEvt not found... aborting." << endl;
    121118
    122119    fPed = (MPedestalCam*)plist->FindObject("MPedestalCam");
     
    193190Bool_t MHSigmaTheta::Fill(const MParContainer *par, const Stat_t w)
    194191{
    195     Double_t theta = fMcEvt->GetTelescopeTheta()*kRad2Deg;
     192    Double_t theta = fMcEvt ? fMcEvt->GetTelescopeTheta()*kRad2Deg : 0;
    196193    Double_t mysig = fSigmabar->Calc(*fCam, *fPed, *fEvt);
    197194
Note: See TracChangeset for help on using the changeset viewer.