Changeset 949 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 09/26/01 14:56:03 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/MagicHillas.C
r948 r949 37 37 38 38 MTaskList tlist; 39 plist ->AddToList(&tlist);39 plist.AddToList(&tlist); 40 40 41 41 // … … 44 44 // 45 45 MGeomCamMagic geomcam; 46 plist ->AddToList(&geomcam);46 plist.AddToList(&geomcam); 47 47 48 48 MPedestalCam pedest; 49 plist ->AddToList(&pedest);49 plist.AddToList(&pedest); 50 50 51 51 // … … 55 55 // 56 56 MHHillas *hists = new MHHillas; 57 plist ->AddToList(hists);57 plist.AddToList(hists); 58 58 59 59 MHStarMap *smap = new MHStarMap; 60 plist ->AddToList(smap);60 plist.AddToList(smap); 61 61 62 62 // … … 67 67 // 3) clean the image MImgCleanStd 68 68 // 4) calculate hillas MHillasCalc 69 // 5) fill the hillas into the histograms MFillH Hillas69 // 5) fill the hillas into the histograms MFillH 70 70 // 71 71 … … 76 76 // CalEvents: Calibration Events 77 77 // 78 MReadTree read("Events", "data/ cer000020.root");78 MReadTree read("Events", "data/octobertest.root"); 79 79 // read.AddFile("data/cer000019.root"); 80 80 … … 83 83 MHillasCalc hcalc; 84 84 MFillH hfill("MHillas", "MHHillas"); 85 MFillHStarMap sfill("MHillas", "MHStarMap"); 86 MWriteRootFile write("hillas.root"); 85 MFillH sfill("MHillas", "MHStarMap"); 86 87 MWriteRootFile write("hillas.root"); 87 88 write.AddContainer("MHillas"); 88 89 write.AddContainer("MHHillas");
Note:
See TracChangeset
for help on using the changeset viewer.