Changeset 1011 for trunk/MagicSoft/Mars
- Timestamp:
- 10/29/01 14:42:25 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/CT1Hillas.C
r967 r1011 47 47 48 48 // 49 // The Hillas histograms (MHHillas) could be created automatically50 // but to make sure, that they are not deleted when the macro is51 // finished you must create them yourself and add it to the list52 //53 MHHillas *hists = new MHHillas;54 plist.AddToList(hists);55 56 MHStarMap *smap = new MHStarMap;57 plist.AddToList(smap);58 59 //60 49 // Now setup the tasks and tasklist: 61 50 // … … 65 54 // 4) fill the hillas into the histograms MFillHHillas 66 55 // 67 MCT1ReadAscii read("data/ MCCT1_97_ga45.dat");68 // read.AddFile("data/MCCT1_97_ga20.dat");56 MCT1ReadAscii read("data/CT1_97_on1.dat"); 57 read.AddFile("data/CT1_97_off1.dat"); 69 58 70 59 MImgCleanStd clean; 71 60 MHillasCalc hcalc; 72 MFillH Hillas hfill;73 MFillH StarMap sfill;61 MFillH hfill("MHillas", "MHHillas"); 62 MFillH sfill("MHillas", "MHStarMap"); 74 63 75 64 tlist.AddToList(&read); … … 83 72 // 84 73 MEvtLoop evtloop; 85 evtloop.SetParList(&plist) 74 evtloop.SetParList(&plist); 86 75 87 76 // … … 94 83 // After the analysis is finished we can display the histograms 95 84 // 96 hists->Draw();97 smap->Draw();85 plist.FindObject("MHHillas")->DrawClone(); 86 plist.FindObject("MHStarMap")->DrawClone(); 98 87 } -
trunk/MagicSoft/Mars/manalysis/MCT1ReadAscii.cc
r1003 r1011 185 185 void MCT1ReadAscii::ReadPedestals() 186 186 { 187 *fLog << "MCT1Pedestals::AsciiRead: Reading Pedestals..." << endl;188 189 187 // 190 188 // skip the next 4 values
Note:
See TracChangeset
for help on using the changeset viewer.