Ignore:
Timestamp:
03/03/04 13:50:05 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
4 edited

Legend:

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

    r3374 r3389  
    103103        return kFALSE;
    104104
     105    return kTRUE;
     106}
     107
     108Bool_t MCerPhotAnal::ReInit(MParList *pList)
     109{
    105110    fPedestals = NULL;
    106111
     112    // This must be done in ReInit because in PreProcess the
     113    // headers are not available
    107114    const MRawRunHeader *runheader = (MRawRunHeader*)pList->FindObject("MRawRunHeader");
    108115    if (!runheader)
  • trunk/MagicSoft/Mars/manalysis/MCerPhotAnal.h

    r2408 r3389  
    2727    MRawRunHeader *fRunHeader;  // RunHeader information
    2828
    29     Int_t PreProcess(MParList *pList);
    30     Int_t Process();
     29    Int_t  PreProcess(MParList *pList);
     30    Bool_t ReInit(MParList *pList);
     31    Int_t  Process();
    3132 
    3233public:
  • 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");
  • trunk/MagicSoft/Mars/manalysis/MCerPhotAnal2.h

    r2946 r3389  
    3333    Int_t fSkip;                //!
    3434
    35     Int_t PreProcess(MParList *pList);
    36     Int_t Process();
    37     Int_t PostProcess();
     35    Int_t  PreProcess(MParList *pList);
     36    Bool_t ReInit(MParList *pList);
     37    Int_t  Process();
     38    Int_t  PostProcess();
    3839
    3940public:
Note: See TracChangeset for help on using the changeset viewer.