AliRoot Core  ee782a0 (ee782a0)
TTreeSRedirector Class Reference

#include <TTreeStream.h>

Inheritance diagram for TTreeSRedirector:

Public Member Functions

 TTreeSRedirector (const char *fname="", const char *option="update")
 
virtual ~TTreeSRedirector ()
 
void Close ()
 
void StoreObject (TObject *object)
 
TFile * GetFile ()
 
TDirectory * GetDirectory ()
 
virtual TTreeStreamoperator<< (Int_t id)
 
virtual TTreeStreamoperator<< (const char *name)
 
void SetDirectory (TDirectory *sfile)
 
void SetFile (TFile *sfile)
 
void SetExternalTree (const char *name, TTree *externalTree)
 

Static Public Member Functions

static void Test ()
 
static void Test2 ()
 
static void UnitTestSparse (Double_t scale, Int_t testEntries)
 
static void UnitTest (Int_t testEntries=5000)
 
static void SetDisabled (Bool_t b=kTRUE)
 
static Bool_t IsDisabled ()
 
static void FixLeafNameBug (TTree *tree)
 

Private Member Functions

 TTreeSRedirector (const TTreeSRedirector &tsr)
 
TTreeSRedirectoroperator= (const TTreeSRedirector &tsr)
 

Private Attributes

TDirectory * fDirectory
 
Bool_t fDirectoryOwner
 
TObjArrayfDataLayouts
 

Static Private Attributes

static Bool_t fgDisabled =kFALSE
 

Detailed Description

Definition at line 85 of file TTreeStream.h.

Constructor & Destructor Documentation

TTreeSRedirector::TTreeSRedirector ( const char *  fname = "",
const char *  option = "update" 
)

Definition at line 300 of file TTreeStream.cxx.

Referenced by Test(), Test2(), and UnitTestSparse().

TTreeSRedirector::~TTreeSRedirector ( )
virtual

Definition at line 321 of file TTreeStream.cxx.

TTreeSRedirector::TTreeSRedirector ( const TTreeSRedirector tsr)
private

Member Function Documentation

void TTreeSRedirector::Close ( )

Definition at line 428 of file TTreeStream.cxx.

Referenced by ~TTreeSRedirector().

void TTreeSRedirector::FixLeafNameBug ( TTree *  tree)
static

Definition at line 730 of file TTreeStream.cxx.

Referenced by AliExternalInfo::GetTree().

TDirectory* TTreeSRedirector::GetDirectory ( )
inline

Definition at line 96 of file TTreeStream.h.

static Bool_t TTreeSRedirector::IsDisabled ( )
inlinestatic
TTreeStream & TTreeSRedirector::operator<< ( Int_t  id)
virtual

Definition at line 356 of file TTreeStream.cxx.

TTreeStream & TTreeSRedirector::operator<< ( const char *  name)
virtual

Definition at line 404 of file TTreeStream.cxx.

TTreeSRedirector& TTreeSRedirector::operator= ( const TTreeSRedirector tsr)
private
void TTreeSRedirector::SetDirectory ( TDirectory *  sfile)

Definition at line 344 of file TTreeStream.cxx.

static void TTreeSRedirector::SetDisabled ( Bool_t  b = kTRUE)
inlinestatic

Definition at line 102 of file TTreeStream.h.

void TTreeSRedirector::SetExternalTree ( const char *  name,
TTree *  externalTree 
)

Definition at line 385 of file TTreeStream.cxx.

void TTreeSRedirector::SetFile ( TFile *  sfile)
inline

Definition at line 100 of file TTreeStream.h.

void TTreeSRedirector::StoreObject ( TObject *  object)

Definition at line 333 of file TTreeStream.cxx.

void TTreeSRedirector::Test ( )
static

Definition at line 145 of file TTreeStream.cxx.

void TTreeSRedirector::Test2 ( )
static

Definition at line 97 of file TTreeStream.cxx.

void TTreeSRedirector::UnitTest ( Int_t  testEntries = 5000)
static

Definition at line 191 of file TTreeStream.cxx.

void TTreeSRedirector::UnitTestSparse ( Double_t  scale,
Int_t  testEntries 
)
static

Definition at line 200 of file TTreeStream.cxx.

Referenced by UnitTest().

Member Data Documentation

TObjArray* TTreeSRedirector::fDataLayouts
private

Definition at line 112 of file TTreeStream.h.

Referenced by Close(), operator<<(), and SetExternalTree().

TDirectory* TTreeSRedirector::fDirectory
private
Bool_t TTreeSRedirector::fDirectoryOwner
private

Definition at line 111 of file TTreeStream.h.

Referenced by SetDirectory(), TTreeSRedirector(), and ~TTreeSRedirector().

Bool_t TTreeSRedirector::fgDisabled =kFALSE
staticprivate

Definition at line 113 of file TTreeStream.h.

Referenced by Close(), operator<<(), StoreObject(), TTreeSRedirector(), and UnitTestSparse().


The documentation for this class was generated from the following files: