Changeset 1102 for trunk/MagicSoft
- Timestamp:
- 12/10/01 15:26:24 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1101 r1102 5 5 * mmc/*.hxx: 6 6 - Changed MPARCONTAINER_H to MARS_MParContainer 7 8 * meventdisp/MGCamDisplay.cc, mmain/MAnalysis.cc: 9 - added MMcPedestalCopy to task list 10 - added MMcPedestalNSB to task list 11 12 * meventdisp/MGEvtDisplay.cc: 13 - changed reader from MReadTree to MReadMarsFile 7 14 8 15 -
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 -
trunk/MagicSoft/Mars/mmain/MAnalysis.cc
r1086 r1102 126 126 #include "MHStarMap.h" 127 127 #include "MReadTree.h" 128 #include "MMcPedestalCopy.h" // MMcPedestalCopy 129 #include "MMcPedestalNSB.h" // MMcPedestalNSB 128 130 #include "MCerPhotCalc.h" 129 131 #include "MImgCleanStd.h" … … 179 181 MReadTree read("Events", fInputFile); 180 182 181 MCerPhotCalc ncalc; 182 MHillasCalc hcalc; 183 MMcPedestalCopy pcopy; 184 MMcPedestalNSB pdnsb; 185 MCerPhotCalc ncalc; 186 MHillasCalc hcalc; 183 187 184 188 tlist.AddToList(&read); 189 tlist.AddToList(&pcopy); 190 tlist.AddToList(&pdnsb); 185 191 tlist.AddToList(&ncalc); 186 192 tlist.AddToList(fImgClean);
Note:
See TracChangeset
for help on using the changeset viewer.