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/02/03 Stefan Ruegamer

   * datacenter/scripts/budb
     - added getdbsetup



 2009/02/02 Thomas Bretz

   * mcamera/MCameraCentralPix.[h,cc]:
     - added data member fDC
     - increased class version number accordingly

   * mreport/MReportCC.cc:
     - improved debug output
     - remove minus from the third argument in SCHEDULE

   * mreport/MReportCamera.[h,cc]:
     - fixed for ver>=200812140
     - added InterpretePSSEN
     - added InterpreteLIQ

   * msimcamera/MSimCamera.cc:
     - added a time-shift uniformly according to the bin-width



 2009/01/30 Thomas Bretz

   * RELEASE V2.2


 2009/02/02 Thomas Bretz

   * mjobs/MJCalibrateSignal.cc, mjobs/MJStar.cc:
     - fixed the regular expresssion



 2009/01/30 Thomas Bretz

   * datacenter/macros/fillcmt.C:
     - added

   * datacenter/macros/plotstat.C:
     - extended loop to show all periods again

   * msim/MPhotonData.cc:
     - don't change the sign of the cosines. The direction of the
       particle doesn't neet to be changed

   * msimreflector/MSimReflector.cc:
     - change the rotation matrix to fit the change in MPhotonData



 2009/01/29 Thomas Bretz

   * melectronics/MPulseShape.cc:
     - changed spline range from -25/25 to -8/8

   * mhflux/MAlphaFitter.cc, mhflux/MHAlpha.cc, mhflux/MHDisp.cc:
     - for sanity (thread safety) replaced Form by MString::Format

   * mhflux/MHDisp.cc:
     - initialize fHalf as suggested by valgrind

   * datacenter/macros/plotdb.C:
     - updated comments

   * resources/calibration_spline.rc:
     - updated



 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

   * ceres.cc, showlog.cc, callisto.cc, star.cc, ganymed.cc, sponde.cc:
     - added parenthesis suggested by compiler

   * mbase/MParEnv.cc:
     - included TClass for newwer root versions

   * msimreflector/MReflector.cc:
     - fixed return if read file was not existing

   * msimrelfector/MSimReflector.cc:
     - added sanity check if reflector is valid

   * datacenter/macros/insertdataset.C:
     - added fPriority

   * datacenter/macros/plotoptical.C:
     - write a root-file as the other plot-macros do

   * mreflector/MHReflector.cc:
     - added some SetDirectory(NULL), although this class is a candidate
       for removal

   * mjobs/MJCut.cc, mjobs/MJCalibrateSignal.cc:
     - make the CheckEnv fail if kFALSE is returned



 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 200