Ignore:
Timestamp:
03/03/04 13:50:05 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MCerPhotAnal2.cc

    r3374 r3389  
    106106        return kFALSE;
    107107
     108    return kTRUE;
     109}
     110
     111Bool_t MCerPhotAnal2::ReInit(MParList *pList)
     112{
    108113    fPedestals=NULL;
    109114
     115    // This must be done in ReInit because in PreProcess the
     116    // headers are not available
    110117    const MRawRunHeader *runheader = (MRawRunHeader*)pList->FindObject("MRawRunHeader");
    111118    if (!runheader)
    112119        *fLog << warn << dbginf << "Warning - cannot check file type, MRawRunHeader not found." << endl;
    113120    else
     121    {
     122        *fLog << all << "CHECK: " << runheader->GetRunType() << endl;
    114123        if (runheader->IsMonteCarloRun())
    115124            return kTRUE;
     125    }
    116126
    117127    fPedestals = (MPedPhotCam*)pList->FindCreateObj("MPedPhotCam");
Note: See TracChangeset for help on using the changeset viewer.