Changeset 9262 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/25/09 14:39:15 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9254 r9262  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2009/01/25 Thomas Bretz
     22
     23   * mbase/Makefile, mbase/BaseLinkDef.h:
     24     - added MLut
     25
     26   * mbase/MLut.[h,cc]:
     27     - added
     28
     29   * msimcamera/MSimCamera.[h,cc], msimcamera/MSimTrigger.[h,cc],
     30     msimcamera/MSimRadout.[h,cc], msimcamera/SimCameraLinkDef.h,
     31     msimcamera/Makefile, msimcamera/MSimCalibrationSignal.[h,cc],
     32     msimcamera/SimCameraIncl,h:
     33     - added
     34
     35   * mjobs/MJob.cc:
     36     - included TClass for newer root versions
     37
     38   * mreflector/MRflEvtData.cc:
     39     - repaced a use of MHexagon by a direct use of MGeomCam
     40
     41   * melectronics/MAvalanchePhotoDiode.[h,cc]:
     42     - added some getters
     43     - remobved some obsolete comment
     44     - set entries to 1 by default
     45
     46   * mgeom/MGeomCam.[h,cc]:
     47     - split the Get[Max,Min]Radius into two member functions
     48     - added the HitDetector based on the maximum radius calculated
     49
     50   * mgeom/MGeomCamDwarf.[h,cc], mgeom/MGeomCamMagic.[h,cc]:
     51     - removed overloading of the new HitDetector
     52
     53   * mgeom/MGeomPix.[h,cc]:
     54     - reset fUserBits in constructor according to a suggestion by valgrind
     55     - added GetT member function
     56
     57   * mjobs/MJSpectrum.cc:
     58     - replaced some Form calls for sanity by MString::Format
     59     - check the result of CheckEnv
     60
     61   * mjobs/MJStar.cc:
     62     - check the result of CheckEnv
     63
     64   * mjobs/MJob.cc:
     65     - fixed a typo in the name for the seed value resource
     66
     67   * mraw/MRawRunHeader.h:
     68     - added a getter for run type point run
     69
     70   * msignal/MSignalCalc.cc:
     71     - don't execute Process at all if fPedestal==NULL
     72
     73   * msignal/MSignalCam.cc:
     74     - aded case 10 and 11 to GetPixelContent
     75
     76   * msim/MHPhotonEvent.cc:
     77     - replaced case 4 by using the traversal distance in the 0-pixel
     78
     79   * msimcamera/MSimSignalCam.cc:
     80     - set pixel only to used if contents>0
     81
     82   * msimcamera/MSimTrigger.[h,cc]:
     83     - added ReadEnv for setup from a resource file
     84
     85   * msimreflector/MReflector.[h,cc]:
     86     - store file name in title
     87     - added ReadEnv for setup from a resource file
     88
     89   * msimreflector/MSimReflector.[h,cc]:
     90     - changed copyright notice
     91     - added fDetectorMargin
     92
     93
    2094
    2195 2009/01/24 Thomas Bretz
  • trunk/MagicSoft/Mars/NEWS

    r9249 r9262  
    3030     minus). This allows to use file names starting with a -
    3131
     32   * In all resource files you can now initialize the random number
     33     generator. For details see: MJob::InitRandomNumberGenerator
     34
    3235   * added a new program called ''readcorsika''. It's purpose is (in analogy
    3336     to readraw and readdaq) to read a Corsika output file (for now
     
    3538     human readable form. It can also write the contents of this file
    3639     into a root-file.
     40
     41   * The calculation of the maximum distance to the origin in a MGeomCam
     42     has been improved (edges might be further away than the sides).
     43     This is just a tiny change but it might change the appearance of
     44     the radial profiles a little bit.
    3745
    3846 ;Database
  • trunk/MagicSoft/Mars/msimreflector/MReflector.cc

    r9252 r9262  
    120120Bool_t MReflector::ReadFile(TString fname)
    121121{
     122    SetTitle(fname);
     123
    122124    gSystem->ExpandPathName(fname);
    123125
     
    265267}
    266268
     269// --------------------------------------------------------------------------
     270//
     271// FileName: reflector.txt
     272//
     273Int_t MReflector::ReadEnv(const TEnv &env, TString prefix, Bool_t print)
     274{
     275    Bool_t rc = kFALSE;
     276    if (IsEnvDefined(env, prefix, "FileName", print))
     277    {
     278        rc = kTRUE;
     279        if (!ReadFile(GetEnvValue(env, prefix, "FileName", "")))
     280            return kERROR;
     281    }
     282
     283    return rc;
     284}
  • trunk/MagicSoft/Mars/msimreflector/MReflector.h

    r9236 r9262  
    2828    void InitMaxR();
    2929
     30    Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
     31
    3032public:
    3133    MReflector(const char *name=NULL, const char *title=NULL);
Note: See TracChangeset for help on using the changeset viewer.