Changeset 1305


Ignore:
Timestamp:
04/26/02 13:16:11 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mdata
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mdata/MDataChain.cc

    r1304 r1305  
    2626//
    2727//   MDataChain
     28//
     29// With this chain you can concatenate simple mathematical operations on
     30// members of mars containers.
     31//
     32// In the constructor you can give rule, like
     33//   "HillasSource.fDist / MHillas.fLength"
     34// Where MHillas/HillasSource is the name of the parameter container in
     35// the parameter list and fDist/fLength is the name of the data members
     36// in the containers. The result will be fDist divided by fLength.
     37//
     38// You can also use brackets:
     39//   "HillasDource.fDist / (MHillas.fLength + MHillas.fWidth)"
     40//
     41// The allowed operations are: +, -, *, /
     42//
     43// Warning: There is no priority rule build in. So better use brackets
     44//   to get correct results. The rule is parsed/evaluated from the left
     45//   to the right, which means:
     46//
     47//   "MHillas.fWidth + MHillas.fLength / HillasSource.fDist"
     48//
     49//    is parses as
     50//
     51//   "(MHillas.fWidth + MHillas.fLength) / HillasSource.fDist"
     52//
     53//
     54// FIXME: The possibility to use other objects inheriting from MData
     55//        is missing.
     56//        Maybe we can use gInterpreter->Calc("") for this.
     57//        gROOT->ProcessLineFast("line");
    2858//
    2959/////////////////////////////////////////////////////////////////////////////
  • trunk/MagicSoft/Mars/mdata/MDataChain.h

    r1304 r1305  
    3434    void Print(Option_t *opt = "") const;
    3535
    36     ClassDef(MDataChain, 0) // A Filter for cuts in any data member
     36    ClassDef(MDataChain, 0) // A chain/concatenation of MData objects
    3737};
    3838
  • trunk/MagicSoft/Mars/mdata/MDataList.h

    r1304 r1305  
    4747    void Print(Option_t *opt = "") const;
    4848
    49     ClassDef(MDataList, 0)              // List to combine several filters logically
     49    ClassDef(MDataList, 0) // A concatenation of MData objects by one operator
    5050};
    5151
  • trunk/MagicSoft/Mars/mdata/MDataMember.h

    r1304 r1305  
    3232    void Print(Option_t *opt = "") const;
    3333
    34     ClassDef(MDataMember, 0)    // List to combine several filters logically
     34    ClassDef(MDataMember, 0) // MData object corresponding to a single data member of a Mars container
    3535};
    3636
  • trunk/MagicSoft/Mars/mdata/MDataValue.h

    r1304 r1305  
    2929    void Print(Option_t *opt = "") const;
    3030
    31     ClassDef(MDataValue, 0)     // List to combine several filters logically
     31    ClassDef(MDataValue, 0) // MData object corresponding to a single value
    3232};
    3333
Note: See TracChangeset for help on using the changeset viewer.