AliRoot Core  3dc7879 (3dc7879)
TTreeStream Class Reference

#include <TTreeStream.h>

Inheritance diagram for TTreeStream:

Public Member Functions

 TTreeStream (const char *treename, TTree *externalTree=NULL)
 
 ~TTreeStream ()
 
void Close ()
 
Int_t CheckIn (Char_t type, void *pointer)
 
Int_t CheckIn (TObject *o)
 
void BuildTree ()
 
void Fill ()
 
Double_t GetSize ()
 
TTreeStreamEndl ()
 
TTreeStreamoperator<< (Bool_t &b)
 
TTreeStreamoperator<< (Char_t &c)
 
TTreeStreamoperator<< (UChar_t &c)
 
TTreeStreamoperator<< (Short_t &h)
 
TTreeStreamoperator<< (UShort_t &h)
 
TTreeStreamoperator<< (Int_t &i)
 
TTreeStreamoperator<< (UInt_t &i)
 
TTreeStreamoperator<< (Long_t &l)
 
TTreeStreamoperator<< (ULong_t &l)
 
TTreeStreamoperator<< (Long64_t &l)
 
TTreeStreamoperator<< (ULong64_t &l)
 
TTreeStreamoperator<< (Float_t &f)
 
TTreeStreamoperator<< (Double_t &d)
 
TTreeStreamoperator<< (TObject *o)
 
TTreeStreamoperator<< (const Char_t *name)
 
TTree * GetTree () const
 

Static Public Member Functions

static void Test ()
 

Protected Member Functions

 TTreeStream (const TTreeStream &ts)
 
TTreeStreamoperator= (const TTreeStream &ts)
 

Protected Attributes

TObjArrayfElements
 
TObjArrayfBranches
 
TTree * fTree
 
Int_t fCurrentIndex
 
Int_t fId
 
TString fNextName
 
Int_t fNextNameCounter
 
Int_t fStatus
 

Friends

class TTreeSRedirector
 

Detailed Description

Definition at line 36 of file TTreeStream.h.

Constructor & Destructor Documentation

TTreeStream::TTreeStream ( const char *  treename,
TTree *  externalTree = NULL 
)

Definition at line 485 of file TTreeStream.cxx.

TTreeStream::~TTreeStream ( )

Definition at line 502 of file TTreeStream.cxx.

TTreeStream::TTreeStream ( const TTreeStream ts)
protected

Member Function Documentation

void TTreeStream::BuildTree ( )

Definition at line 606 of file TTreeStream.cxx.

Referenced by Endl(), and Fill().

Int_t TTreeStream::CheckIn ( Char_t  type,
void *  pointer 
)

Definition at line 522 of file TTreeStream.cxx.

Int_t TTreeStream::CheckIn ( TObject *  o)

Definition at line 562 of file TTreeStream.cxx.

void TTreeStream::Close ( )

Definition at line 513 of file TTreeStream.cxx.

Referenced by Test().

TTreeStream & TTreeStream::Endl ( )

Definition at line 689 of file TTreeStream.cxx.

Referenced by operator<<().

void TTreeStream::Fill ( )

Definition at line 667 of file TTreeStream.cxx.

Referenced by Endl().

Double_t TTreeStream::GetSize ( )
inline

Definition at line 48 of file TTreeStream.h.

TTree* TTreeStream::GetTree ( ) const
inline

Definition at line 66 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( Bool_t &  b)
inline

Definition at line 51 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( Char_t &  c)
inline

Definition at line 52 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( UChar_t &  c)
inline

Definition at line 53 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( Short_t &  h)
inline

Definition at line 54 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( UShort_t &  h)
inline

Definition at line 55 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( Int_t &  i)
inline

Definition at line 56 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( UInt_t &  i)
inline

Definition at line 57 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( Long_t &  l)
inline

Definition at line 58 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( ULong_t &  l)
inline

Definition at line 59 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( Long64_t &  l)
inline

Definition at line 60 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( ULong64_t &  l)
inline

Definition at line 61 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( Float_t &  f)
inline

Definition at line 62 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( Double_t &  d)
inline

Definition at line 63 of file TTreeStream.h.

TTreeStream& TTreeStream::operator<< ( TObject *  o)
inline

Definition at line 64 of file TTreeStream.h.

TTreeStream & TTreeStream::operator<< ( const Char_t *  name)

Definition at line 703 of file TTreeStream.cxx.

TTreeStream& TTreeStream::operator= ( const TTreeStream ts)
protected
void TTreeStream::Test ( )
static

Definition at line 50 of file TTreeStream.cxx.

Friends And Related Function Documentation

friend class TTreeSRedirector
friend

Definition at line 37 of file TTreeStream.h.

Member Data Documentation

TObjArray* TTreeStream::fBranches
protected

Definition at line 74 of file TTreeStream.h.

Referenced by BuildTree(), Fill(), and ~TTreeStream().

Int_t TTreeStream::fCurrentIndex
protected

Definition at line 76 of file TTreeStream.h.

Referenced by CheckIn(), and Endl().

TObjArray* TTreeStream::fElements
protected

Definition at line 73 of file TTreeStream.h.

Referenced by BuildTree(), CheckIn(), Fill(), and ~TTreeStream().

Int_t TTreeStream::fId
protected
TString TTreeStream::fNextName
protected

Definition at line 78 of file TTreeStream.h.

Referenced by CheckIn(), and operator<<().

Int_t TTreeStream::fNextNameCounter
protected

Definition at line 79 of file TTreeStream.h.

Referenced by CheckIn(), and operator<<().

Int_t TTreeStream::fStatus
protected

Definition at line 80 of file TTreeStream.h.

Referenced by CheckIn(), Endl(), and Fill().

TTree* TTreeStream::fTree
protected

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