Changeset 2782


Ignore:
Timestamp:
01/13/04 14:45:58 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2781 r2782  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6 2004/01/13: Abelardo Moralejo
     7
     8   * manalysis/MMcPedestalCopy.cc
     9     - added check of whether input file is a MC file before executing
     10       the PreProcess.
    611
    712 2004/01/13: Wolfgang Wittek
  • trunk/MagicSoft/Mars/manalysis/MMcPedestalCopy.cc

    r2487 r2782  
    9595Int_t MMcPedestalCopy::PreProcess(MParList *pList)
    9696{
    97     // FIXME: This should be done for MC files only...
    98     return pList->FindCreateObj(AddSerialNumber("MPedestalCam")) ? kTRUE : kFALSE;
     97  //
     98  // If it is no MC file skip this function...
     99  //
     100  if (! CheckRunType(pList))
     101    return kTRUE;
     102
     103  return pList->FindCreateObj(AddSerialNumber("MPedestalCam")) ? kTRUE : kFALSE;
    99104}
    100105
     
    147152
    148153        pix.Set(pedest, sigma);
     154
    149155    }
    150156
Note: See TracChangeset for help on using the changeset viewer.