Please  do  not write behind the end of line tag so that it is  possible
to   send  a   Changelog   file  to  a  line  printer  directly.  Thanks.

For your entries please follow EXACTLY this style:

_yyyy/mm/dd_[Your Name]
_
___*_filename:
_____-_description
_
___*_filename2, filename3:
_____-_description
_
_
_

While an underscore is a placeholder for a white-space or an empty line.

                                                 -*-*- END OF LINE -*-*-

 2009/01/27 Thomas Bretz

  * macros/rootlogon.C:
     - added new subdirectories

   * melectronics/MAnalogSignal.[h,cc]:
     - added the posssibility to add a pulse from a TF1
     - removed the printout if out of range
     - returns whether the range had to be adapted
     - changed the Discriminate function to allow for giving a start
       and end time of the search
     - imporved the fining of the falling and rising edge
     - removed the printout in Discriminate

   * msimcamera/MSimCamera.[h,cc]:
     - moved the pulse shape specific code into a new class MPulseShape
     - Fixed the range of the digitization

   * melectronics/MPulseShape.[h,cc]:
     - added

   * melectronics/Makefile, melectronics/ElectronicsLinkDef.h:
     - added MPulseShape

   * msimcamera/MSimGeomCam.[h,cc]:
     - Fixed the time window for random photons (Maybe move to a later
       step in the analysis?)

   * msimcamera/MSimReadout.cc:
     - call SetReadyToSave for the run-header
     - added some debug output in case of failure

   * msimcamera/MSimSignalCam.[h,cc]:
     - subtract the trigger position of any

   * msimcamera/MSimTrigger.cc:
     - some changes to the debug output

   * mjobs/MJSimulation.[h,cc]:
     - added

   * mjobs/Makefile, mjobs/JobsLinkDef.h:
     - added MJSimulation



 2009/01/26 Thomas Bretz

   * Makefile:
     - added mcorsika, msim, msimreflector, msimcamera and
       msimelectronics
     - added readcorsika

   * mbase/Makefile, mbase/BaseLinkDef.h:
     - added MParEnv

   * mbase/MParEnv.[h,cc]:
     - added

   * mbase/MParameters.[h,cc]:
     - added ReadEnv to all classes

   * mbase/MParList.cc:
     - return the container within MParEnv if MParEnv found 

   * mbase/MParContainer.cc:
     - fixed a typo

   * manalysis/MEventRateCalc.cc:
     - added a comment

   * melectronics/MAnalogChannels.[h,cc]:
     - made the GetNum* unsigned
     - added new member functions to just initialize one size

   * mraw/MRawRunHeader.[h,cc]:
     - added a possibility to just init the number of pixels

   * msimcamera/MSimReadout.[h,cc]:
     - get the number of output channels from the camera geometry
     - initialize the runheader in ReInit
     - initialize the data arrays from the run-header in reinit

   * mimage/MHHillas.cc:
     - the default binning is not scales by 0.9 anymore

   * mmc/MMcEvtBasic.h:
     - added new type "artificial" 

   * mraw/MRawRunHeader.cc:
     - set header size in constructor to 0

   * msimcamera/MSimCalibrationSignal.[h,cc]:
     - we need fEvt and fTrigger always
     - renamed ReInit to CallReInit
     - set photon primary type
     - set number of photons from 50 to 5

   * msimcamera/MSimRandomPhotons.cc:
     - explicitly set weight to 1

   * mjobs/Makefile:
     - added msim, msimreflector, msimcamera and mcorsika



 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
     - compress the trigger list after deleting slots
     - initialize descriminator threshold with -1
     - check for the validity of the discr. th in PreProcess

   * 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

   * mbase/MMath.cc:
     - added two explicit conversion to make it compile on my Ubuntu
     - Replaced some Form by MString::Format
     - included MString



 2009/01/23 Daniela Dorner

   * datacenter/db/showplots-ds.php, datacenter/db/tabs.php, 
     datacenter/db/plot.php:
     - adapted path to new web file structure

   * datacenter/db/sequinfo-aio.php, datacenter/db/runinfo-aio.php:
     - added option to group by date (year, month, night): pulldown in
       menu and adapted query

   * datacenter/db/sequinfo-aio.php, datacenter/db/runinfo-aio.php
     datacenter/db/datasetinfo-aio.php:
     - enabled possibility to combine all group-bys 

   * datacenter/db/datasetinfo-aio.php:
     - enhances information printed in table in case of group-by

   * datacenter/db/include.php:
     - adapted pulldown of status-group-by

   * datacenter/db/menu.php:
     - added pulldown for sumtrigger-flag to sequinfo-menu
     - added function to print pulldown for group-by date



 2009/01/23 Thomas Bretz

   * mcorsika/MCorsikaEvtHeader.[h,cc], msim/MPhotonData.[h,cc],
     msimcamera/MSimExcessNoise.cc, msimreflector/MMirrorDisk.cc,
     msimreflector/MMirrorHex.cc, msimreflector/MMirrorSquare.[h,cc],
     msimreflector/MReflector.cc, msimreflector/MSimReflector.cc,
     melectronics/MAnalogSignal.cc:
     - moved code which needs TMath to source file
     - included TMath for newer root versions
     - included TObjArray for newer root versions

   * msimcamera/MSimAPD.[h,cc], msimcamera/MSimBundlePhotons.[h,cc], 
     msimcamera/MSimRandomPhotons.[h,cc]:
     - added

   * melectronics/Makefile, melectronics/MAnalogChannels.[h,cc],
     melectronics/ElectronicsIncl.h, melectronics/ElectronicsLinkDef.h, 
     melectronics/MDigitalSignal.[h,cc],  
     melectronics/MAnalogSignal.[h,cc], 
     melectronics/MAvalanchePhotoDiode.[h,cc]:
     - added

   * msim/M*.cc, msimreflector/M*.cc, msimcamera/M*.cc:
     - changed copyright notice

   * mjobs/MJob.[h,cc]:
     - for convinience replaced GetEnvValue by GetEnvValue2
     - added initialization of the random number generator

   * ceres.cc, mcorsika/CorsikaIncl.h:
     - added



 2009/01/22 Thomas Bretz

   * mraw/MRawRunHeader.h:
     - added new functions to access the runtype

   * msim/MPhotonData.cc:
     - removed some obsolete comments

   * msim/MPhotonEvent.[h,cc]
     - added some comments
     - added new member function GetFirst and GetLast
     - UnSort the array after reading new data
     - removed some old obsolete code
     - added new meber function Sort and IsSorted

   * msimreflector/MSimReflector.cc:
     - force sorting of the array

  * msimcamera/MSimPSF.[h,cc], msimcamera/MSimGeomCam.[h,cc], 
    msimcamera/MSimExcessNoise.[h,cc], msimcamera/MSimSignalCam.[h,cc]:
    - added



 2009/01/21 Thomas Bretz

   * mbase/BaseLinkDef.h, mbase/Makefile:
     - added MQuaternion
     - added MReflection

   * mbase/MQuaternion.[h,cc], mbase/MReflection.[h,cc]:
     - added

   * mbase/MArrayI.[h,cc]:
     - added a few new functions (ReSort, Add, Find and AddUniq)

   * mbase/MMath.cc:
     - replaced delete by delete[] where appropriate

   * mgeom/MGeomCam.h:
     - added new virtual functions HitFrame and HitDetector
     - included MQuaternion

   * mgeom/MGeomCamDwarf.[h,cc], mgeom/MGeomCamMagic.[h,cc]:
     - added new functions HitFrame and HitDetector:

   * msim/MHPhotonEvent.cc:
     - removed the reference to MCamera

   * mgeom/MGeomPix.[h,cc], mgui/MHexagon.[h,cc]:
     - moved DistanceToPrimitive from MHexagon to MGeomPix
     - moved the funtions to calculate overlapping areas 
       also, but they are still in a comment

   * mgui/MHexagon.[h,cc]:
     - started implementing a rotation angle
     - added data meber fPhi
     - increased class version number

   * mhist/MHCamera.cc, mtools/MagicJam.cc:
     - we don't have to use a MHexagon anymore caluclating 
       DistanceToPrimitive

   * msimreflector/MMirror.[h,cc], msimreflector/MMirrorSquare.[h,cc],
     msimreflector/MMirrorHex.[h,cc], msimreflector/MMirrorDisk.[h,cc],
     msimreflector/MReflector.[h,cc], msimreflector/MSimReflector.[h,cc],
     msimreflector/Makefile, msimreflector/SimReflectorLinkDef.h, 
     msimreflector/SimReflectorIncl.h:
     - added



 2009/01/21 Stefan Ruegamer

   * datacenter/scripts/read_lapalma-tapes:
     - added check of the tape slot when exporting the tapes



 2009/01/20 Thomas Bretz

   * mjobs/MJob.h:
     - added Esc member function

   * msim/MPhotonData.[h,cc], msim/MPhotonEvent.[h,cc], 
     msim/MSimAbsorption.[h,cc], msim/MSimPointingPos.[h,cc],
     MHPhotonEvent.[h,cc], msim/Makefile, msim/SimIncl.h 
     msim/SimLinkDef.h:
     - added


 2009/01/19 Thomas Bretz

   * mfileio/MWriteRootFile.cc:
     - simplified how the rules are evaluated using TPregexp
     - by this the rules got more powerful

   * mjobs/MJCalibrateSignal.cc, mjobs/MJStar.cc:
     - changed ols style rule to new style



 2009/01/18 Thomas Bretz

   * mbase/BaseLinkDef.h, mbase/Makefile:
     - added MSpline3

   * mcorsika/MCorsikaEvtHeader.cc:
     - some little cosmetics

   * mcorsika/MCorsikaEvtHeader.h:
     - added some missing getters

   * mcorsika/MCorsikaRunHeader.cc:
     - removed some obsolete comments
     - reordered some comments

   * mextralgo/MExtralgoSpline.h:
     - changed default in GetIntegral from true to false

   * mraw/MRawEvtHeader.h:
     - added Setter for DAQEventNumber

   * mraw/MRawRunHeader.cc:
     - start pixel hardware indices with 1 not with 0



 2009/01/17 Thomas Bretz

  * mbase/MMath.[h,cc]:
     - added a new function RndmExp which should be a tiny bit faster than
       root's own implementation because it ises Rndm() instead of Uniform()

   * mextralgo/ExtralgoIncl.h:
     - added MArrayF

   * mextralgo/MExtralgoSpline.[h,cc]:
     - divided FindY into FindYup and FindYdn to avoid an obsolete if-clause
     - added a new member function to return the integral function of the
       spline. This is useful to init a new spline and use it for 
       producing the proper random distribution.

   * mpedestal/MPedestalSubtractedEvt.[h,cc]:
     - added Print() function

   * mraw/MRawEvtData.[h,cc]:
     - added a member function to Reset the arrays
     - added member function to set the pixel indices
     - Improved the new Set function

  * readcorsika.cc:
    - added



 2009/01/16 Daniel Hoehne-Moench

   * datacenter/scripts/mcsequences:
     - implemented sumtrigger -> modes, fTriggerFlagKEY
     - fPriority(MCSequenceProcessStatus) is now filled into the mcdb

   * datacenter/scripts/fillmccallisto, fillmcstar:
     - bugfix: changed argument of $primaries from [$s+$s] to [$s]

   * datacenter/macros/fillcamera.C:
     - changed NumPheFromDNSB to float(7,3)
     - fPriority(MCRunProcessStatus) is now filled into the mcdb

   * datacenter/macros/fillmccalib.C:
     - minor changes, bugfix (wrong column name for mcdb)

   * datacenter/macros/fillmcsignal.C:
     - definition of some parameters changed according to fillsignal.C
     - minor changes, deleted unnecessary code
     - implemented if clause for HiLo-Parameters. Instead of 
       seqno<200000 the fAmplFadcKEY is queried in the mcdb for each
       sequence. For MUX MCs the HiLo-Parameters are not calculated.



 2009/01/15 Thomas Bretz

   * callisto.cc:
     - cosmetics to output

   * mcorsika/MCorsikaRunHeader.cc:
     - cosmetics (removed a ;;)

   * mhist/MHEvent.[h,cc]:
     - ReInit to allow the change of the camera geoemtry in ReInit



 2009/01/15 Stefan Ruegamer

   * datacenter/scripts/dodatacheck:
     - removed the _E in the find command; files from 2008/06/04 on do
       not have it any more



 2009/01/14 Daniel Hoehne-Moench

   * datacenter/scripts/sourcefile:
     - extended errorcoding on mc run process status

   * datacenter/scripts/runmccallisto, runmcstar:
     - deleted unnecessary lines, adapted to primary structure

   * datacenter/macros/fillmcsignal.C, fillmccalib.C, fillmcstar.C:
     - added

   * datacenter/scripts/fillmccallisto, fillmcstar:
     - added



 2009/01/14 Thomas Bretz

   * readraw.cc:
     - check first whether the file exist before adding the extension

   * mbase/MMath.[h,cc]:
     - added function to Re-sort an array

   * mfileio/MReadMarsFile.cc, mfileio/MWriteRootFile.cc:
     - Improved output

   * mfileio/MWriteRootFile.cc:
     - fixed a problem which prevented to open more than one /dev/null
       devices independantly

   * mgeom/MGeomCam.cc:
     - cosmetics

   * mgeom/MGeomCamDwarf.h:
     - fixed a typo in an ifdef

   * mgeom/MGeomPix.[h,cc]:
     - added funtion to return positon as TVector2
     - slightly improved the algorithm to check IsInside
     - fixed the conditional signs for the orientation of pixels
       in GetDirection

   * mmain/MEventDisplay.cc:
     - Give different names to the MPedestalSubtract tasks
     - fixed buttons
     - call AddGeometryTags after ReInit to allow reading new geometries in
       ReInit

   * mmc/MMcEvtBasic.h:
     - added a new primary type kNightSky

   * mraw/MRawEvtPixelIter.h:
     - replaced type of the number of bytes by UInt_t

   * mraw/MRawRunHeader.h:
     - allow to validate the magic-number from outside (for MCs)

   * datacenter/scripts/runcorsika:
     - added a lot of comments
     - reordered values in input card
     - switched off a lot of obsolete output
     - changed the Magnetic field to a value corresponding to the location of
       MAGIC at 2200m height valid for January 2009. (The old value never took
       place there?!) The value was taken from www.noaa.gov/geomagmodels



 2009/01/12 Daniel Hoehne-Moench

   * datacenter/db/menu.php:
     - bugfix: now the SumTriggerFlag is correctly displayed in the web
       interface



 2009/01/09 Daniel Hoehne-Moench

   * datacenter/macros/fillcamera.C
     - implemented new variables: zbinmin, zbinmax, number of 
       sumtriggers, sum trigger flag
     - bugfix: for P and C runs the mirror fraction and the impact
       parameter had unreasonable values (negative) which were filled
       into the mcdb, now->0

   * datacenter/scripts/fillcamera, mcsequences:
     - implemented call of getdbsetup



 2009/01/09 Stefan Ruegamer

   * datacenter/scripts/buildsequenceentries
     - corrected IFS argument



 2009/01/08 Stefan Ruegamer

   * datacenter/scripts/filesondisk
     - added S and N runs



 2009/01/07 Daniel Hoehne-Moench

   * datacenter/macros/filldotrun.C:
     - updated column counting numbers
     - included a check for the number of columns in the runfiles
   
   * datacenter/macros/buildsequenceentries.C:
     - implemented SumTriggerFlagKEY for sequence building



 2009/01/06 Thomas Bretz

   * mbase/MArrayB.h, mbase/MArrayD.h, mbase/MArrayF.h,
     mbase/MArrayI.h, mbase/MArrayS.h:
     - removed GetSize

   * mbase/MArrayF.h:
     - added Add()
     - added AddClipped

  * mbase/MMath.[h,cc]:
     - implemented ReSort

   * mcorsika/MCorsikaEvtHeader.cc:
     - removed obsolete comments

   * mcorsika/MCorsikaRead.cc:
     - cosmetics

   * mcorsika/MCorsikaRunHeader.[h,cc]:
     - added comments about file contents
     - added fWavelengthMin/Max

   * mextralgo/MExtralgoSpline.[h,cc]:
     - renamed SearchY to SearchYdn
     - fixed a problem in SearchYup (must be ++i instead of i++)
       (this is relatively unimportant because it was only used
        in the determination of the pulse width which we never
        really used)
     - added a sanity/range-check to SearchYup and SearchYdn
     - added a comment
     - changed the order of arguments in EvalDeriv1
     - changed the order of arguments in EvalDeriv2
     - accelerated EvalDeriv1 (one multiplication less)
     - added Deriv1 function 
     - made SearchYup and SearchYdn public

   * mjobs/MDataSet.cc:
     - removed an obsolete return statement

   * mraw/MRawEvtData.[h,cc]:
     - changed pointer in AddPixel to reference
     - added a Set function

   * mraw/MRawRunHeader.[h,cc]:
     - added a lot of fixes for wrong run numbers written by Arehucas
     - added a fix for strange file numbers written by Arehucas
     - added functions as monta carlo interface to set contents

   * msignal/MSignalCam.cc:
     - defined a case 9



 2009/01/05 Thomas Bretz

   * mhbase/MH.h:
     - commited missing changes from last year

   * merpp.cc:
     - fixed a description

   * sponde.cc:
     - added "Multiple dataset at once"

   * star.cc:
     - removed obsolete -ff option from output

   * mbase/MTime.[h,cc]:
     - added GetBinary
     - added WriteBinary

   * mbase/MEvtLoop.cc:
     - display paused status in status line
     - improved pause handling


