- Timestamp:
- 02/19/09 17:53:59 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9350 r9351 53 53 * mimage/MHHillas.cc, mimage/MMHillas.Ext.cc, mimage/MHHillasSrc.cc: 54 54 - converted default binning from mm to deg 55 56 * mraw/MRawRunHeader.cc: 57 - print less when values doen't have any meaning 58 59 * msim/MSimAtmosphere.[h,cc]: 60 - added 61 62 * msim/SimLinkDef.h, msim/Makefile: 63 - added MSimAtmosphere 64 65 * mjobs/MJSimulation.cc: 66 - added simulation of atmosphere 67 - clean isolated pixels away before calculating image parameters 68 - don't clean calibration runs 55 69 56 70 -
trunk/MagicSoft/Mars/NEWS
r9349 r9351 75 75 memory and it was never freed, so the program took this memory 76 76 until the end) 77 77 78 * Converted the code from MMCS' reflector program to MSimAtmosphere 79 (instead of the tables build in for MAGIC Winter and Summer 80 atmosphere we use the values written by Corsika fitted to the 81 tabulated atmosphere given as input) 82 83 * For caluclating the displayed image parameters in ceres a basic 84 image cleaning removing isolated pixels is now done. 85 78 86 ;star 79 87 -
trunk/MagicSoft/Mars/mjobs/MJSimulation.cc
r9343 r9351 80 80 #include "MSimMMCS.h" 81 81 #include "MSimAbsorption.h" 82 #include "MSimAtmosphere.h" 82 83 #include "MSimReflector.h" 83 84 #include "MSimPointingPos.h" … … 326 327 MSimMMCS simmmcs; 327 328 329 MSimAtmosphere simatm; 328 330 MSimAbsorption absapd("PhotonDetectionEfficiency"); 329 331 MSimAbsorption absmir("MirrorReflectivity"); … … 511 513 // ------------------------------------------------------------------- 512 514 513 // FIXME: Remove isolated pixels 514 MImgCleanStd clean(7, 4.5); 515 // Remove isolated pixels 516 MImgCleanStd clean(0, 0); 517 clean.SetCleanLvl0(0); // The level above which isolated pixels are kept 518 clean.SetCleanRings(0); 515 519 clean.SetMethod(MImgCleanStd::kAbsolute); 516 520 … … 551 555 // if (header.IsPointRun()) 552 556 // tasks.AddToList(&stars); 553 //tasks.AddToList(&print); 557 if (1) 558 tasks.AddToList(&simatm); // Here because before fillh1 554 559 tasks.AddToList(&fillh1); 555 560 tasks.AddToList(&fillG); … … 558 563 tasks.AddToList(&absapd); 559 564 tasks.AddToList(&absmir); 565 if (0) 566 tasks.AddToList(&simatm); // FASTER? 560 567 } 561 568 tasks.AddToList(&reflect); … … 628 635 tasks.AddToList(&fillx0a); 629 636 tasks.AddToList(&fillx0c); 630 //tasks.AddToList(&clean); 637 if (!header.IsCalibrationRun()) 638 tasks.AddToList(&clean); 631 639 tasks.AddToList(&hcalc); 632 640 tasks.AddToList(&fillx0d); -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc
r9313 r9351 957 957 if (fFormatVersion>5) 958 958 *fLog << "Observation: '" << fObservationMode << "'" << endl; 959 *fLog << "Source: '" << fSourceName << "' " << " "; 960 *fLog << fSourceEpochChar << dec << fSourceEpochDate << endl; 959 if (fSourceName[0]!=0 || fSourceEpochChar[0]!=0 || fSourceEpochDate!=0) 960 { 961 *fLog << "Source: '" << fSourceName << "' " << " "; 962 *fLog << fSourceEpochChar << dec << fSourceEpochDate << endl; 963 } 961 964 if (fRunStart) 962 965 *fLog << "Run Start: " << fRunStart << endl; … … 974 977 else 975 978 *fLog << (fNumSamplesLoGain+fNumSamplesHiGain) * fNumBytesPerSample << "B/pix" << endl; 976 *fLog << "Evt Counter: " << fNumEvents; 977 if (fFormatVersion>8) 978 *fLog << " (read=" << fNumEventsRead << ")"; 979 *fLog << endl; 979 if (fNumEvents>0 || fNumEventsRead>0) 980 { 981 *fLog << "Evt Counter: " << fNumEvents; 982 if (fFormatVersion>8) 983 *fLog << " (read=" << fNumEventsRead << ")"; 984 *fLog << endl; 985 } 980 986 981 987 if (TString(t).Contains("header", TString::kIgnoreCase)) -
trunk/MagicSoft/Mars/msim/Makefile
r9319 r9351 26 26 MHPhotonEvent.cc \ 27 27 MSimMMCS.cc \ 28 MSimAtmosphere.cc \ 28 29 MSimAbsorption.cc \ 29 30 MSimPointingPos.cc -
trunk/MagicSoft/Mars/msim/SimLinkDef.h
r9319 r9351 14 14 #pragma link C++ class MSimPointingPos+; 15 15 #pragma link C++ class MSimAbsorption+; 16 #pragma link C++ class MSimAtmosphere+; 16 17 17 18 #pragma link C++ class MSimMMCS+;
Note:
See TracChangeset
for help on using the changeset viewer.