Changeset 700 for trunk/MagicSoft
- Timestamp:
- 03/22/01 12:57:54 (24 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/CT1Hillas.C
r698 r700 18 18 // that you don't choos a wrong geometry by chance 19 19 // 20 MGeomCam Magic camct1;21 plist->AddToList(& camct1);20 MGeomCamCT1 geomcam; 21 plist->AddToList(&geomcam); 22 22 23 23 // … … 37 37 // 4) fill the hillas into the histograms 38 38 // 39 MCT1ReadAscii read ct1("CT1_99_on1.dat") ;39 MCT1ReadAscii read("CT1_99_on1.dat") ; 40 40 MImgCleanStd clean; 41 41 MHillasCalc hcalc; 42 42 MFillHHillas hfill; 43 43 44 tlist.AddToList(&read ct1);44 tlist.AddToList(&read); 45 45 tlist.AddToList(&clean); 46 46 tlist.AddToList(&hcalc); -
trunk/MagicSoft/Mars/macros/readCT1.C
r698 r700 3 3 MParList plist; 4 4 5 MGeomCamCT1 camct1;5 MGeomCamCT1 geomcam; 6 6 MHillas hillas; 7 7 MTaskList tlist; 8 8 9 plist->AddToList(& camct1);9 plist->AddToList(&geomcam); 10 10 plist->AddToList(&hillas); 11 11 plist->AddToList(&tlist); 12 12 13 MCT1ReadAscii read ct1("CT1_99_on1.dat") ;13 MCT1ReadAscii read("CT1_99_on1.dat") ; 14 14 MImgCleanStd clean; 15 15 MHillasCalc hcalc; 16 16 17 tlist.AddToList(&read ct1);17 tlist.AddToList(&read); 18 18 tlist.AddToList(&clean); 19 19 tlist.AddToList(&hcalc); … … 28 28 29 29 Int_t icount = 0 ; 30 MCamDisplay display(& camct1) ;30 MCamDisplay display(&geomcam) ; 31 31 32 while (read ct1.Process())32 while (read.Process()) 33 33 { 34 34 cout << "Event: " << icount++ << endl ; -
trunk/MagicSoft/Mars/mgui/MGeomCamCT1.cc
r699 r700 75 75 diameter); 76 76 77 cout << pixnum << " " << ring << endl;78 79 77 for (int i=0; i<ring; i++) 80 78 (*this)[pixnum++].Set((-ring-i)*0.5*diameter,
Note:
See TracChangeset
for help on using the changeset viewer.