Changeset 2858


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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2857 r2858  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6
     7 2004/01/20: Thomas Bretz
     8
     9   * Makefile:
     10     - replaced 'make' by '$(MAKE)'
     11     
     12   * Makefile.rules:
     13     - added Makefile itself to dependencies
     14     
     15   * mbase/MTask.cc:
     16     - added comment about ReInit
     17
     18   * mhbase/MH.cc:
     19     - do not clear pad in DrawClone if 'same' option given
     20
     21   * mhist/MHVsTime.cc:
     22     - evaluate 'same' option
     23
     24
    625
    726 2004/01/20: Abelardo moralejo
     
    1130      fHPCharge, fHPTime.
    1231
    13   * manalysis/MCerPhotPix.h
     32  * manalysis/MCerPhotPix.h:
    1433    - Changed position of declaration of fIsSaturated to be the last
    1534      private variable. Otherwise, since in the constructor it is
     
    1837
    1938
     39
    2040 2004/01/20: Markus Gaug
    21   * mcalib/Makefile
    22   * manalysis/Makefile
     41  * mcalib/Makefile, manalysis/Makefile:
    2342    - include directory ../mtools
    2443 
     
    2746
    2847
     48
    2949 2004/01/19: Markus Gaug
    3050
     
    5878    - Modified way to change the fit function
    5979    - incorporate option to exclude pixels from configuration file
     80
    6081
    6182
  • trunk/MagicSoft/Mars/Makefile

    r2800 r2858  
    105105$(LIBRARIES):
    106106        @echo " Creating lib$@:"
    107         (cd $*; make; cd ..; mv $*/$@ lib/lib$@)
     107        (cd $*; $(MAKE); cd ..; mv $*/$@ lib/lib$@)
    108108
    109109$(MRPROPERS):
    110110        @echo " Doing Mr.Proper in $(@:.mrproper=)"
    111         (cd $(@:.mrproper=); (make mrproper > /dev/null); cd ..;)
     111        (cd $(@:.mrproper=); ($(MAKE) mrproper > /dev/null); cd ..;)
    112112
    113113$(CLEANERS):
    114114        @echo "Cleaning $(@:.clean=):"
    115         (cd $(@:.clean=); make clean; cd ..;)
     115        (cd $(@:.clean=); $(MAKE) clean; cd ..;)
    116116
    117117dox: $(SOLIB)
  • trunk/MagicSoft/Mars/Makefile.rules

    r2800 r2858  
    1313
    1414%.d:   
    15         @echo " - Generating dependancies" $@
     15        @echo " - Generating dependencies" $@
    1616        $(ROOTSYS)/bin/rmkdepend -f- -Y -w 3000 -- $(INCLUDES) -- $(SRCFILES) 2> /dev/null | \
    17         sed 's/^\(.*\).o:/$@ \1.o:/' > $@
     17         sed 's/^\(.*\).o:/$@ \1.o:/' > $@
     18        echo "$@: Makefile" >> $@
    1819
    1920%.o:    %.cxx
  • trunk/MagicSoft/Mars/mbase/MTask.cc

    r2556 r2858  
    6060//                     return the status 'failed' return kERROR.
    6161//
     62//   - ReInit()        The idea is, that
     63//                       a) we have one file per run
     64//                       b) each file contains so called run-headers which
     65//                          stores information 'per run', eg MRawRunHeader
     66//                          or the bad pixels
     67//                       c) this information must be evaluated somehow each
     68//                          time a new file is opened.
     69//
     70//                     If you use MReadMarsFile or MCT1ReadPreProc it is
     71//                     called each time a new file has been opened and the
     72//                     new run headers have been read before the first
     73//                     event of these file is preprocessed.
     74//
    6275//   - PostProcess():  executed after the eventloop. Here you can close
    6376//                     output files, start display of the run parameter,
  • trunk/MagicSoft/Mars/mhbase/MH.cc

    r2735 r2858  
    838838        p = MakeDefCanvas(this, w, h);
    839839    else
    840         p->Clear();
     840        if (!option.Contains("same", TString::kIgnoreCase))
     841            p->Clear();
    841842
    842843    gROOT->SetSelectedPad(NULL);
  • trunk/MagicSoft/Mars/mhist/MHVsTime.cc

    r2632 r2858  
    212212    }
    213213    fGraph->GetHistogram()->SetYTitle(GetRule());
    214     fGraph->Draw("AP");
     214
     215    if (!str.Contains("A"))
     216        str += "A";
     217    if (!str.Contains("P"))
     218        str += "P";
     219
     220    if (str.Contains("same", TString::kIgnoreCase))
     221    {
     222        str.ReplaceAll("same", "");
     223        str.ReplaceAll("A", "");
     224    }
     225
     226    fGraph->Draw(str);
    215227    if (fGraph->TestBit(kIsLogy))
    216228        pad->SetLogy();
Note: See TracChangeset for help on using the changeset viewer.