Ignore:
Timestamp:
12/05/03 16:06:34 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfileio/MReadReports.h

    r2604 r2607  
    1717{
    1818private:
    19     MTaskList *fTrees;  // Hold the trees which are scheduled for reading
    20     TList     *fChains; // Hold TChains to read the times in advance
     19    MTaskList *fTrees;    // Hold the trees which are scheduled for reading
     20    TList     *fChains;   // Hold TChains to read the times in advance
    2121
    22     TArrayL    fPos;    // Store the position in each tree/chain
     22    TArrayL    fPosEntry; // Store the position in each tree/chain
     23    TArrayL    fPosTree;  // Number of Tree in file.
    2324
    24     MTask     *fList;   // pointer to the task list to set the stream id
     25    MTask     *fList;     // pointer to the task list to set the stream id
    2526
    2627    Bool_t     fEnableAutoScheme;
    2728
    2829    MTime** GetTime(TChain *c) const;
     30    Int_t   FindNextTime();
    2931
    3032    UInt_t  GetEntries() { return 0; }
     
    3436    Int_t   PostProcess();
    3537
     38    //Bool_t  Notify();
     39
     40    enum {
     41        //MReadTree::kChainWasChanged = BIT(14)
     42        kHasMaster = BIT(15)
     43    };
     44
    3645public:
    3746    MReadReports();
    3847    ~MReadReports();
    3948
    40     void  AddTree(const char *tree, const char *time=NULL);
     49    void  AddTree(const char *tree, const char *time=NULL, Bool_t master=kFALSE);
     50    void  AddTree(const char *tree, Bool_t master)
     51    {
     52        AddTree(tree, NULL, master);
     53    }
    4154    Int_t AddFile(const char *fname, Int_t entries=-1);
    4255    void  AddToBranchList(const char *name);
     
    4457    void  PrintStatistics(const Int_t lvl=0, Bool_t title=kFALSE) const;
    4558
    46     void  EnableAutoScheme(Bool_t e=kTRUE) { fEnableAutoScheme = e; }
     59    void  EnableAutoScheme(Bool_t e=kTRUE) { fEnableAutoScheme = e; } // Must be called BEFORE AddTree!
    4760
    4861    ClassDef(MReadReports, 0) // Reads events and reports from a root file ordered in time
Note: See TracChangeset for help on using the changeset viewer.