Changeset 3364 for trunk


Ignore:
Timestamp:
03/01/04 10:26:20 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3360 r3364  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6 2004/03/01: Thomas Bretz
     7
     8   * Makefile:
     9     - enhanced all calls to subsequent makes by '-f Makefile' to
     10       make sure the correct Makefile is called
     11
     12   * merpp.cc:
     13     - enhanced interpretation of time
     14     - fixed a bug in determin the file-type
     15
     16
     17
    618 2004/02/27: Markus Gaug
    719   
    8    * mjobs/MJPedestal.cc
    9    * mjobs/MJCalibration.cc
    10    * macros/calibration.C
    11    
    12      - put in call to MHCamera::Projection the name of teh calling
     20   * mjobs/MJPedestal.cc, mjobs/MJCalibration.cc, macros/calibration.C:
     21     - put in call to MHCamera::Projection the name of the calling
    1322       class, otherwise the projected hsitogram will be overwritten by
    1423       an empyt one.
    1524
    16    * mcalib/MHCalibrationChargePix.[h,cc]
    17    * mcalib/MHCalibrationHiGainChargePix.[h,cc]
    18    * mcalib/MHCalibrationLoGainChargePix.[h,cc]
    19 
     25   * mcalib/MHCalibrationChargePix.[h,cc],
     26     mcalib/MHCalibrationHiGainChargePix.[h,cc],
     27     mcalib/MHCalibrationLoGainChargePix.[h,cc]:
    2028     - histogram name setting and title setting moved to constructor,
    2129       Functions Init and ChangeHistId derive directly from
    2230       MHcalibrationChargePix
    2331
    24    * mcalib/MHCalibrationChargeCam.[h,cc]
    25    * mcalib/MCalibrationChargeCam.[h,cc]
    26    * mcalib/MCalibrationChargeCalc.[h,cc]
    27  
     32   * mcalib/MHCalibrationChargeCam.[h,cc],
     33     mcalib/MCalibrationChargeCam.[h,cc],
     34     mcalib/MCalibrationChargeCalc.[h,cc]:
    2835     - introduced "average inner" and "average outer" higain and logain
    2936       pixels.
    3037
    3138
     39
    3240 2004/02/27: Raducci Sebastian
    3341
    3442   * mhist/Makefile
    3543     - added mastro in the include list
     44
    3645
    3746
     
    6271
    6372
     73
    6474 2004/02/26: Hendrik Bartko
    6575
    6676   * macros/dohtml.C
    6777     - included the path msignals/
     78
    6879
    6980
  • trunk/MagicSoft/Mars/Makefile

    r3330 r3364  
    3636#  ----->>>   mars libraries
    3737#
    38 SUBDIRS = mbase \
     38SUBDIRS = slalib \
     39          mbase \
    3940          mastro \
    4041          mmain \
     
    111112$(LIBRARIES):
    112113        @echo " Creating lib$@:"
    113         (cd $*; $(MAKE); cd ..; mv $*/$@ lib/lib$@)
     114        (cd $*; $(MAKE) -f Makefile; cd ..; mv $*/$@ lib/lib$@)
    114115
    115116$(MRPROPERS):
    116117        @echo " Doing Mr.Proper in $(@:.mrproper=)"
    117         (cd $(@:.mrproper=); ($(MAKE) mrproper > /dev/null); cd ..;)
     118        (cd $(@:.mrproper=); ($(MAKE) -f Makefile mrproper > /dev/null); cd ..;)
    118119
    119120$(CLEANERS):
    120121        @echo "Cleaning $(@:.clean=):"
    121         (cd $(@:.clean=); $(MAKE) clean; cd ..;)
     122        (cd $(@:.clean=); $(MAKE) -f Makefile clean; cd ..;)
    122123
    123124dox: $(SOLIB)
  • trunk/MagicSoft/Mars/merpp.cc

    r3336 r3364  
    8585    Int_t y=0, ms=0, mon=0, d=0, h=0, m=0, s=0;
    8686
    87     if (7!=sscanf(str.Data(), "%d-%d-%d/%d:%d:%d.%d", &y, &mon, &d, &h, &m, &s, &ms))
     87    const Int_t n = sscanf(str.Data(), "%d-%d-%d/%d:%d:%d.%d", &y, &mon, &d, &h, &m, &s, &ms);
     88
     89    if (n<6 || n>7)
     90    {
     91        gLog << warn << "'" << str << "' no valid Time... ignored." << endl;
    8892        return MTime();
     93    }
    8994
    9095    MTime t;
     
    122127    MTime kTimeStart(AnalyseTime(arg.GetStringAndRemove("--start=")));
    123128    MTime kTimeStop(AnalyseTime(arg.GetStringAndRemove("--stop=")));
    124     kTimeStart.SetName("MTimeStart");
    125     kTimeStop.SetName("MTimeStop");
    126129
    127130    const Int_t   kRunNumber   = arg.HasOption("--run=") ? arg.GetIntAndRemove("--run=") : -1;
     
    150153    const Bool_t isreport = kNamein.EndsWith(".rep");
    151154    const Bool_t isdc     = kNamein.EndsWith(".txt");
    152     const Bool_t israw    = !isreport && !israw;
     155    const Bool_t israw    = !isreport && !isdc;
    153156
    154157    if (!kNamein.EndsWith(".raw") && israw)
Note: See TracChangeset for help on using the changeset viewer.