Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 9261)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 9262)
@@ -18,4 +18,78 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2009/01/25 Thomas Bretz
+
+   * mbase/Makefile, mbase/BaseLinkDef.h:
+     - added MLut
+
+   * mbase/MLut.[h,cc]:
+     - added
+
+   * msimcamera/MSimCamera.[h,cc], msimcamera/MSimTrigger.[h,cc],
+     msimcamera/MSimRadout.[h,cc], msimcamera/SimCameraLinkDef.h,
+     msimcamera/Makefile, msimcamera/MSimCalibrationSignal.[h,cc],
+     msimcamera/SimCameraIncl,h:
+     - added
+
+   * mjobs/MJob.cc:
+     - included TClass for newer root versions
+
+   * mreflector/MRflEvtData.cc:
+     - repaced a use of MHexagon by a direct use of MGeomCam
+
+   * melectronics/MAvalanchePhotoDiode.[h,cc]:
+     - added some getters
+     - remobved some obsolete comment
+     - set entries to 1 by default
+
+   * mgeom/MGeomCam.[h,cc]:
+     - split the Get[Max,Min]Radius into two member functions
+     - added the HitDetector based on the maximum radius calculated
+
+   * mgeom/MGeomCamDwarf.[h,cc], mgeom/MGeomCamMagic.[h,cc]:
+     - removed overloading of the new HitDetector
+
+   * mgeom/MGeomPix.[h,cc]:
+     - reset fUserBits in constructor according to a suggestion by valgrind
+     - added GetT member function
+
+   * mjobs/MJSpectrum.cc:
+     - replaced some Form calls for sanity by MString::Format
+     - check the result of CheckEnv
+
+   * mjobs/MJStar.cc:
+     - check the result of CheckEnv
+
+   * mjobs/MJob.cc:
+     - fixed a typo in the name for the seed value resource
+
+   * mraw/MRawRunHeader.h:
+     - added a getter for run type point run
+
+   * msignal/MSignalCalc.cc:
+     - don't execute Process at all if fPedestal==NULL
+
+   * msignal/MSignalCam.cc:
+     - aded case 10 and 11 to GetPixelContent
+
+   * msim/MHPhotonEvent.cc:
+     - replaced case 4 by using the traversal distance in the 0-pixel
+
+   * msimcamera/MSimSignalCam.cc:
+     - set pixel only to used if contents>0
+
+   * msimcamera/MSimTrigger.[h,cc]:
+     - added ReadEnv for setup from a resource file
+
+   * msimreflector/MReflector.[h,cc]:
+     - store file name in title
+     - added ReadEnv for setup from a resource file
+
+   * msimreflector/MSimReflector.[h,cc]:
+     - changed copyright notice
+     - added fDetectorMargin
+
+
 
  2009/01/24 Thomas Bretz
Index: /trunk/MagicSoft/Mars/NEWS
===================================================================
--- /trunk/MagicSoft/Mars/NEWS	(revision 9261)
+++ /trunk/MagicSoft/Mars/NEWS	(revision 9262)
@@ -30,4 +30,7 @@
      minus). This allows to use file names starting with a -
 
+   * In all resource files you can now initialize the random number
+     generator. For details see: MJob::InitRandomNumberGenerator
+
    * added a new program called ''readcorsika''. It's purpose is (in analogy
      to readraw and readdaq) to read a Corsika output file (for now
@@ -35,4 +38,9 @@
      human readable form. It can also write the contents of this file
      into a root-file.
+
+   * The calculation of the maximum distance to the origin in a MGeomCam
+     has been improved (edges might be further away than the sides).
+     This is just a tiny change but it might change the appearance of
+     the radial profiles a little bit.
 
  ;Database
Index: /trunk/MagicSoft/Mars/msimreflector/MReflector.cc
===================================================================
--- /trunk/MagicSoft/Mars/msimreflector/MReflector.cc	(revision 9261)
+++ /trunk/MagicSoft/Mars/msimreflector/MReflector.cc	(revision 9262)
@@ -120,4 +120,6 @@
 Bool_t MReflector::ReadFile(TString fname)
 {
+    SetTitle(fname);
+
     gSystem->ExpandPathName(fname);
 
@@ -265,2 +267,18 @@
 }
 
+// --------------------------------------------------------------------------
+//
+// FileName: reflector.txt
+//
+Int_t MReflector::ReadEnv(const TEnv &env, TString prefix, Bool_t print)
+{
+    Bool_t rc = kFALSE;
+    if (IsEnvDefined(env, prefix, "FileName", print))
+    {
+        rc = kTRUE;
+        if (!ReadFile(GetEnvValue(env, prefix, "FileName", "")))
+            return kERROR;
+    }
+
+    return rc;
+}
Index: /trunk/MagicSoft/Mars/msimreflector/MReflector.h
===================================================================
--- /trunk/MagicSoft/Mars/msimreflector/MReflector.h	(revision 9261)
+++ /trunk/MagicSoft/Mars/msimreflector/MReflector.h	(revision 9262)
@@ -28,4 +28,6 @@
     void InitMaxR();
 
+    Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
+
 public:
     MReflector(const char *name=NULL, const char *title=NULL);
