Ignore:
Timestamp:
10/16/01 10:42:09 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MReadTree.cc

    r949 r963  
    136136//  out.
    137137//
    138 Bool_t MReadTree::PreProcess (MParList *pList)
     138Bool_t MReadTree::PreProcess(MParList *pList)
    139139{
    140140    //
     
    145145    if (!fNumEntries)
    146146    {
    147         *fLog << dbginf << "No Entries found in chain (file/s)." << endl;
     147        *fLog << dbginf << "No entries found in chain (file/s)." << endl;
    148148        return kFALSE;
    149149    }
     
    152152    // output logging information
    153153    //
    154     *fLog << fNumEntries << " Entries found in file(s)." << endl;
     154    *fLog << fNumEntries << " entries found in file(s)." << endl;
    155155
    156156    //
     
    160160    TIter Next(fChain->GetListOfBranches());
    161161    TBranch *branch=NULL;
    162    
     162
     163    Int_t num=0;
    163164    //
    164165    // loop over all tasks for processing
     
    175176        //
    176177        if (HasVeto(name))
     178        {
     179            *fLog << "Branch " << name << " has veto... skipped." << endl;
    177180            continue;
     181        }
    178182
    179183        //
     
    204208        //
    205209        fChain->SetBranchAddress(name, pcont);
    206     }
     210        *fLog << "Branch " << name << " enabled for reading." << endl;
     211
     212        num++;
     213    }
     214
     215    *fLog << "MReadTree will read " << num << " branches." << endl;
    207216
    208217    return kTRUE;
     
    238247// Get the Event with the current EventNumber fNumEntry
    239248//
    240 Bool_t MReadTree::GetEvent() 
     249Bool_t MReadTree::GetEvent()
    241250{
    242251    fChain->GetEntry(fNumEntry);
Note: See TracChangeset for help on using the changeset viewer.