Ignore:
Timestamp:
04/23/03 16:45:19 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MFillH.h

    r1965 r1992  
    99class MMap;
    1010class MData;
     11class MWeight;
    1112class MParList;
    1213
     
    2122    MH* fH;
    2223    TString fHName;
     24
     25    MWeight *fWeight;
     26    TString fWeightName;
    2327
    2428    MData *fIndex;    // MData object describing the 'key' to an automatic index for an MHArray
     
    4246    MFillH(MH *hist,         const char *par=NULL, const char *name=NULL, const char *title=NULL);
    4347    MFillH(MH *hist,         MParContainer *par,   const char *name=NULL, const char *title=NULL);
    44 
    4548    ~MFillH();
    4649
    4750    void SetRuleForIdx(const TString rule);
    4851    void SetRuleForIdx(MData *rule);
     52
     53    void SetWeight(MWeight *w)       { fWeight = w; }
     54    void SetWeight(const char *name) { fWeightName = name; }
    4955
    5056    Bool_t PreProcess(MParList *pList);
Note: See TracChangeset for help on using the changeset viewer.