Ignore:
Timestamp:
02/19/03 13:47:29 (22 years ago)
Author:
wittek
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfilter/MFEventSelector.cc

    r1668 r1762  
    9494// the class description above.
    9595//
    96 MFEventSelector::MFEventSelector(const char *name, const char *title)
     96MFEventSelector::MFEventSelector(const char *name, const char *title,
     97                                 const char *read)
    9798: fNumTotalEvts(-1), fNumSelectEvts(-1), fSelRatio(-1), fNumSelectedEvts(0)
    9899{
    99100    fName  = name  ? name  : gsDefName.Data();
    100101    fTitle = title ? title : gsDefTitle.Data();
     102
     103    fRead = read;
    101104}
    102105
     
    127130            return kFALSE;
    128131        }
    129         MRead *read = (MRead*)tlist->FindObject("MRead");
     132        MRead *read = (MRead*)tlist->FindObject(fRead);
    130133        if (!read)
    131134        {
     
    134137        }
    135138        fNumTotalEvts = read->GetEntries();
     139
     140        *fLog << "MFEventSelector::PreProcess; fNumTotalEvts = "
     141              << fNumTotalEvts << endl;
    136142
    137143        SetBit(kNumTotalFromFile);
Note: See TracChangeset for help on using the changeset viewer.