Ignore:
Timestamp:
11/25/02 09:12:47 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mfilter
Files:
5 edited

Legend:

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

    r1666 r1668  
    244244    if (isrule)
    245245    {
     246        Int_t lvl = gLog.GetDebugLevel();
     247        gLog.SetDebugLevel(1);
    246248        newfilter = new MFDataChain(text.Data(), c, num);
    247249        newfilter->SetName(Form("Chain%02d%c%f", level, c, num));
     250        gLog.SetDebugLevel(lvl);
    248251    }
    249252    else
     
    407410    }
    408411
    409     if (!fFilter->PreProcess(plist))
     412    if (!fFilter->CallPreProcess(plist))
    410413    {
    411414        *fLog << err << dbginf << "PreProcessing filters in ";
     
    423426Bool_t MF::Process()
    424427{
    425     return fFilter->Process();
     428    return fFilter->CallProcess();
    426429}
    427430
     
    432435Bool_t MF::PostProcess()
    433436{
    434     return fFilter->PostProcess();
     437    return fFilter->CallPostProcess();
    435438}
    436439
  • trunk/MagicSoft/Mars/mfilter/MFDataChain.cc

    r1666 r1668  
    5858//
    5959MFDataChain::MFDataChain(const char *member, const char type, const Double_t val,
    60                            const char *name, const char *title)
     60                         const char *name, const char *title)
    6161    : fData(member), fValue(val)
    6262{
  • trunk/MagicSoft/Mars/mfilter/MFEventSelector.cc

    r1600 r1668  
    147147Bool_t MFEventSelector::Process()
    148148{
    149     Float_t evt = gRandom->Uniform();
     149    const Float_t evt = gRandom->Uniform();
    150150
    151151    if (fNumSelectEvts>0)
  • trunk/MagicSoft/Mars/mfilter/MFEventSelector.h

    r1600 r1668  
    2727    void StreamPrimitive(ofstream &out) const;
    2828
     29    Bool_t PreProcess(MParList *pList);
     30    Bool_t Process();
     31    Bool_t PostProcess();
     32
    2933    enum { kNumTotalFromFile = BIT(14) };
    3034    /*
     
    4751     */
    4852
    49     Bool_t PreProcess(MParList *pList);
    50     Bool_t Process();
    51     Bool_t PostProcess();
    52 
    5353    ClassDef(MFEventSelector, 0) // A Filter to select events from files
    5454};
  • trunk/MagicSoft/Mars/mfilter/MFilterList.cc

    r1493 r1668  
    188188    //
    189189    while ((filter=(MFilter*)Next()))
    190         if (!filter->PreProcess(pList))
     190        if (!filter->CallPreProcess(pList))
    191191        {
    192192            *fLog << err << "Error - Preprocessing Filter ";
     
    212212    //
    213213    while ((filter=(MFilter*)Next()))
    214         if (!filter->Process())
     214        if (!filter->CallProcess())
    215215            return kFALSE;
    216216
     
    232232    //
    233233    while ((filter=(MFilter*)Next()))
    234         if (!filter->PostProcess())
     234        if (!filter->CallPostProcess())
    235235            return kFALSE;
    236236
Note: See TracChangeset for help on using the changeset viewer.