Ignore:
Timestamp:
08/27/04 14:45:08 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mfileio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfileio/MChain.cc

    r2173 r4756  
    1818!   Author(s): Thomas Bretz, 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de>
    1919!
    20 !   Copyright: MAGIC Software Development, 2000-2003
     20!   Copyright: MAGIC Software Development, 2000-2004
    2121!
    2222!
     
    2424
    2525/////////////////////////////////////////////////////////////////////////////
    26 //                                                                         //
    27 // MChain                                                                  //
    28 //                                                                         //
    29 // Helper class for MReadTree                                              //
    30 //                                                                         //
     26//
     27// MChain
     28//
     29// Helper class for MReadTree
     30//
    3131/////////////////////////////////////////////////////////////////////////////
    3232#include "MChain.h"
    3333
    3434ClassImp(MChain);
     35
     36using namespace std;
    3537
    3638Int_t MChain::LoadTree(Int_t entry)
  • trunk/MagicSoft/Mars/mfileio/MReadTree.cc

    r3682 r4756  
    609609
    610610    //
     611    // It seems, that TFile and TTree are not completely independant if
     612    // many times the same file is openes (MReadReports) and some of
     613    // the files in the chains don't have one tree. TChain::fTreeNumber
     614    // is already set before LoadTree from GetFile is called and
     615    // it crashes. ResetTree makes sure, that the tree number is -1
     616    //
     617    fChain->ResetTree();
     618
     619    //
    611620    // check for files and for the tree!
    612621    //
Note: See TracChangeset for help on using the changeset viewer.