Ignore:
Timestamp:
02/18/09 12:07:41 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msimcamera/MSimSignalCam.cc

    r9274 r9347  
    3535//   MPhotonEvent
    3636//   MPhotonStatistics
     37//   [TriggerPos [MParameterD]]
    3738//
    3839//  Output Containers:
     
    9091
    9192    fTrigger = (MParameterD*)pList->FindObject("TriggerPos", "MParameterD");
     93/*
    9294    if (!fTrigger)
    9395    {
     
    9597        return kFALSE;
    9698    }
    97 
     99*/
    98100    fSignal = (MSignalCam*)pList->FindCreateObj("MSignalCam");
    99101    if (!fSignal)
     
    111113{
    112114    const UInt_t npix = fSignal->GetNumPixels();
     115
     116    if (npix==0)
     117    {
     118        *fLog << err << "ERROR - MSignalCam has 0 entries. Presumably MGeomApply::ReInit not done." << endl;
     119        return kFALSE;
     120    }
    113121
    114122    if (fCont.GetSize()!=npix)
     
    163171    // What about events with trigger<0?
    164172    const Float_t trig  = fTrigger && fTrigger->GetVal()>=0 ? fTrigger->GetVal()  : 0;
    165     const Float_t first = fStat->GetTimeFirst()+trig /*+50+40*/;
     173    const Float_t first = fStat->GetTimeFirst()+trig;
    166174
    167175    // Loop over all pixels and set signal and arrival time.
Note: See TracChangeset for help on using the changeset viewer.