Changeset 7682


Ignore:
Timestamp:
05/03/06 08:24:21 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7681 r7682  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2006/05/03 Thomas Bretz
     22
     23   * Makefile.rules:
     24     - added new option zdiff
     25
     26
    2027
    2128 2006/05/02 Thomas Bretz
  • trunk/MagicSoft/Mars/Makefile.rules

    r7491 r7682  
    9595diff:
    9696        @cvs diff | grep -v "^? " > mars.diff
     97
     98zdiff:
     99        @cvs -z9 diff | grep -v "^? " > mars.diff
  • trunk/MagicSoft/Mars/NEWS

    r7644 r7682  
    22
    33 *** Version  <cvs>
     4
     5   - general: Added a new option "zdiff" to the Makefile which runs
     6     "cvs diff" as "make diff" would do, but with compression
    47
    58   - general: accelerated MTFillMatrix (used for eample in all training
     
    6568     trigger (including the software trigger)
    6669
     70   - MTFillMatrix, sponde: by skipping some obsolete calles in the
     71     eventloops the loop could be accelerated by ~20%
     72
    6773
    6874
     
    125131     applied with this distrbution to the off-data.
    126132
    127    - ganymed: by skipping some obsolete calles in the eventloop the first
    128      and second loop could be accelerated by ~20%
     133   - ganymed: by skipping some obsolete calles in the eventloop the
     134     first and second loop could be accelerated by ~20%
    129135
    130136   - ganymed: The default in ganymed_onoff.rc is now to determin the source
  • trunk/MagicSoft/Mars/mbase/MTaskList.cc

    r7554 r7682  
    314314// --------------------------------------------------------------------------
    315315//
     316// Add all objects in list to the tasklist. If some of them do not
     317// inherit from MTask return kFALSE, also if AddToList returns an error
     318// for one of the tasks
     319//
     320Bool_t MTaskList::AddToList(const TList &list)
     321{
     322    TIter Next(&list);
     323    TObject *obj=0;
     324    while ((obj=Next()))
     325    {
     326        if (!obj->InheritsFrom(MTask::Class()))
     327        {
     328            *fLog << err << "ERROR - Object " << obj->GetName() << " doesn't inherit from MTask..." << endl;
     329            return kFALSE;
     330        }
     331
     332        if (!AddToList(obj))
     333            return kFALSE;
     334    }
     335    return kTRUE;
     336}
     337
     338// --------------------------------------------------------------------------
     339//
    316340//  Find an object in the list.
    317341//  'name' is the name of the object you are searching for.
  • trunk/MagicSoft/Mars/mbase/MTaskList.h

    r7554 r7682  
    4747    Bool_t AddToListAfter(MTask *task, const MTask *where, const char *tType="All");
    4848    Bool_t AddToList(MTask *task, const char *tType="All");
     49    Bool_t AddToList(const TList &list);
    4950
    5051    void SetSerialNumber(Byte_t num);
  • trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc

    r7178 r7682  
    2828//  MHCollectionArea
    2929//
     30//  Class Version 2:
     31//  ----------------
     32//   + added //! to fMcEvt which was missing before
     33//
     34//
    3035//////////////////////////////////////////////////////////////////////////////
    3136#include "MHCollectionArea.h"
     
    5964//
    6065MHCollectionArea::MHCollectionArea(const char *name, const char *title)
    61   : fMcEvt(0), fEnergy(0), fMcAreaRadius(300.), fIsExtern(kFALSE)
     66  : fMcEvt(0), /*fEnergy(0),*/ fMcAreaRadius(300.), fIsExtern(kFALSE)
    6267{
    6368    //   initialize the histogram for the distribution r vs E
     
    163168        return kFALSE;
    164169    }
    165 
     170    /*
    166171    fEnergy = (MParameterD*)pl->FindObject("MEnergyEst", "MParameterD");
    167172    if (!fEnergy)
     
    170175        return kFALSE;
    171176    }
    172 
     177    */
    173178    MBinning binst, binse;
    174179    binst.SetEdges(fHistAll, 'x');
Note: See TracChangeset for help on using the changeset viewer.