Ignore:
Timestamp:
03/01/04 17:18:18 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpointing/MPointingPosCalc.cc

    r2601 r3374  
    8080    switch (fRunType)
    8181    {
    82     case kRTData:
     82    case MRawRunHeader::kRTData:
    8383        fReport = (MReportDrive*)plist->FindObject("MReportDrive");
    8484        if (!fReport)
     
    8989        return kTRUE;
    9090
    91     case kRTMonteCarlo:
     91    case MRawRunHeader::kRTMonteCarlo:
    9292        fMcEvt = (MMcEvt*)plist->FindObject("MMcEvt");
    9393        if (!fMcEvt)
     
    9898        return kTRUE;
    9999
    100     case kRTPedestal:
     100    case MRawRunHeader::kRTPedestal:
    101101        *fLog << err << "Cannot work in a pedestal Run!... aborting." << endl;
    102102        return kFALSE;
    103103
    104     case kRTCalibration:
     104    case MRawRunHeader::kRTCalibration:
    105105        *fLog << err << "Cannot work in a calibration Run!... aborting." << endl;
    106106        return kFALSE;
     
    132132    switch (fRunType)
    133133    {
    134     case kRTData:
     134    case MRawRunHeader::kRTData:
    135135        fPosition->SetLocalPosition(fReport->GetNominalZd(), fReport->GetNominalAz());
    136136        return kTRUE;
    137137
    138     case kRTMonteCarlo:
     138    case MRawRunHeader::kRTMonteCarlo:
    139139        fPosition->SetLocalPosition(fMcEvt->GetTelescopeTheta()*TMath::RadToDeg(), fMcEvt->GetTelescopePhi()*TMath::RadToDeg());
    140140        return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.