Changeset 757 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/19/01 16:15:33 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

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

    r756 r757  
    347347// corresponding object won't be created automatically)
    348348//
     349// This functionality is for experienced users which don't want to
     350// read in branches which are not processed in the program (for
     351// speed reasons)
     352//
    349353void MReadTree::VetoBranch(const char *name)
    350354{
  • trunk/MagicSoft/Mars/mbase/MReadTree.h

    r705 r757  
    88class TFile;
    99class TChain;
     10class TArrayC;
    1011
    1112class MReadTree : public MTask
    1213{
    1314private:
    14     TFile  *fFile;       // Pointer to file
    15     TChain *fChain;      // Pointer to tree
     15    TFile   *fFile;       // Pointer to file
     16    TChain  *fChain;      // Pointer to tree
    1617
    17     UInt_t  fNumEntry;   // Number of actual entry
    18     UInt_t  fNumEntries; // Number of Events in Tree
     18    TArrayC *fVetoList;   // List of Branches which are not allowed to get enabled
     19
     20    UInt_t   fNumEntry;   // Number of actual entry
     21    UInt_t   fNumEntries; // Number of Events in Tree
     22
     23    Bool_t HasVeto(const char *name) const;
    1924
    2025public:
     
    2732
    2833    void AddFile(const char *fname);
     34    void VetoBranch(const char *name);
    2935
    30     Bool_t GetEvent() ;
     36    Bool_t GetEvent();
    3137
    3238    Bool_t DecEventNum(UInt_t dec=1); // decrease number of event (position in tree)
Note: See TracChangeset for help on using the changeset viewer.