Changeset 2209 for trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc
- Timestamp:
- 06/23/03 12:09:05 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc
r2173 r2209 115 115 fMcEvt = (MMcEvt*)plist->FindObject("MMcEvt"); 116 116 if (!fMcEvt) 117 { 118 *fLog << err << "MMcEvt not found... aborting." << endl; 119 return kFALSE; 120 } 117 *fLog << warn << "MMcEvt not found... aborting." << endl; 121 118 122 119 fPed = (MPedestalCam*)plist->FindObject("MPedestalCam"); … … 193 190 Bool_t MHSigmaTheta::Fill(const MParContainer *par, const Stat_t w) 194 191 { 195 Double_t theta = fMcEvt ->GetTelescopeTheta()*kRad2Deg;192 Double_t theta = fMcEvt ? fMcEvt->GetTelescopeTheta()*kRad2Deg : 0; 196 193 Double_t mysig = fSigmabar->Calc(*fCam, *fPed, *fEvt); 197 194
Note:
See TracChangeset
for help on using the changeset viewer.