Changeset 9285 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/30/09 16:02:28 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9284 r9285  
    2727     - extended loop to show all periods again
    2828
     29   * msim/MPhotonData.cc:
     30     - don't change the sign of the cosines. The direction of the
     31       particle doesn't neet to be changed
     32
     33   * msimreflector/MSimReflector.cc:
     34     - change the rotation matrix to fit the change in MPhotonData
     35
    2936
    3037
     
    298305     msimreflector/MMirrorHex.cc, msimreflector/MMirrorSquare.[h,cc],
    299306     msimreflector/MReflector.cc, msimreflector/MSimReflector.cc,
    300  
     307     melectronics/MAnalogSignal.cc:
     308     - moved code which needs TMath to source file
     309     - included TMath for newer root versions
     310     - included TObjArray for newer root versions
     311
     312   * msimcamera/MSimAPD.[h,cc], msimcamera/MSimBundlePhotons.[h,cc],
     313     msimcamera/MSimRandomPhotons.[h,cc]:
     314     - added
     315
     316   * melectronics/Makefile, melectronics/MAnalogChannels.[h,cc],
     317     melectronics/ElectronicsIncl.h, melectronics/ElectronicsLinkDef.h,
     318     melectronics/MDigitalSignal.[h,cc], 
     319     melectronics/MAnalogSignal.[h,cc],
     320     melectronics/MAvalanchePhotoDiode.[h,cc]:
     321     - added
     322
     323   * msim/M*.cc, msimreflector/M*.cc, msimcamera/M*.cc:
     324     - changed copyright notice
     325
     326   * mjobs/MJob.[h,cc]:
     327     - for convinience replaced GetEnvValue by GetEnvValue2
     328     - added initialization of the random number generator
     329
     330   * ceres.cc, mcorsika/CorsikaIncl.h:
     331     - added
     332
     333
     334
     335 2009/01/22 Thomas Bretz
     336
     337   * mraw/MRawRunHeader.h:
     338     - added new functions to access the runtype
     339
     340   * msim/MPhotonData.cc:
     341     - removed some obsolete comments
     342
     343   * msim/MPhotonEvent.[h,cc]
     344     - added some comments
     345     - added new member function GetFirst and GetLast
     346     - UnSort the array after reading new data
     347     - removed some old obsolete code
     348     - added new meber function Sort and IsSorted
     349
     350   * msimreflector/MSimReflector.cc:
     351     - force sorting of the array
     352
     353  * msimcamera/MSimPSF.[h,cc], msimcamera/MSimGeomCam.[h,cc],
     354    msimcamera/MSimExcessNoise.[h,cc], msimcamera/MSimSignalCam.[h,cc]:
     355    - added
     356
     357
     358
     359 2009/01/21 Thomas Bretz
     360
     361   * mbase/BaseLinkDef.h, mbase/Makefile:
     362     - added MQuaternion
     363     - added MReflection
     364
     365   * mbase/MQuaternion.[h,cc], mbase/MReflection.[h,cc]:
     366     - added
     367
     368   * mbase/MArrayI.[h,cc]:
     369     - added a few new functions (ReSort, Add, Find and AddUniq)
     370
     371   * mbase/MMath.cc:
     372     - replaced delete by delete[] where appropriate
     373
     374   * mgeom/MGeomCam.h:
     375     - added new virtual functions HitFrame and HitDetector
     376     - included MQuaternion
     377
     378   * mgeom/MGeomCamDwarf.[h,cc], mgeom/MGeomCamMagic.[h,cc]:
     379     - added new functions HitFrame and HitDetector:
     380
     381   * msim/MHPhotonEvent.cc:
     382     - removed the reference to MCamera
     383
     384   * mgeom/MGeomPix.[h,cc], mgui/MHexagon.[h,cc]:
     385     - moved DistanceToPrimitive from MHexagon to MGeomPix
     386     - moved the funtions to calculate overlapping areas
     387       also, but they are still in a comment
     388
     389   * mgui/MHexagon.[h,cc]:
     390     - started implementing a rotation angle
     391     - added data meber fPhi
     392     - increased class version number
     393
     394   * mhist/MHCamera.cc, mtools/MagicJam.cc:
     395     - we don't have to use a MHexagon anymore caluclating
     396       DistanceToPrimitive
     397
     398   * msimreflector/MMirror.[h,cc], msimreflector/MMirrorSquare.[h,cc],
     399     msimreflector/MMirrorHex.[h,cc], msimreflector/MMirrorDisk.[h,cc],
     400     msimreflector/MReflector.[h,cc], msimreflector/MSimReflector.[h,cc],
     401     msimreflector/Makefile, msimreflector/SimReflectorLinkDef.h,
     402     msimreflector/SimReflectorIncl.h:
     403     - added
     404
     405
     406
     407 2009/01/21 Stefan Ruegamer
     408
     409   * datacenter/scripts/read_lapalma-tapes:
     410     - added check of the tape slot when exporting the tapes
     411
     412
     413
     414 2009/01/20 Thomas Bretz
     415
     416   * mjobs/MJob.h:
     417     - added Esc member function
     418
     419   * msim/MPhotonData.[h,cc], msim/MPhotonEvent.[h,cc],
     420     msim/MSimAbsorption.[h,cc], msim/MSimPointingPos.[h,cc],
     421     MHPhotonEvent.[h,cc], msim/Makefile, msim/SimIncl.h
     422     msim/SimLinkDef.h:
     423     - added
     424
     425
     426 2009/01/19 Thomas Bretz
     427
     428   * mfileio/MWriteRootFile.cc:
     429     - simplified how the rules are evaluated using TPregexp
     430     - by this the rules got more powerful
     431
     432   * mjobs/MJCalibrateSignal.cc, mjobs/MJStar.cc:
     433     - changed ols style rule to new style
     434
     435
     436
     437 2009/01/18 Thomas Bretz
     438
     439   * mbase/BaseLinkDef.h, mbase/Makefile:
     440     - added MSpline3
     441
     442   * mcorsika/MCorsikaEvtHeader.cc:
     443     - some little cosmetics
     444
     445   * mcorsika/MCorsikaEvtHeader.h:
     446     - added some missing getters
     447
     448   * mcorsika/MCorsikaRunHeader.cc:
     449     - removed some obsolete comments
     450     - reordered some comments
     451
     452   * mextralgo/MExtralgoSpline.h:
     453     - changed default in GetIntegral from true to false
     454
     455   * mraw/MRawEvtHeader.h:
     456     - added Setter for DAQEventNumber
     457
     458   * mraw/MRawRunHeader.cc:
     459     - start pixel hardware indices with 1 not with 0
     460
     461
     462
     463 2009/01/17 Thomas Bretz
     464
     465  * mbase/MMath.[h,cc]:
     466     - added a new function RndmExp which should be a tiny bit faster than
     467       root's own implementation because it ises Rndm() instead of Uniform()
     468
     469   * mextralgo/ExtralgoIncl.h:
     470     - added MArrayF
     471
     472   * mextralgo/MExtralgoSpline.[h,cc]:
     473     - divided FindY into FindYup and FindYdn to avoid an obsolete if-clause
     474     - added a new member function to return the integral function of the
     475       spline. This is useful to init a new spline and use it for
     476       producing the proper random distribution.
     477
     478   * mpedestal/MPedestalSubtractedEvt.[h,cc]:
     479     - added Print() function
     480
     481   * mraw/MRawEvtData.[h,cc]:
     482     - added a member function to Reset the arrays
     483     - added member function to set the pixel indices
     484     - Improved the new Set function
     485
     486  * readcorsika.cc:
     487    - added
     488
     489
     490
     491 2009/01/16 Daniel Hoehne-Moench
     492
     493   * datacenter/scripts/mcsequences:
     494     - implemented sumtrigger -> modes, fTriggerFlagKEY
     495     - fPriority(MCSequenceProcessStatus) is now filled into the mcdb
     496
     497   * datacenter/scripts/fillmccallisto, fillmcstar:
     498     - bugfix: changed argument of $primaries from [$s+$s] to [$s]
     499
     500   * datacenter/macros/fillcamera.C:
     501     - changed NumPheFromDNSB to float(7,3)
     502     - fPriority(MCRunProcessStatus) is now filled into the mcdb
     503
     504   * datacenter/macros/fillmccalib.C:
     505     - minor changes, bugfix (wrong column name for mcdb)
     506
     507   * datacenter/macros/fillmcsignal.C:
     508     - definition of some parameters changed according to fillsignal.C
     509     - minor changes, deleted unnecessary code
     510     - implemented if clause for HiLo-Parameters. Instead of
     511       seqno<200000 the fAmplFadcKEY is queried in the mcdb for each
     512       sequence. For MUX MCs the HiLo-Parameters are not calculated.
     513
     514
     515
     516 2009/01/15 Thomas Bretz
     517
     518   * callisto.cc:
     519     - cosmetics to output
     520
     521   * mcorsika/MCorsikaRunHeader.cc:
     522     - cosmetics (removed a ;;)
     523
     524   * mhist/MHEvent.[h,cc]:
     525     - ReInit to allow the change of the camera geoemtry in ReInit
     526
     527
     528
     529 2009/01/15 Stefan Ruegamer
     530
     531   * datacenter/scripts/dodatacheck:
     532     - removed the _E in the find command; files from 2008/06/04 on do
     533       not have it any more
     534
     535
     536
     537 2009/01/14 Daniel Hoehne-Moench
     538
     539   * datacenter/scripts/sourcefile:
     540     - extended errorcoding on mc run process status
     541
     542   * datacenter/scripts/runmccallisto, runmcstar:
     543     - deleted unnecessary lines, adapted to primary structure
     544
     545   * datacenter/macros/fillmcsignal.C, fillmccalib.C, fillmcstar.C:
     546     - added
     547
     548   * datacenter/scripts/fillmccallisto, fillmcstar:
     549     - added
     550
     551
     552
     553 2009/01/14 Thomas Bretz
     554
     555   * readraw.cc:
     556     - check first whether the file exist before adding the extension
     557
     558   * mbase/MMath.[h,cc]:
     559     - added function to Re-sort an array
     560
     561   * mfileio/MReadMarsFile.cc, mfileio/MWriteRootFile.cc:
     562     - Improved output
     563
     564   * mfileio/MWriteRootFile.cc:
     565     - fixed a problem which prevented to open more than one /dev/null
     566       devices independantly
     567
     568   * mgeom/MGeomCam.cc:
     569     - cosmetics
     570
     571   * mgeom/MGeomCamDwarf.h:
     572     - fixed a typo in an ifdef
     573
     574   * mgeom/MGeomPix.[h,cc]:
     575     - added funtion to return positon as TVector2
     576     - slightly improved the algorithm to check IsInside
     577     - fixed the conditional signs for the orientation of pixels
     578       in GetDirection
     579
     580   * mmain/MEventDisplay.cc:
     581     - Give different names to the MPedestalSubtract tasks
     582     - fixed buttons
     583     - call AddGeometryTags after ReInit to allow reading new geometries in
     584       ReInit
     585
     586   * mmc/MMcEvtBasic.h:
     587     - added a new primary type kNightSky
     588
     589   * mraw/MRawEvtPixelIter.h:
     590     - replaced type of the number of bytes by UInt_t
     591
     592   * mraw/MRawRunHeader.h:
     593     - allow to validate the magic-number from outside (for MCs)
     594
     595   * datacenter/scripts/runcorsika:
     596     - added a lot of comments
     597     - reordered values in input card
     598     - switched off a lot of obsolete output
     599     - changed the Magnetic field to a value corresponding to the location of
     600       MAGIC at 2200m height valid for January 200
  • trunk/MagicSoft/Mars/msim/MPhotonData.cc

    r9252 r9285  
    200200    fPosY = -f[1];  // [cm]
    201201
    202     fCosU = -f[4];  // cos to x
    203     fCosV =  f[3];  // cos to y
     202    fCosU =  f[4];  // cos to x
     203    fCosV = -f[3];  // cos to y
    204204
    205205    fTime =  f[5];  // [ns]
  • trunk/MagicSoft/Mars/msimreflector/MSimReflector.cc

    r9277 r9285  
    442442    TRotation rot;    // The signs are positive because we align the incident point on ground to the telescope axis
    443443    rot.RotateZ( az); // Rotate point on ground to align it with the telescope axis
    444     rot.RotateX( zd); // tilt the point from ground to make it parallel to the mirror plane
     444    rot.RotateX(-zd); // tilt the point from ground to make it parallel to the mirror plane
    445445
    446446    // Now: viewed from the backside of the mirror
Note: See TracChangeset for help on using the changeset viewer.