Changeset 2896 for trunk/MagicSoft


Ignore:
Timestamp:
01/23/04 17:52:18 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2895 r2896  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6
     7
     8 2004/01/23: Abelardo Moralejo
     9
     10   * mcalib/MCalibrate.cc, manalysis/MExtractSignal.cc
     11     - Added support (using AddSerialNumber) for stereo MC files.
    612
    713 2004/01/23: Thomas Bretz
  • trunk/MagicSoft/Mars/manalysis/MExtractSignal.cc

    r2893 r2896  
    9494Int_t MExtractSignal::PreProcess(MParList *pList)
    9595{
    96     fRawEvt = (MRawEvtData*)pList->FindObject("MRawEvtData");
     96    fRawEvt = (MRawEvtData*)pList->FindObject(AddSerialNumber("MRawEvtData"));
    9797    if (!fRawEvt)
    9898    {
    99         *fLog << err << "MRawEvtData not found... aborting." << endl;
     99      *fLog << err << AddSerialNumber("MRawEvtData") << " not found... aborting." << endl;
    100100        return kFALSE;
    101101    }
    102102
    103103
    104     fSignals = (MExtractedSignalCam*)pList->FindCreateObj("MExtractedSignalCam");
     104    fSignals = (MExtractedSignalCam*)pList->FindCreateObj(AddSerialNumber("MExtractedSignalCam"));
    105105    if (!fSignals)
    106106        return kFALSE;
     
    109109                                fLoGainFirst, fLoGainFirst+fNumLoGainSamples-1);
    110110
    111     fPedestals = (MPedestalCam*)pList->FindObject("MPedestalCam");
     111    fPedestals = (MPedestalCam*)pList->FindObject(AddSerialNumber("MPedestalCam"));
    112112    if (!fPedestals)
    113113      {
    114         *fLog << err << "MPedestalCam not found... aborting" << endl;
     114        *fLog << err << AddSerialNumber("MPedestalCam") << " not found... aborting" << endl;
    115115        return kFALSE;
    116116      }
  • trunk/MagicSoft/Mars/mcalib/MCalibrate.cc

    r2893 r2896  
    8585Int_t MCalibrate::PreProcess(MParList *pList)
    8686{
    87     fSignals = (MExtractedSignalCam*)pList->FindObject("MExtractedSignalCam");
     87    fSignals = (MExtractedSignalCam*)pList->FindObject(AddSerialNumber("MExtractedSignalCam"));
    8888    if (!fSignals)
    8989    {
    90         *fLog << err << "MExtractedSignalCam not found ... aborting" << endl;
     90      *fLog << err << AddSerialNumber("MExtractedSignalCam") << " not found ... aborting" << endl;
    9191        return kFALSE;
    9292    }
    9393
    94     fCalibrations = (MCalibrationCam*)pList->FindObject("MCalibrationCam");
     94    fCalibrations = (MCalibrationCam*)pList->FindObject(AddSerialNumber("MCalibrationCam"));
    9595    if (!fCalibrations)
    9696    {
    97         *fLog << err << "MCalibrationCam not found ... aborting." << endl;
     97      *fLog << err << AddSerialNumber("MCalibrationCam") << " not found ... aborting." << endl;
    9898        return kFALSE;
    9999    }
    100100
    101     fCerPhotEvt = (MCerPhotEvt*)pList->FindCreateObj("MCerPhotEvt");
     101    fCerPhotEvt = (MCerPhotEvt*)pList->FindCreateObj(AddSerialNumber("MCerPhotEvt"));
    102102    if (!fCerPhotEvt)
    103103        return kFALSE;
Note: See TracChangeset for help on using the changeset viewer.