Ignore:
Timestamp:
12/10/01 15:26:24 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/meventdisp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/meventdisp/MGCamDisplay.cc

    r1081 r1102  
    2525#include "MGCamDisplay.h"
    2626
    27 #include <TList.h>          // TList::Add
    28 #include <TCanvas.h>        // TCanvas::cd
    29 #include <TGButton.h>       // TGPictureButton
    30 #include <TGButtonGroup.h>  // TGVButtonGroup
    31 
    32 #include "MGTask.h"         // MGTask::CreateGui
    33 #include "MClone.h"         // MClone
    34 #include "MHillas.h"        // MHillas
    35 #include "MParList.h"       // MParList::AddToList
    36 #include "MEvtLoop.h"       // MEvtLoop::GetParList
    37 #include "MTaskList.h"      // MTaskList::AddToList
    38 #include "MCamDisplay.h"    // MCamDisplay
    39 #include "MHillasCalc.h"    // MHillasCalc
    40 #include "MPedestalCam.h"   // MPedestalCam
    41 #include "MCerPhotCalc.h"   // MCerPhotCalc
    42 #include "MImgCleanStd.h"   // MImgCleanStd
    43 #include "MGeomCamMagic.h"  // MGeomMagicCam
     27#include <TList.h>            // TList::Add
     28#include <TCanvas.h>          // TCanvas::cd
     29#include <TGButton.h>         // TGPictureButton
     30#include <TGButtonGroup.h>    // TGVButtonGroup
     31
     32#include "MGTask.h"           // MGTask::CreateGui
     33#include "MClone.h"           // MClone
     34#include "MHillas.h"          // MHillas
     35#include "MParList.h"         // MParList::AddToList
     36#include "MEvtLoop.h"         // MEvtLoop::GetParList
     37#include "MTaskList.h"        // MTaskList::AddToList
     38#include "MCamDisplay.h"      // MCamDisplay
     39#include "MHillasCalc.h"      // MHillasCalc
     40#include "MPedestalCam.h"     // MPedestalCam
     41#include "MCerPhotCalc.h"     // MCerPhotCalc
     42#include "MMcPedestalCopy.h"  // MMcPedestalCopy
     43#include "MMcPedestalNSB.h"   // MMcPedestalNSB
     44#include "MImgCleanStd.h"     // MImgCleanStd
     45#include "MGeomCamMagic.h"    // MGeomMagicCam
    4446
    4547ClassImp(MGCamDisplay);
     
    7981     Bacause of some strage and hidden dependencies the
    8082     GetMaiFrame call in the destructor of TGButton may fail if some
    81      of the other gui elemts is deleted first.
     83     of the other gui elements are deleted first.
    8284     AddFirst adds the buttons at the beginning of the deletion list,
    8385     this seems to work.
     
    113115    MParList  *plist = GetParList();
    114116
    115     MCerPhotCalc *ncalc = new MCerPhotCalc;
    116     MClone       *clone = new MClone("MCerPhotEvt");
    117     MImgCleanStd *clean = new MImgCleanStd;
    118     MHillasCalc  *hcalc = new MHillasCalc;
    119 
     117    MMcPedestalCopy *pcopy = new MMcPedestalCopy;
     118    MMcPedestalNSB  *pdnsb = new MMcPedestalNSB;
     119    MCerPhotCalc    *ncalc = new MCerPhotCalc;
     120    MClone          *clone = new MClone("MCerPhotEvt");
     121    MImgCleanStd    *clean = new MImgCleanStd;
     122    MHillasCalc     *hcalc = new MHillasCalc;
     123
     124    tlist->AddToList(pcopy);
     125    tlist->AddToList(pdnsb);
    120126    tlist->AddToList(ncalc);
    121127    tlist->AddToList(clone);
  • trunk/MagicSoft/Mars/meventdisp/MGEvtDisplay.cc

    r1081 r1102  
    4343#include "MTaskList.h"
    4444#include "MEvtLoop.h"
    45 #include "MReadTree.h"
     45#include "MReadMarsFile.h"
    4646
    4747ClassImp(MGEvtDisplay);
     
    8787MReadTree *MGEvtDisplay::GetReader() const
    8888{
    89     return (MReadTree*)GetTaskList()->FindObject("MReadTree");
     89    return (MReadTree*)GetTaskList()->FindObject("MReadMarsFile");
    9090}
    9191
     
    380380    tlist->SetOwner();
    381381
    382     MReadTree *read = new MReadTree(tname, fname);
     382    MReadMarsFile *read = new MReadMarsFile(tname, fname);
    383383    tlist->AddToList(read);
    384384
Note: See TracChangeset for help on using the changeset viewer.