Changeset 2161
- Timestamp:
- 06/05/03 10:18:20 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2158 r2161 1 1 -*-*- END OF LINE -*-*- 2 3 2003/06/05: Thomas Bretz 4 5 * mbase/MEvtLoop.cc: 6 - fixed some typos in the comments 7 8 * meventdisp/MGCamDisplay.cc: 9 - added MHillasSrc to eventloop 10 11 * meventdisp/MGEvtDisplay.cc: 12 - print MC informations to screen, too 13 14 * mfileio/MReadCurrents.cc: 15 - added a comment 16 17 * mhist/MHCerPhotEvt.h: 18 - removed typo 19 20 * mimage/MHillasSrcCalc.cc: 21 - create a default source if now source is available 22 23 2 24 3 25 2003/06/03: Thomas Bretz -
trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
r2120 r2161 35 35 // object. // 36 36 // // 37 // If you call Eventloop first all PreProcess functions - with the//37 // If you call Eventloop() first all PreProcess functions - with the // 38 38 // parameter list as an argument - of the tasks in the task list are // 39 39 // executed. If one of them returns kFALSE then the execution is stopped. // 40 // If the preprocessing was ok . The Process funtion of the tasks are//41 // as long as one function returns kSTOP. Only the tasks which are marked//42 // marked as "All" or with a string which matches the MInputStreamID of//43 // MTaskList are executed. If one tasks returns kCONTINUE the pending//40 // If the preprocessing was ok, The Process function of the tasks are // 41 // executed as long as one function returns kSTOP. Only the tasks which // 42 // are marked as "All" or with a string which matches the MInputStreamID // 43 // of MTaskList are executed. If one tasks returns kCONTINUE the pending // 44 44 // tasks in the list are skipped and the execution in continued with // 45 45 // the first one in the list. // … … 496 496 // -------------------------------------------------------------------------- 497 497 // 498 // After you setup (or read) an Evtloop you can use this to write the499 // eventloop setup as a macro. The default name is "evtloop.C". The default500 // extension is .C If the extension is not given, .C is added.501 // I the last character in the argument is a '+' the file is not closed.498 // After you setup (or read) an Evtloop you can use MakeMacro() to write 499 // the eventloop setup as a macro. The default name is "evtloop.C". The 500 // default extension is .C If the extension is not given, .C is added. 501 // If the last character in the argument is a '+' the file is not closed. 502 502 // This is usefull if you have an eventloop which runs three times and 503 503 // you want to write one macro. If the first character is a '+' no -
trunk/MagicSoft/Mars/meventdisp/MGCamDisplay.cc
r2026 r2161 38 38 #include "MCamDisplay.h" // MCamDisplay 39 39 #include "MHillasCalc.h" // MHillasCalc 40 #include "MHillasSrcCalc.h" // MHillasSrcCalc 40 41 #include "MPedestalCam.h" // MPedestalCam 41 42 #include "MCerPhotCalc.h" // MCerPhotCalc … … 123 124 MBlindPixelCalc *blind = new MBlindPixelCalc; 124 125 MHillasCalc *hcalc = new MHillasCalc; 126 MHillasSrcCalc *scalc = new MHillasSrcCalc; 125 127 126 128 tlist->AddToList(pcopy); … … 131 133 tlist->AddToList(blind); 132 134 tlist->AddToList(hcalc); 135 tlist->AddToList(scalc); 133 136 134 137 MGeomCamMagic *geom = new MGeomCamMagic; … … 210 213 MHillas *hillas = (MHillas*)plist->FindObject("MHillas"); 211 214 215 hillas->Print(); 212 216 plist->FindObject("MHillasExt")->Print(); 217 plist->FindObject("MHillasSrc")->Print(); 213 218 plist->FindObject("MNewImagePar")->Print(); 214 219 215 hillas->Print();216 220 if (fDisplayHillas) 217 221 { -
trunk/MagicSoft/Mars/meventdisp/MGEvtDisplay.cc
r1966 r2161 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 10/2001 <mailto:tbretz@uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz, 10/2001 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 ! Copyright: MAGIC Software Development, 2000-200 220 ! Copyright: MAGIC Software Development, 2000-2003 21 21 ! 22 22 ! … … 39 39 #include <TG3DLine.h> // TGHorizontal3DLine 40 40 // use TGSplitter instead for root<3.00 41 42 #include "MLog.h" 43 #include "MLogManip.h" 41 44 42 45 #include "MParList.h" … … 516 519 fEvtInfo->SetText(txt); 517 520 521 gLog << all; 522 gLog.Separator(txt); 523 518 524 // 519 525 // Seems to be necessary to newly layout the upper part to display … … 535 541 { 536 542 GetReader()->DecEventNum(); 543 UpdateMcLabel(); 537 544 UpdateDisplay(); 538 UpdateMcLabel();539 545 } 540 546 -
trunk/MagicSoft/Mars/mfileio/MReadCurrents.cc
r2147 r2161 175 175 return kFALSE; 176 176 177 // FIXME: Calculate number of events! 178 177 179 return kTRUE; 178 180 } -
trunk/MagicSoft/Mars/mhist/MHCerPhotEvt.h
r2043 r2161 11 11 12 12 class TH1D; 13 class MGeamCam;14 13 class MCamDisplay; 15 14 -
trunk/MagicSoft/Mars/mimage/MHillasSrcCalc.cc
r2004 r2161 82 82 if (!fSrcPos) 83 83 { 84 *fLog << err << dbginf << fSrcName << " [MSrcPosCam] not found... aborting." << endl; 85 return kFALSE; 84 *fLog << warn << fSrcName << " [MSrcPosCam] not found... creating default MSrcPosCam." << endl; 85 fSrcPos = (MSrcPosCam*)pList->FindCreateObj("MSrcPosCam", fSrcName); 86 if (!fSrcPos) 87 return kFALSE; 86 88 } 87 89
Note:
See TracChangeset
for help on using the changeset viewer.