Ignore:
Timestamp:
04/22/04 15:45:20 (21 years ago)
Author:
stamerra
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhist
Files:
2 edited

Legend:

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

    r3400 r3795  
    5353
    5454#include "MMcEvt.hxx"
     55#include "MMcTrig.hxx"
    5556
    5657#include "MHCamera.h"
     
    9596    fMcEvt       = (MMcEvt*)plist->FindObject("MMcEvt");
    9697
    97     fRawEvtData = (MRawEvtData*)plist->FindObject("MRawEvtData");
    98     if (!fRawEvtData)
     98     fRawEvtData = (MRawEvtData*)plist->FindObject("MRawEvtData");
     99     if (!fRawEvtData)
    99100        *fLog << warn << "MRawEvtData not found..." << endl;
    100101
     
    161162        fHist->SetPrettyPalette();
    162163        break;
     164     case kEvtTrigPix:
     165        fHist->SetName("Triggered pix");
     166        fHist->SetYTitle("ON/OFF");
     167        fHist->SetPrettyPalette();
     168        break;
    163169    }
    164170
     
    214220        break;
    215221    case kEvtArrTime:
     222        fHist->SetCamContent(*event, 0);
     223        break;
     224    case kEvtTrigPix:
    216225        fHist->SetCamContent(*event, 0);
    217226        break;
  • trunk/MagicSoft/Mars/mhist/MHEvent.h

    r3239 r3795  
    1212
    1313class MMcEvt;
     14class MMcTrig;
    1415class MCerPhotEvt;
    1516class MImgCleanStd;
     
    2223        kEvtSignalRaw, kEvtSignalDensity, kEvtPedestal,
    2324        kEvtPedestalRMS, kEvtRelativeSignal, kEvtCleaningLevels,
    24         kEvtIdxMax, kEvtArrTime
     25        kEvtIdxMax, kEvtArrTime, kEvtTrigPix
    2526    };
    2627
     
    3132
    3233    MMcEvt        *fMcEvt;         //!
     34    MMcTrig       *fMcTrig;        //!
    3335    MCerPhotEvt   *fCerPhotEvt;    //!
    3436    MImgCleanStd  *fImgCleanStd;   //!
Note: See TracChangeset for help on using the changeset viewer.