Ignore:
Timestamp:
04/22/04 15:45:20 (21 years ago)
Author:
stamerra
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmain/MEventDisplay.cc

    r3768 r3795  
    7575#include "MMcCalibrationUpdate.h" // MMcCalibrationUpdate
    7676#include "MCalibrate.h"           // MCalibrate
     77#include "MMcTriggerLvl2Calc.h"   // MMcTriggerLvl2Calc
    7778
    7879//
     
    9091#include "MPedPhotCam.h"           // MPedPhotCam
    9192#include "MCalibrationChargeCam.h" // MCalibrationChargeCam
     93#include "MMcTriggerLvl2.h"        // MMcTriggerLvl2
    9294
    9395ClassImp(MEventDisplay);
     
    221223    MHEvent *evt7 = new MHEvent(MHEvent::kEvtIdxMax);
    222224    MHEvent *evt8 = new MHEvent(MHEvent::kEvtArrTime);
     225    MHEvent *evt9 = new MHEvent(MHEvent::kEvtTrigPix);
    223226
    224227    evt1->SetName("Signal");
     
    230233    evt7->SetName("Max Slice Idx");
    231234    evt8->SetName("Arrival Time");
     235    evt9->SetName("Trigger");
    232236
    233237    // This makes sure, that the containers are deleted...
     
    240244    plist->AddToList(evt7);
    241245    plist->AddToList(evt8);
     246    plist->AddToList(evt9);
    242247
    243248    MCerPhotAnal2     *nanal = new MCerPhotAnal2;
     
    252257    MHillasCalc       *hcalc = new MHillasCalc;
    253258    MHillasSrcCalc    *scalc = new MHillasSrcCalc;
     259    MMcTriggerLvl2Calc *trcal = new MMcTriggerLvl2Calc;
     260    MFillH            *fill9 = new MFillH(evt9, "MMcTriggerLvl2", "MFillH9");
    254261
    255262    // If no pedestal or no calibration file is availble
     
    265272
    266273        MExtractSignal* extra = new MExtractSignal();
    267         extra->SetRange(5, 10, 5, 10);
     274        extra->SetRange(0, 6, 2, 7);
    268275        extra->SetSaturationLimit(240);
    269276
     
    278285        mcupd->SetFilter(f1);
    279286        mccal->SetFilter(f1);
     287        trcal->SetFilter(f1);
    280288
    281289        // Data
     
    292300        tlist->AddToList(mccal);
    293301
    294         tlist->AddToList(nanal);
     302 
     303        tlist->AddToList(nanal);
    295304    }
    296305    else
     
    310319    tlist->AddToList(hcalc);
    311320    tlist->AddToList(scalc);
     321
    312322    if (!pcam || !ccam)
    313323    {
     
    318328        tlist->AddToList(fill7);
    319329        tlist->AddToList(fill8);
     330
     331        tlist->AddToList(trcal);
     332        tlist->AddToList(fill9);
    320333    }
    321334
     
    518531    ((MHillasSrc*)  plist->FindObject("MHillasSrc"))->Print(*geom);
    519532    ((MNewImagePar*)plist->FindObject("MNewImagePar"))->Print(*geom);
    520 
     533   
    521534    //
    522535    // UpdateDisplay
Note: See TracChangeset for help on using the changeset viewer.