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 -*-*-

 2010/07/09 Thomas Bretz

   * mpointing/MSrcPosCam.[h,cc]:
     - now the particle position is stored in any case in the headers
       so in case we have a view cone we must keep the position fixed
     - added the fix for the MC monte carlos (for them X needs to
       change its sign due to a bug in the reflector program)

   * mars.rc, star.rc:
     - changed time contraint in cleaning from aboslute values
       to relative values (units now ns/deg)

   * mimage/MImgCleanStd.cc:
     - changed time contraint in cleaning from aboslute values
       to relative values (units now ns/deg)



 2010/07/07 Daniela Dorner

   * datacenter/scripts/runceres:
     - fixed typo



 2010/07/06 Daniela Dorner

   * datacenter/scripts/runstar_mc:
     - fixed typo
     - added inpath to command line



 2010/07/05 Daniela Dorner

   * datacenter/scripts/runceres:
     - added path for C and P run (was not the same like for D run)

   * datacenter/scripts/sourcefile:
     - fixed joins in subquerypart()

   * datacenter/scripts/runcallisto_mc:
     - added inpath to command line

   * datacenter/db/mcinfo.php:
     - removed FailMenu
     - fixed bug (group by did not work in case statusvalue was not 
       selected)

   * datacenter/db/mcdefs.php:
     - removed FailMenu columns



 2010/07/05 Thomas Bretz

   * mraw/MRawRunHeader.h:
     - added missing SetFileNumber

   * mjobs/MSequence.cc:
     - added the missing file number to teh MC file names

   * msimcamera/MSimCalibrationSignal.h:
     - changed virtual file name from 000000 to 000001 to force file
       number to be 1.

   * mjobs/MJSimulation.[h,cc]:
     - added run-number to ceres.root filename



 2010/07/02 Daniela Dorner

   * datacenter/scripts/runcorsika:
     - removed $com
     - updated logging

   * datacenter/scripts/runceres:
     - fixed path
     - added error handling

   * resources/steps_fact.rc:
     - update joins to new scheme to include further steps in the chain

   * datacenter/scripts/sourcefile:
     - adapted queries to new scheme of joins

   * datacenter/scripts/runstar_mc:
     - added (script to run star for mc) 



 2010/07/02 Daniela Dorner, Christian Farnier

   * datacenter/scripts/runcallisto_mc:
     - added (script to callibrate mc) 



 2010/06/30 Daniela Dorner

   * datacenter/db/mcinfo.php:
     - added output to step column in case job is running
     - fixed typo

   * datacenter/scripts/runcorsika:
     - small bugfix (new version of 'cut' gives error for '-c 0-4')

   * datacenter/scripts/runceres:
     - added (script to run telescope simulation of file basis)

   * datacenter/scripts/setup.wue.magic.data,
     datacenter/scripts/setup.wue.magic.mc,
     datacenter/scripts/setup.wue.fact.mc:
     - added condorpath

   * datacenter/scripts/jobmanager,
     datacenter/scripts/scriptlauncher:
     - implemented condorpath

   * datacenter/scripts/sourcefile:
     - changed log and error file name for jobmanager

   * resources/steps_fact.rc:
     - fixed typo



 2010/06/29 Daniela Dorner

   * datacenter/db/mcinfo.php:
     - added duration to step column in case of 'failed' and 'done'



 2010/06/28 Daniela Dorner

   * datacenter/db/include.php:
     - adapted status query for new db layout

   * datacenter/db/menu.php:
     - added and exchanged menu points and init elements for the new
       layout of the FACT mc db
     - bugfix that menu items can be switched off

   * datacenter/db/mcinfo.php:
     - adapted the queries for the new layout of the FACT mc db 
       (different table names, structures and content)
     - adapted query for the status group by

   * datacenter/db/mcdefs.php:
     - adapted the arrays for the new layout of the FACT mc db 



 2010/06/28 Thomas Bretz

   * mbase/MStatusDisplay.cc:
     - Status displays where stored as MStatusArray instead of
       MStatusDisplay
     - Read now also can read other StatusDisplays if a key is found in
       the file



 2010/06/25 Thomas Bretz

   * mjobs/MJSimulation.[h,cc]:
     - added data member fRunNumber
     - changed the rules to create the output file names
     - set default run-numbers for different run-ytpes
     - apply run-number 
     - added IntendedPulsePosition to output

   * mraw/MRawRunHeader.h:
     - added SetFileNumber member function



 2010/06/24 Thomas Bretz

   * mgeom/MGeomCam.h:
     - call constructor of base class in copy-constructor

   * mhbase/MH.h:
     - remove argument name where obsolete

   * mjobs/MJSimulation.cc:
     - fixed some axis labels

   * msimreflector/MMirrorDisk.cc:
     - changed interpretation from file from radius to diameter

   * ceres.cc:
     - added option --run-number

   * showplot.cc:
     - set default palette to pretty palette

   * mcorsika/MCorsikaRunHeader.h:
     - added getter for ViewConeInnerAngle

   * mmc/MMcCorsikaRunHeader.h:
     - added HasViewCone
     - added SetViewCone

   * mmc/MMcEvt.[hxx,cxx], mmc/MMcEvtBasic.[h,cc]:
     - moved fPhi and fTheta from MMcEvt to MMcEvtBasic
     - increased class version number accordingly
     - moved setter
     - moved getter
     - adapted Clean()
     - adapter copy-constructor

   * mpointing/MPointingDevCalc.cc:
     - added some comments

   * msim/MSimMMCS.cc:
     - transfer view cone data
     - set run-info (run/file-number) according to new scheme
     - always set MMcEvt::fPhi/fTheta to particle direction



 2010/06/24 Daniela Dorner

   * datacenter/scripts/sourcefile, resources/steps_fact.rc:
     - bugfixes: changed joins to get correct queries for all cases

   * datacenter/scripts/setup.wue.fact.mc:
     - changed path for setup files
     - added runceres to jobmanager settings



 2010/06/22 Daniela Dorner

   * datacenter/scripts/writemcsequencefile:
     - improved logging

   * datacenter/scripts/sourcefile:
     - adapted greps in rc-files to grep only lines which are no 
       comments



 2010/06/17 Daniela Dorner

   * resources/steps_fact.rc:
     - removed step CPRun
     - split 'Joins' to 'Joins' and 'SpecialJoins' depending on 
       whether the join is with a different table

   * datacenter/scripts/sourcefile:
     - bugfix in query
     - included new type of join from steps.rc
     - added comments



 2010/06/16 Daniela Dorner

   * resources/steps_fact.rc:
     - removed step CPRun
     - added step SequenceFile

   * datacenter/scripts/setup.wue.fact.mc:
     - added path for mc sequences

   * datacenter/scripts/writemcsequencefile:
     - added (script to write mc sequencefiles)



 2010/06/15 Daniela Dorner

   * resources/steps_fact.rc:
     - added (file containing the dependencies for the steps of the 
       automatic production of MC for FACT)



 2010/06/14 Daniela Dorner

   * datacenter/scripts/sourcefile:
     - bugfix in query

   * datacenter/scripts/runcorsika:
     - added output of command to processlog

   * datacenter/scripts/setup.wue.fact.mc:
     - changed setup to be used by user montecarlo to reproduce some 
       corsikas



 2010/06/11 Daniela Dorner

   * datacenter/scripts/sourcefile:
     - changed functions and queries to new db layout
     - added functions to get values from steps.rc
     - new function for part of query which is identical for the 
       functions getstatus() and gettodo()
     - removed $reset (was only needed for MerppUpdate)
     - improved and added comments

   * datacenter/scripts/jobmanager:
     - implemented changes for new db layout
     - fix in function nextscript(): wrong variable was used

   * datacenter/scripts/runcorsika:
     - implemented changes for new db layout
     - merged uncommitted changes of Thomas Bretz 
     - Observatory values and atmosphere now read from DB
     - implemented new seeds
     - removed $reused
     - wavelength range now read from DB

   * datacenter/scripts/setup.wue.fact.mc:
     - added (setup for fact mc production)



 2010/06/11 Stefan Ruegamer

   * mjobs/MJSpectrum.cc
     - corrected the flux of the published MAGIC spectrum



 2010/06/03 Thomas Bretz

   * mranforest/MRanForestCalc.cc:
     - added stdlib.h to make Dominik happy ;)



 2010/05/05 Thomas Bretz

   * mastro/MAstro.cc:
     - fixed AngularDistance (called a non existing function and
       the compiler didn't complain)

   * mbase/MParContainer.[h,cc]:
     - added static function Overwrites (previously in MTask)

   * mbase/MStatusDisplay.[h,cc]:
     - allow writing a MStatusDisplay without writing a MStatusArray
       (therefore added SeveAsPlainRoot)
     - improved reading of files just containing canvases and objects

   * mbase/MTask.[h,cc]:
     - moved code from Overwrites to a static function in MParContainer

   * msimcamera/MSimCalibrationSignal.cc:
     - changed distribution of signal from Gauss to Poissonian

   * showplot.cc:
     - removed nonsense "-q" option

   * mbase/MStatusArray.[h,cc]:
     - fixed/improved (once again) deleting of the array

   * mbase/MStatusDisplay.cc:
     - removed the MAstroCatalog workaround - is it still necessary?
       (needs testing)
     - added UpdateMemory every here and there to get the memory
       consumption is more circumstances



 2010/04/22 Thomas Bretz

   * showplot.cc:
     - added --debug-mem option

   * mbase/MParSpline.cc, mhbase/MH3.cc, mhbase/MHn.cc,
     mhflux/MHAlpha.cc, mhist/MHCamEvent.cc:
     - added missing call to the RecursiveRemove of the base class

   * mfileio/MReadTree.cc:
     - In the case Notify failed since about two years accidentaly
       kTRUE instead of kERROR was returned

   * mfileio/MWriteRootFile.cc:
     - added some more debug output

   * mhflux/MAlphaFitter.cc:
     - Return if fit failed

   * mhflux/MHPhi.cc:
     - avoid inf and nan when producing histogram (the divisor could
       have been zero in case of the inetgral of an empty histogram)



 2010/04/21 Thomas Bretz

   * macros/rootlogon.C:
     - a small fix which gets rid of the annoying error about an
       unlocked mutex when starting the MStatusDisplay in the
       interpreter. It makes sure that fGThreadFactory gets initialized
       from the main thread.

   * mbase/MStatusDisplay.cc:
     - added a console output if TryLock fails
     - the return value of TString::Index was misinterpreted

   * mmuon/MHSingleMuon.cc:
     - removed another reference to gMinuit

   * msimcamera/MSimRandomPhotons.cc:
     - re-did the output
     - choose the other rate f2 instead of f1

   * msimcamera/MSimTrigger.[h,cc]:
     - keep the index of the trigger channel which finnaly issued
       the trigger and propagate it to the event header

   * mraw/MrawEvtHeader.h:
     - implementd setter for fNumTriggerLvl1



 2010/04/20 Thomas Bretz

   * mfileio/MReadTree.cc:
     - no error was returned anymore when Notify() failed. Fixed.



 2010/04/19 Thomas Bretz

   * mbase/MStatusArray.cc:
     - added a workaround to prevent crashes in case of double
       deleteion of the fHistogram in TGraphs

   * mcorsika/MCorsikaEvtHeader.cc:
     - replaced special characters by UTF8 characters

   * mgeom/MGeom.[h,cc]:
     - implemented function to return the distance squared

   * mjobs/MJSimulation.cc:
     - display degree symbol correctly in plots
     - added artificial star-files to output
     - for the moment the output of the reflector files is suppressed

   * mmuon/MHSingleMuon.cc:
     - catch if the fit failed
     - replaced use of gMinuit by direct access to the function

   * mpointing/MPointing.cc:
     - replaced deg-symbol by UTF8 character

   * mpointing/MPointingDevCalc.cc:
     - added more information

   * msignal/MSignalCam.[h,cc]:
     - made the data members describing the image persistent.
       they are not guranteed to have correct contents. Use
       MNewImagePar instead.
     - increased class version number accordingly

   * msimreflector/MMirrorHex.h:
     - added Getter for fD



 2010/04/13 Daniela Dorner

   * datacenter/db/builddatasets.php:
     - updated check for observation mode: allowed 'N/A', as there is 
       else an error for old data



 2010/04/13 Thomas Bretz

   * msim/MHPhotonEvent.cc:
     - automatic binning for case 3
     - new case 5

   * msim/MHPhotonEvent.h:
     - this can be a huge memory consumption and we don't need double
       precision (range) accordingly changed all TH*D to TH*F.
       consequently increased class version number



 2010/03/30 Thomas Bretz

   * Makefile.conf.general:
     - moved ARCHDEFS from DEFINES to CXXFLAGS otherwise it might get
       ignored

   * mbase/MQuaternion.h:
     - added member-function to normalize vector part of quaternion

   * mbase/MTime.cc:
     - issue an error if __LINUX__ is not set

   * mjobs/MJSimulation.cc:
     - set name of reflector explicitly to "Reflector"

   * msimreflector/MMirror.h:
     - added member function to set z position (for optimization purpose)
     - added SimPSF(TVector3&)

   * msimreflector/MSimReflector.[h,cc]:
     - added name of reflector as data member 

   * melectronics/MAvalanchePhotoDiode.cc:
     - scale the crosstalk probability as the height of the emitted
       signal with the recovery time.

   * mhflux/MHEnergyEst.cc:
     - added a workaround to get rid of some root-warnings

   * mjtrain/MJTrainEnergy.cc:
     - improved axis labels

   * mpointing/MPointingDevCalc.cc:
     - added some more comments

   * msimreflector/MMirror.[h,cc]:
     - added fShape to allow for parabolic mirrors

   * msimreflector/MReflector.cc:
     - implemented the option of parabolic mirrors into the
       reflector defintion file

   * msimreflector/MSimReflector.[h,cc]:
     - implemented (and fixed) the calculation of the reflection at
       parabolic surfaces
     - implemented the possibility to switch off the early check for
       "photon can hit the camera" (fDetectorMargin<0)
     - added setter for fDetectorMargin




 2010/03/01 Stefan Ruegamer

   * resources/hilocalib.rc:
     - added df factors for p23-25, using the same as for p22. Sequences
       are not running with df in these periods, therefore the correct
       factors cannot be determined, and it doesn't matter anyway.

   * datacenter/read_lapalma-tapes:
     - added automationsetup before movingrawfiles



 2010/02/23 Thomas Bretz

   * mbase/MAGIC.cc:
     - projections are supposed to work again in root 5.26 
       (not tested yet)

   * mbase/MGMap.cc, mbase/MObjLookup.cc:
     - key and val are Long64 in newer root versions

   * mdata/MDataPhrase.cc:
     - need inclusion of TFormulaPrimitive in root 5.26

   * mhflux/MMcSpectrumWeight.cc:
     - root 5.26 has a different calling convention for TH1::Intgeral

   * mjobs/MJob.cc:
     - added a suggested parenthesis

   * mjtrain/MJTrainDisp.cc:
     - cast the MH3 histogram correctly to a TH2



 2010/02/22 Daniela Dorner

   * datacenter/db/menu.php:
     - added ObsLevel and download link column for cta pages

   * datacenter/db/ctadefs.php:
     - added observation level

   * datacenter/db/ctamcinfo.php:
     - added column with download link for the files

   * datacenter/db/builddatasets.php, datacenter/db/ctamcinfo.php, 
     datacenter/db/culminating.php, datacenter/db/datacheck.php, 
     datacenter/db/datasetinfo-aio.php, datacenter/db/ganymed.php, 
     datacenter/db/include.php, datacenter/db/mcinfo.php, 
     datacenter/db/opticaldata.php, datacenter/db/printtable.php, 
     datacenter/db/queryrbk.php, datacenter/db/runinfo-aio.php, 
     datacenter/db/sequence.php, datacenter/db/sequinfo-aio.php, 
     datacenter/db/sources.php, datacenter/db/statussbs.php:
     - bugfix for get.txt

   * datacenter/db/datasetinfo-aio.php:
     - bugfix calling PrintPage()



 2010/02/01 Daniela Dorner

   * datacenter/scripts/fillmcdb:
     - added observation level

   * datacenter/scripts/sourcefile:
     - added comment concerning $0 problem
     - added 'ERROR' in processlog message of makedir



 2010/02/04 Stefan Ruegamer

   * mraw/MRawRunHeader.cc
     - changed GetTypeID()!=fTelescopeNumber*10U+5U to GetTypeID()!=5U
       so that the new 5xxxxxx sequences can be processed
     - adapted error message
     - inserted Domino calibration run

   * mraw/MRawRunHeader.cc
     - inserted Domino calibration run



 2010/02/01 Daniela Dorner

   * datacenter/scripts/runsimtel
     - fixes typo
     - replaced path in disk-check by variable



 2010/01/15 Stefan Ruegamer

   * datacenter/scripts/dowebplots, jobmanager
     - if-condition if [ "$numproc" = "" ] now correctly checks for "0"

   * datacenter/scripts/scriptlauncher
     - added automationsetup variable in condor command

   * datacenter/macros/buildsequenceentries.C
     - where necessary changed Int to Long to account for the high value
       of the stereo runs

   * resources/sequences.rc
     - added two transition conditions for the calibration scripts
       10Led_UV_PEDANDCAL_1kHz and 10LED_UV
