Changeset 953
- Timestamp:
- 09/27/01 15:15:25 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r952 r953 9 9 - added entry field for cleaning levels 10 10 - restructured code a bit 11 12 * mhist/MFillH.cc: 13 - fixed missing initialization of member variables in Init 11 14 12 15 * mhist/MHHillas.[h,cc]: … … 14 17 - Added DrawClone 15 18 - Removed kCanDelete bits from Draw function 16 19 17 20 * mhist/MHStarMap.[h,cc]: 18 21 - Added comments -
trunk/MagicSoft/Mars/mhist/MFillH.cc
r889 r953 62 62 *fName = name ? name : "MFillH"; 63 63 *fTitle = title ? title : "Task to fill Mars histograms"; 64 65 fH = NULL; 66 fParContainer = NULL; 64 67 } 65 68 … … 160 163 161 164 return kTRUE; 162 } 165 } 163 166 164 167 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mmain/MAnalysis.cc
r952 r953 165 165 // ====================================================================== 166 166 167 #include "MLog.h" 167 168 #include "MParList.h" 168 169 #include "MTaskList.h" … … 178 179 #include "MEvtLoop.h" 179 180 #include "MHillas.h" 180 181 #include <iostream.h> 181 182 void MAnalysis::CalculateHillas() const 182 183 { … … 212 213 plist.AddToList(&tlist); 213 214 215 214 216 // 215 217 // The geometry container must be created by yourself to make sure … … 221 223 MPedestalCam pedest; 222 224 plist.AddToList(&pedest); 223 224 //225 // The Hillas histograms (MHHillas) could be created automatically226 // but to make sure, that they are not deleted when the macro is227 // finished you must create them yourself and add it to the list228 //229 MHillas hillas;230 plist.AddToList(&hillas);231 232 MHHillas hists;233 MHStarMap smap;234 plist.AddToList(&hists);235 plist.AddToList(&smap);236 225 237 226 // … … 261 250 tlist.AddToList(&hcalc); 262 251 263 MFillH hfill( &hillas, &hists);264 MFillH sfill( &hillas, &smap);252 MFillH hfill("MHillas", "MHHillas"); 253 MFillH sfill("MHillas", "MHStarMap"); 265 254 266 255 if (displhillas) … … 286 275 // 287 276 if (displhillas) 288 hists.DrawClone();277 plist.FindObject("MHHillas")->DrawClone(); 289 278 290 279 if (displstarmap) 291 smap.DrawClone();280 plist.FindObject("MHStarMap")->DrawClone(); 292 281 293 282 cout << endl;
Note:
See TracChangeset
for help on using the changeset viewer.