Changeset 5434 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
11/19/04 10:31:26 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5433 r5434  
    2121                                                 -*-*- END OF LINE -*-*-
    2222
    23  2004/11/13: Hendrik Bartko
     23 2004/11/18: Hendrik Bartko
    2424
    2525   * msignal/MC_weights_2GSamples.dat:
     
    109109       "fNameTimeCam"
    110110
     111   * msignal/MExtractTimeAndCharge.[h,cc]
     112     - initialize MExtractedSignalCam with the name chosen in the base
     113       class.
    111114
    112115
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc

    r5360 r5434  
    105105Int_t MExtractTimeAndCharge::PreProcess(MParList *pList)
    106106{
    107     if (!MExtractTime::PreProcess(pList))
    108         return kFALSE;
    109 
    110     fSignals = (MExtractedSignalCam*)pList->FindCreateObj(AddSerialNumber("MExtractedSignalCam"));
    111     if (!fSignals)
    112         return kFALSE;
    113 
    114     return kTRUE;
     107
     108  if (!MExtractTime::PreProcess(pList))
     109    return kFALSE;
     110 
     111  fSignals = (MExtractedSignalCam*)pList->FindCreateObj("MExtractedSignalCam",AddSerialNumber(fNameSignalCam));
     112  if (!fSignals)
     113    {
     114      *fLog << err << fNameSignalCam.Data() << " could not be found nor created... aborting" << endl;
     115      return kFALSE;
     116    }
     117 
     118  return kTRUE;
    115119}
    116120
Note: See TracChangeset for help on using the changeset viewer.