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/manalysis/MCerPhotAnal.cc

    r2942 r3374  
    103103        return kFALSE;
    104104
     105    fPedestals = NULL;
     106
    105107    const MRawRunHeader *runheader = (MRawRunHeader*)pList->FindObject("MRawRunHeader");
    106108    if (!runheader)
    107109        *fLog << warn << dbginf << "Warning - cannot check file type, MRawRunHeader not found." << endl;
    108110    else
    109         if (runheader->GetRunType() == kRTMonteCarlo)
    110         {
    111             fPedestals=NULL;
     111        if (runheader->IsMonteCarloRun())
    112112            return kTRUE;
    113         }
    114113
    115114    fPedestals = (MPedestalCam*)pList->FindCreateObj("MPedestalCam");
Note: See TracChangeset for help on using the changeset viewer.