Changeset 710 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 03/30/01 11:30:32 (24 years ago)
- Location:
- trunk/MagicSoft/Mars/macros
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/CT1Hillas.C
r700 r710 26 26 // finished you must create them yourself and add it to the list 27 27 // 28 MHHillas *hists = new MHHillas;28 MHHillas *hists = new MHHillas; 29 29 plist->AddToList(hists); 30 31 MHStarMap *smap = new MHStarMap; 32 plist->AddToList(smap); 30 33 31 34 // … … 37 40 // 4) fill the hillas into the histograms 38 41 // 39 MCT1ReadAscii read("CT1_9 9_on1.dat") ;42 MCT1ReadAscii read("CT1_97_on1.dat") ; 40 43 MImgCleanStd clean; 41 44 MHillasCalc hcalc; 42 45 MFillHHillas hfill; 46 MFillHStarMap sfill; 43 47 44 48 tlist.AddToList(&read); … … 46 50 tlist.AddToList(&hcalc); 47 51 tlist.AddToList(&hfill); 52 tlist.AddToList(&sfill); 48 53 49 54 // … … 62 67 // 63 68 hists->Draw(); 69 smap->Draw(); 64 70 } -
trunk/MagicSoft/Mars/macros/MagicHillas.C
r700 r710 32 32 plist->AddToList(hists); 33 33 34 MHStarMap *smap = new MHStarMap; 35 plist->AddToList(smap); 36 34 37 // 35 38 // Now setup the tasks and tasklist: … … 40 43 // 4) fill the hillas into the histograms 41 44 // 42 MReadTree read("oscar_protons.root", "Events") ; 43 MCerPhotCalc ncalc; 44 MImgCleanStd clean; 45 MHillasCalc hcalc; 46 MFillHHillas hfill; 45 MReadTree read("Events", "oscar_protons.root"); 46 read.AddFile("test.root"); 47 48 MCerPhotCalc ncalc; 49 MImgCleanStd clean; 50 MHillasCalc hcalc; 51 MFillHHillas hfill; 52 MFillHStarMap sfill; 47 53 48 54 tlist.AddToList(&read); … … 51 57 tlist.AddToList(&hcalc); 52 58 tlist.AddToList(&hfill); 59 tlist.AddToList(&sfill); 53 60 54 61 // … … 67 74 // 68 75 hists->Draw(); 76 smap->Draw(); 69 77 } 78 -
trunk/MagicSoft/Mars/macros/readCT1.C
r700 r710 11 11 plist->AddToList(&tlist); 12 12 13 MCT1ReadAscii read("CT1_99_o n1.dat") ;13 MCT1ReadAscii read("CT1_99_off1.dat") ; 14 14 MImgCleanStd clean; 15 15 MHillasCalc hcalc; … … 29 29 Int_t icount = 0 ; 30 30 MCamDisplay display(&geomcam) ; 31 display.DrawPhotNum(&phevt); 32 31 33 32 34 while (read.Process()) 33 35 { 34 36 cout << "Event: " << icount++ << endl ; 35 36 if (icount < 45 )37 continue;38 37 39 38 display.DrawPhotNum(&phevt);
Note:
See TracChangeset
for help on using the changeset viewer.