Changeset 1102 for trunk/MagicSoft/Mars/meventdisp
- Timestamp:
- 12/10/01 15:26:24 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/meventdisp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/meventdisp/MGCamDisplay.cc
r1081 r1102 25 25 #include "MGCamDisplay.h" 26 26 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 44 46 45 47 ClassImp(MGCamDisplay); … … 79 81 Bacause of some strage and hidden dependencies the 80 82 GetMaiFrame call in the destructor of TGButton may fail if some 81 of the other gui elem ts isdeleted first.83 of the other gui elements are deleted first. 82 84 AddFirst adds the buttons at the beginning of the deletion list, 83 85 this seems to work. … … 113 115 MParList *plist = GetParList(); 114 116 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); 120 126 tlist->AddToList(ncalc); 121 127 tlist->AddToList(clone); -
trunk/MagicSoft/Mars/meventdisp/MGEvtDisplay.cc
r1081 r1102 43 43 #include "MTaskList.h" 44 44 #include "MEvtLoop.h" 45 #include "MRead Tree.h"45 #include "MReadMarsFile.h" 46 46 47 47 ClassImp(MGEvtDisplay); … … 87 87 MReadTree *MGEvtDisplay::GetReader() const 88 88 { 89 return (MReadTree*)GetTaskList()->FindObject("MRead Tree");89 return (MReadTree*)GetTaskList()->FindObject("MReadMarsFile"); 90 90 } 91 91 … … 380 380 tlist->SetOwner(); 381 381 382 MRead Tree *read = new MReadTree(tname, fname);382 MReadMarsFile *read = new MReadMarsFile(tname, fname); 383 383 tlist->AddToList(read); 384 384
Note:
See TracChangeset
for help on using the changeset viewer.