Changeset 2220 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 06/23/03 15:50:44 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/readCT1.C
r2178 r2220 78 78 79 79 Int_t icount = 0; 80 M CamDisplay display(&geomcam);80 MHCamera display(geomcam); 81 81 display.Draw(); 82 82 … … 89 89 continue; 90 90 91 display. Fill(*evt);91 display.SetCamContent(*evt); 92 92 display.Update(); 93 93 … … 100 100 newimgpar.Print(); 101 101 102 display. Fill(*(MCerPhotEvt*)plist.FindObject("MCerPhotEvt"));102 display.SetCamContent(*(MCerPhotEvt*)plist.FindObject("MCerPhotEvt")); 103 103 display.Update(); 104 104 -
trunk/MagicSoft/Mars/macros/readMagic.C
r2179 r2220 79 79 MHillasCalc hcalc; 80 80 81 82 81 tlist.AddToList(&read); 83 //tlist.AddToList(&print1);82 tlist.AddToList(&print1); 84 83 tlist.AddToList(&print2); 85 84 tlist.AddToList(&pcopy); … … 97 96 return; 98 97 99 M CamDisplay display(&geomcam);98 MHCamera display(geomcam); 100 99 display.Draw(); 101 100 102 display.SetAutoScale(kFALSE);103 display.SetMinimum(0);104 display.SetMaximum(100);101 // Use this if you don't want the event to be autoscaled 102 //display.SetMinimum(0); 103 //display.SetMaximum(100); 105 104 106 105 while (tlist.Process()) … … 108 107 cout << "Event #" << read.GetNumEntry() ":" << endl; 109 108 110 display. Fill(*(MCerPhotEvt*)clone.GetClone());109 display.SetCamContent(*(MCerPhotEvt*)clone.GetClone()); 111 110 gPad->Modified(); 112 111 gPad->Update(); … … 114 113 if (!HandleInput()) 115 114 break; 116 /* 115 117 116 hillas.Draw(); 118 117 hillas.Print(); … … 120 119 newimgpar.Print(); 121 120 122 display. Fill(*(MCerPhotEvt*)plist.FindObject("MCerPhotEvt"));121 display.SetCamContent(*(MCerPhotEvt*)plist.FindObject("MCerPhotEvt")); 123 122 gPad->Modified(); 124 123 gPad->Update(); … … 126 125 if (!HandleInput()) 127 126 break; 128 */}127 } 129 128 130 129 evtloop.PostProcess();
Note:
See TracChangeset
for help on using the changeset viewer.