Changeset 3377


Ignore:
Timestamp:
03/02/04 09:21:05 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3375 r3377  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6
     7 2004/03/02: Thomas Bretz
     8
     9   * mcalib/MCalibrateData.cc:
     10     - removed usage of MGeomCam (you have MGeomApply for this!)
     11
     12
    613
    714 2004/03/01: Nadia Tonello
  • trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc

    r3375 r3377  
    434434    MCerPhotPix *pix;
    435435    while ((pix = (MCerPhotPix*)TObjArrayIter::Next()))
    436         if (!fUsedOnly || (fUsedOnly && pix->IsPixelUsed()))
     436        if (!fUsedOnly || pix->IsPixelUsed())
    437437            return pix;
    438438    return pix;
  • trunk/MagicSoft/Mars/mcalib/MCalibrateData.cc

    r3301 r3377  
    100100Int_t MCalibrateData::PreProcess(MParList *pList)
    101101{
    102 
    103     MGeomCam *fCam = (MGeomCam*)pList->FindObject(AddSerialNumber("MGeomCam"));
    104     if (!fCam)
    105     {
    106         *fLog << err << GetDescriptor() << ": No MGeomCam found... aborting." << endl;
    107         return kFALSE;
    108     }
    109 
    110102    fPedestal = (MPedestalCam*)pList->FindObject(AddSerialNumber("MPedestalCam"));
    111103    if (!fPedestal)
     
    123115    }
    124116
    125    if(fCalibrationMode>kNone)
    126       {
    127         fCalibrations = (MCalibrationChargeCam*)pList->FindObject(AddSerialNumber("MCalibrationChargeCam"));
    128         if (!fCalibrations)
    129           {
    130             *fLog << err << AddSerialNumber("MCalibrationChargeCam") << " not found ... aborting." << endl;
    131             return kFALSE;
    132           }
    133       }
     117    if (fCalibrationMode>kNone)
     118    {
     119        fCalibrations = (MCalibrationChargeCam*)pList->FindObject(AddSerialNumber("MCalibrationChargeCam"));
     120        if (!fCalibrations)
     121        {
     122            *fLog << err << AddSerialNumber("MCalibrationChargeCam") << " not found ... aborting." << endl;
     123            return kFALSE;
     124        }
     125    }
    134126
    135127    fPedPhot = (MPedPhotCam*)pList->FindCreateObj(AddSerialNumber("MPedPhotCam"));
    136128    if (!fPedPhot)
    137129        return kFALSE;
    138     fPedPhot->InitSize(fCam->GetNumPixels());
    139130
    140131    fCerPhotEvt = (MCerPhotEvt*)pList->FindCreateObj(AddSerialNumber("MCerPhotEvt"));
Note: See TracChangeset for help on using the changeset viewer.