Changeset 18271


Ignore:
Timestamp:
Jul 26, 2015, 4:42:59 PM (4 years ago)
Author:
dorner
Message:
implemented case kEvtTimeSlopeCleaned
Location:
trunk/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mhist/MHEvent.cc

    r18243 r18271  
    197197        break;
    198198     case kEvtTimeSlope:
     199     case kEvtTimeSlopeCleaned:
    199200        fHist->SetName("Time Slope");
    200201        fHist->SetYTitle("delta_t [ns]");
     
    301302        break;
    302303    case kEvtTimeSlope:
    303         fHist->SetCamContent(*event, 12);
     304        fHist->SetCamContent(*event, 13);
     305        break;
     306    case kEvtTimeSlopeCleaned:
     307        fHist->SetCamContent(*event, 14);
    304308        break;
    305309    default:
  • trunk/Mars/mhist/MHEvent.h

    r18243 r18271  
    2727        kEvtCleaningLevels, kEvtCleaningData,
    2828        kEvtIdxMax, kEvtArrTime, kEvtArrTimeCleaned,
    29         kEvtTrigPix, kEvtIslandIndex, kEvtTimeSlope
     29        kEvtTrigPix, kEvtIslandIndex, kEvtTimeSlope,
     30        kEvtTimeSlopeCleaned
    3031    };
    3132
  • trunk/Mars/msignal/MSignalCam.cc

    r18243 r18271  
    594594
    595595    // Used inlcudes status unampped
    596     if (!pix.IsPixelUsed() && (type<6 || type==8))
     596    if (!pix.IsPixelUsed() && (type<6 || type==8 || type==14))
    597597        return kFALSE;
    598598
     
    669669        return pix.GetNumPhotons()>0;
    670670
    671     case 12: // time slope
     671    case 13: // time slope
     672        val = pix.GetTimeSlope();
     673        break;
     674
     675    case 14: // time slope
     676        if (pix.IsPixelUnmapped())
     677            return kFALSE;
    672678        val = pix.GetTimeSlope();
    673679        break;
Note: See TracChangeset for help on using the changeset viewer.