Changeset 3374 for trunk/MagicSoft/Mars/mpointing
- Timestamp:
- 03/01/04 17:18:18 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpointing/MPointingPosCalc.cc
r2601 r3374 80 80 switch (fRunType) 81 81 { 82 case kRTData:82 case MRawRunHeader::kRTData: 83 83 fReport = (MReportDrive*)plist->FindObject("MReportDrive"); 84 84 if (!fReport) … … 89 89 return kTRUE; 90 90 91 case kRTMonteCarlo:91 case MRawRunHeader::kRTMonteCarlo: 92 92 fMcEvt = (MMcEvt*)plist->FindObject("MMcEvt"); 93 93 if (!fMcEvt) … … 98 98 return kTRUE; 99 99 100 case kRTPedestal:100 case MRawRunHeader::kRTPedestal: 101 101 *fLog << err << "Cannot work in a pedestal Run!... aborting." << endl; 102 102 return kFALSE; 103 103 104 case kRTCalibration:104 case MRawRunHeader::kRTCalibration: 105 105 *fLog << err << "Cannot work in a calibration Run!... aborting." << endl; 106 106 return kFALSE; … … 132 132 switch (fRunType) 133 133 { 134 case kRTData:134 case MRawRunHeader::kRTData: 135 135 fPosition->SetLocalPosition(fReport->GetNominalZd(), fReport->GetNominalAz()); 136 136 return kTRUE; 137 137 138 case kRTMonteCarlo:138 case MRawRunHeader::kRTMonteCarlo: 139 139 fPosition->SetLocalPosition(fMcEvt->GetTelescopeTheta()*TMath::RadToDeg(), fMcEvt->GetTelescopePhi()*TMath::RadToDeg()); 140 140 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.