library: libTree #include "TChain.h" |
TChain() | |
TChain(const char* name, const char* title = "") | |
virtual | ~TChain() |
void | TObject::AbstractMethod(const char* method) const |
virtual Int_t | Add(TChain* chain) |
virtual Int_t | Add(const char* name, Long64_t nentries = kBigNumber) |
virtual Int_t | AddFile(const char* name, Long64_t nentries = kBigNumber, const char* tname = "") |
virtual Int_t | AddFileInfoList(TList* list, Long64_t nfiles = kBigNumber) |
virtual TFriendElement* | AddFriend(const char* chainname, const char* dummy = "") |
virtual TFriendElement* | AddFriend(const char* chainname, TFile* dummy) |
virtual TFriendElement* | AddFriend(TTree* chain, const char* alias, Bool_t warn = kFALSE) |
virtual void | TTree::AddTotBytes(Int_t tot) |
virtual void | TTree::AddZipBytes(Int_t zip) |
virtual void | TObject::AppendPad(Option_t* option = "") |
virtual Long64_t | TTree::AutoSave(Option_t* option = "") |
virtual Int_t | TTree::Branch(TList* list, Int_t bufsize = 32000, Int_t splitlevel = 99) |
virtual Int_t | TTree::Branch(const char* folder, Int_t bufsize = 32000, Int_t splitlevel = 99) |
virtual Int_t | TTree::Branch(TCollection* list, Int_t bufsize = 32000, Int_t splitlevel = 99, const char* name = "") |
virtual TBranch* | TTree::Branch(const char* name, void* address, const char* leaflist, Int_t bufsize = 32000) |
TBranch* | TTree::Branch(const char* name, void*** addobj, Int_t bufsize = 32000, Int_t splitlevel = 99) |
TBranch* | TTree::Branch(const char* name, const char* classname, void*** addobj, Int_t bufsize = 32000, Int_t splitlevel = 99) |
virtual TBranch* | TTree::BranchOld(const char* name, const char* classname, void* addobj, Int_t bufsize = 32000, Int_t splitlevel = 1) |
virtual TBranch* | TTree::BranchRef() |
virtual TBranch* | TTree::Bronch(const char* name, const char* classname, void* addobj, Int_t bufsize = 32000, Int_t splitlevel = 99) |
virtual void | Browse(TBrowser*) |
virtual Int_t | TTree::BuildIndex(const char* majorname, const char* minorname = "0") |
TStreamerInfo* | TTree::BuildStreamerInfo(TClass* cl, void* pointer = 0) |
virtual void | CanDeleteRefs(Bool_t flag = kTRUE) |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | TNamed::Clear(Option_t* option = "") |
virtual TObject* | TNamed::Clone(const char* newname = "") const |
virtual TTree* | TTree::CloneTree(Long64_t nentries = -1, Option_t* option = "") |
virtual Int_t | TNamed::Compare(const TObject* obj) const |
virtual void | TNamed::Copy(TObject& named) const |
virtual void | TTree::CopyAddresses(TTree*) |
virtual Long64_t | TTree::CopyEntries(TTree* tree, Long64_t nentries = -1) |
virtual TTree* | TTree::CopyTree(const char* selection, Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0) |
virtual TBasket* | TTree::CreateBasket(TBranch*) |
virtual void | CreatePackets() |
Int_t | TTree::Debug() const |
virtual void | TTree::Delete(Option_t* option = "") |
Int_t | TAttLine::DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2) |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | Draw(Option_t* opt) |
virtual Long64_t | Draw(const char* varexp, const TCut& selection, Option_t* option = "", Long64_t nentries = kBigNumber, Long64_t firstentry = 0) |
virtual Long64_t | Draw(const char* varexp, const char* selection, Option_t* option = "", Long64_t nentries = kBigNumber, Long64_t firstentry = 0) |
virtual void | TObject::DrawClass() const |
virtual TObject* | TObject::DrawClone(Option_t* option = "") const |
virtual void | TTree::DropBaskets() |
virtual void | TTree::DropBuffers(Int_t nbytes) |
virtual void | TObject::Dump() const |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
virtual Int_t | Fill() |
virtual void | TNamed::FillBuffer(char*& buffer) |
virtual TBranch* | FindBranch(const char* name) |
virtual TLeaf* | FindLeaf(const char* name) |
virtual TObject* | TObject::FindObject(const char* name) const |
virtual TObject* | TObject::FindObject(const TObject* obj) const |
virtual Long64_t | TTree::Fit(const char* funcname, const char* varexp, const char* selection = "", Option_t* option = "", Option_t* goption = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0) |
virtual const char* | GetAlias(const char* aliasName) const |
virtual TBranch* | GetBranch(const char* name) |
virtual TBranchRef* | TTree::GetBranchRef() const |
virtual Bool_t | GetBranchStatus(const char* branchname) const |
static Int_t | TTree::GetBranchStyle() |
virtual Long64_t | TTree::GetCacheSize() const |
virtual Long64_t | GetChainEntryNumber(Long64_t entry) const |
virtual Long64_t | TTree::GetChainOffset() const |
TFile* | TTree::GetCurrentFile() const |
Long64_t | TTree::GetDebugMax() const |
Long64_t | TTree::GetDebugMin() const |
TDirectory* | TTree::GetDirectory() const |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
virtual Long64_t | GetEntries() const |
virtual Long64_t | GetEntries(const char* sel) |
virtual Long64_t | TTree::GetEntriesFast() const |
virtual Long64_t | TTree::GetEntriesFriend() const |
virtual Int_t | GetEntry(Long64_t entry = 0, Int_t getall = 0) |
virtual Long64_t | TTree::GetEntryNumber(Long64_t entry) const |
virtual Long64_t | TTree::GetEntryNumberWithBestIndex(Int_t major, Int_t minor = 0) const |
virtual Long64_t | TTree::GetEntryNumberWithIndex(Int_t major, Int_t minor = 0) const |
virtual Int_t | GetEntryWithIndex(Int_t major, Int_t minor = 0) |
virtual Long64_t | TTree::GetEstimate() const |
Int_t | TTree::GetEvent(Long64_t entry = 0, Int_t getall = 0) |
TEventList* | TTree::GetEventList() const |
TFile* | GetFile() const |
virtual Int_t | TTree::GetFileNumber() const |
virtual Color_t | TAttFill::GetFillColor() const |
virtual Style_t | TAttFill::GetFillStyle() const |
virtual const char* | TTree::GetFriendAlias(TTree*) const |
TH1* | TTree::GetHistogram() |
virtual const char* | TObject::GetIconName() const |
virtual Int_t* | TTree::GetIndex() |
virtual Double_t* | TTree::GetIndexValues() |
virtual TIterator* | TTree::GetIteratorOnAllLeaves(Bool_t dir = kIterForward) |
virtual TLeaf* | GetLeaf(const char* name) |
virtual Color_t | TAttLine::GetLineColor() const |
virtual Style_t | TAttLine::GetLineStyle() const |
virtual Width_t | TAttLine::GetLineWidth() const |
virtual TSeqCollection* | TTree::GetListOfAliases() const |
virtual TObjArray* | GetListOfBranches() |
virtual TList* | TTree::GetListOfClones() |
TObjArray* | GetListOfFiles() const |
virtual TList* | TTree::GetListOfFriends() const |
virtual TObjArray* | GetListOfLeaves() |
Int_t | TTree::GetMakeClass() const |
virtual Color_t | TAttMarker::GetMarkerColor() const |
virtual Size_t | TAttMarker::GetMarkerSize() const |
virtual Style_t | TAttMarker::GetMarkerStyle() const |
virtual Long64_t | TTree::GetMaxEntryLoop() const |
virtual Double_t | GetMaximum(const char* columname) |
static Long64_t | TTree::GetMaxTreeSize() |
virtual Long64_t | TTree::GetMaxVirtualSize() const |
virtual Double_t | GetMinimum(const char* columname) |
virtual const char* | TNamed::GetName() const |
virtual Int_t | GetNbranches() |
TObject* | TTree::GetNotify() const |
Int_t | GetNtrees() const |
virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
static Bool_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
virtual Int_t | TTree::GetPacketSize() const |
TVirtualTreePlayer* | TTree::GetPlayer() |
virtual Long64_t | GetReadEntry() const |
virtual Long64_t | TTree::GetReadEvent() const |
virtual Int_t | TTree::GetScanField() const |
TTreeFormula* | TTree::GetSelect() |
virtual Long64_t | TTree::GetSelectedRows() |
TList* | GetStatus() const |
virtual Int_t | TTree::GetTimerInterval() const |
virtual const char* | TNamed::GetTitle() const |
virtual Long64_t | TTree::GetTotBytes() const |
virtual TTree* | GetTree() const |
virtual TVirtualIndex* | TTree::GetTreeIndex() const |
virtual Int_t | GetTreeNumber() const |
Long64_t* | GetTreeOffset() const |
Int_t | GetTreeOffsetLen() const |
virtual UInt_t | TObject::GetUniqueID() const |
virtual Int_t | TTree::GetUpdate() const |
virtual TList* | TTree::GetUserInfo() |
virtual Double_t* | TTree::GetV1() |
virtual Double_t* | TTree::GetV2() |
virtual Double_t* | TTree::GetV3() |
virtual Double_t* | TTree::GetV4() |
TTreeFormula* | TTree::GetVar1() |
TTreeFormula* | TTree::GetVar2() |
TTreeFormula* | TTree::GetVar3() |
TTreeFormula* | TTree::GetVar4() |
virtual Double_t* | TTree::GetW() |
virtual Double_t | GetWeight() const |
virtual Long64_t | TTree::GetZipBytes() const |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
virtual ULong_t | TNamed::Hash() const |
virtual void | TTree::IncrementTotalBuffers(Int_t nbytes) |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
virtual void | TObject::Inspect() const |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | TTree::IsFolder() const |
Bool_t | TObject::IsOnHeap() const |
virtual Bool_t | TNamed::IsSortable() const |
virtual Bool_t | TAttFill::IsTransparent() const |
Bool_t | TObject::IsZombie() const |
virtual Int_t | LoadBaskets(Long64_t maxmemory) |
virtual Long64_t | LoadTree(Long64_t entry) |
virtual Long64_t | TTree::LoadTreeFriend(Long64_t entry, TTree* T) |
void | Lookup() |
virtual void | Loop(Option_t* option = "", Long64_t nentries = kBigNumber, Long64_t firstentry = 0) |
virtual void | ls(Option_t* option = "") const |
virtual Int_t | TTree::MakeClass(const char* classname = "0", Option_t* option = "") |
virtual Int_t | TTree::MakeCode(const char* filename = "0") |
virtual Int_t | TTree::MakeProxy(const char* classname, const char* macrofilename = "0", const char* cutfilename = "0", const char* option = "0", Int_t maxUnrolling = 3) |
virtual Int_t | TTree::MakeSelector(const char* selector = "0") |
void | TObject::MayNotUse(const char* method) const |
Bool_t | TTree::MemoryFull(Int_t nbytes) |
virtual Long64_t | Merge(const char* name, Option_t* option = "") |
virtual Long64_t | Merge(TCollection* list, Option_t* option = "") |
virtual Long64_t | Merge(TFile* file, Int_t basketsize, Option_t* option = "") |
static TTree* | TTree::MergeTrees(TList* list, Option_t* option = "") |
virtual void | TAttLine::Modify() |
virtual Bool_t | TTree::Notify() |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::operator delete[](void* ptr, void* vp) |
void* | TObject::operator new(size_t sz) |
void* | TObject::operator new(size_t sz, void* vp) |
void* | TObject::operator new[](size_t sz) |
void* | TObject::operator new[](size_t sz, void* vp) |
virtual void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
TPrincipal* | TTree::Principal(const char* varexp = "", const char* selection = "", Option_t* option = "np", Long64_t nentries = 1000000000, Long64_t firstentry = 0) |
virtual void | Print(Option_t* option = "") const |
virtual Long64_t | Process(const char* filename, Option_t* option = "", Long64_t nentries = kBigNumber, Long64_t firstentry = 0) |
virtual Long64_t | Process(TSelector* selector, Option_t* option = "", Long64_t nentries = kBigNumber, Long64_t firstentry = 0) |
virtual Long64_t | TTree::Project(const char* hname, const char* varexp, const char* selection = "", Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0) |
virtual TSQLResult* | TTree::Query(const char* varexp = "", const char* selection = "", Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0) |
virtual Int_t | TObject::Read(const char* name) |
virtual Long64_t | TTree::ReadFile(const char* filename, const char* branchDescriptor = "") |
virtual void | TObject::RecursiveRemove(TObject* obj) |
virtual void | TTree::Refresh() |
virtual void | TTree::RemoveFriend(TTree*) |
virtual void | Reset(Option_t* option = "") |
virtual void | TAttFill::ResetAttFill(Option_t* option = "") |
virtual void | TAttLine::ResetAttLine(Option_t* option = "") |
virtual void | TAttMarker::ResetAttMarker(Option_t* toption = "") |
void | TObject::ResetBit(UInt_t f) |
virtual void | ResetBranchAddresses() |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") const |
virtual void | TAttFill::SaveFillAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1001) |
virtual void | TAttLine::SaveLineAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t widdef = 1) |
virtual void | TAttMarker::SaveMarkerAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t sizdef = 1) |
virtual void | TObject::SavePrimitive(ostream& out, Option_t* option = "") |
virtual Long64_t | Scan(const char* varexp = "", const char* selection = "", Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0) |
virtual Bool_t | TTree::SetAlias(const char* aliasName, const char* aliasFormula) |
virtual void | SetAutoDelete(Bool_t autodel = kTRUE) |
virtual void | TTree::SetAutoSave(Long64_t autos = 10000000) |
virtual void | TTree::SetBasketSize(const char* bname, Int_t buffsize = 16000) |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
virtual void | SetBranchAddress(const char* bname, void* add, TBranch** ptr = 0) |
virtual void | SetBranchAddress(const char* bname, void* add, TClass* realClass, EDataType datatype, Bool_t isptr) |
virtual void | SetBranchAddress(const char* bname, void* add, TBranch** ptr, TClass* realClass, EDataType datatype, Bool_t isptr) |
virtual void | SetBranchStatus(const char* bname, Bool_t status = 1, UInt_t* found = 0) |
static void | TTree::SetBranchStyle(Int_t style = 1) |
virtual void | TTree::SetCacheSize(Long64_t cachesize = 10000000) |
virtual void | TTree::SetChainOffset(Long64_t offset = 0) |
virtual void | TTree::SetCircular(Long64_t maxEntries) |
virtual void | TTree::SetDebug(Int_t level = 1, Long64_t min = 0, Long64_t max = 9999999) |
virtual void | SetDirectory(TDirectory* dir) |
virtual void | TObject::SetDrawOption(Option_t* option = "") |
static void | TObject::SetDtorOnly(void* obj) |
virtual Long64_t | TTree::SetEntries(Long64_t n = -1) |
virtual void | TTree::SetEstimate(Long64_t nentries = 10000) |
virtual void | TTree::SetEventList(TEventList* list) |
virtual void | TTree::SetFileNumber(Int_t number = 0) |
virtual void | TAttFill::SetFillAttributes() |
virtual void | TAttFill::SetFillColor(Color_t fcolor) |
virtual void | TAttFill::SetFillStyle(Style_t fstyle) |
virtual void | TAttLine::SetLineAttributes() |
virtual void | TAttLine::SetLineColor(Color_t lcolor) |
virtual void | TAttLine::SetLineStyle(Style_t lstyle) |
virtual void | TAttLine::SetLineWidth(Width_t lwidth) |
virtual void | SetMakeClass(Int_t make) |
virtual void | TAttMarker::SetMarkerAttributes() |
virtual void | TAttMarker::SetMarkerColor(Color_t tcolor = 1) |
virtual void | TAttMarker::SetMarkerSize(Size_t msize = 1) |
virtual void | TAttMarker::SetMarkerStyle(Style_t mstyle = 1) |
virtual void | TTree::SetMaxEntryLoop(Long64_t maxev = 1000000000) |
static void | TTree::SetMaxTreeSize(Long64_t maxsize = 1900000000) |
virtual void | TTree::SetMaxVirtualSize(Long64_t size = 0) |
virtual void | TTree::SetName(const char* name) |
virtual void | TNamed::SetNameTitle(const char* name, const char* title) |
virtual void | TTree::SetNotify(TObject* obj) |
virtual void | TTree::SetObject(const char* name, const char* title) |
static void | TObject::SetObjectStat(Bool_t stat) |
virtual void | SetPacketSize(Int_t size = 100) |
virtual void | SetProof(Bool_t on = kTRUE, Bool_t refresh = kFALSE, Bool_t gettreeheader = kFALSE) |
virtual void | TTree::SetScanField(Int_t n = 50) |
virtual void | TTree::SetTimerInterval(Int_t msec = 333) |
virtual void | TNamed::SetTitle(const char* title = "") |
virtual void | TTree::SetTreeIndex(TVirtualIndex* index) |
virtual void | TObject::SetUniqueID(UInt_t uid) |
virtual void | TTree::SetUpdate(Int_t freq = 0) |
virtual void | SetWeight(Double_t w = 1, Option_t* option = "") |
virtual void | TTree::Show(Long64_t entry = -1, Int_t lenmax = 20) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual Int_t | TNamed::Sizeof() const |
virtual void | TTree::StartViewer() |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
virtual Long64_t | TTree::UnbinnedFit(const char* funcname, const char* varexp, const char* selection = "", Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0) |
virtual void | UseCache(Int_t maxCacheSize = 10, Int_t pageSize = 0) |
virtual void | TTree::UseCurrentStyle() |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const |
void | TTree::AddClone(TTree*) |
virtual TBranch* | TTree::BranchImp(const char* branchname, TClass* ptrClass, void* addobj, Int_t bufsize, Int_t splitlevel) |
virtual TBranch* | TTree::BranchImp(const char* branchname, const char* classname, TClass* ptrClass, void* addobj, Int_t bufsize, Int_t splitlevel) |
virtual TFile* | TTree::ChangeFile(TFile* file) |
virtual Bool_t | TTree::CheckBranchAddressType(TBranch* branch, TClass* ptrClass, EDataType datatype, Bool_t ptr) |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
const char* | TTree::GetNameByIndex(TString& varexp, Int_t* index, Int_t colindex) const |
virtual void | TTree::KeepCircular() |
virtual void | TTree::MakeIndex(TString& varexp, Int_t* index) |
void | TObject::MakeZombie() |
void | ReleaseChainProof() |
enum { | kGlobalWeight | |
kAutoDelete | ||
kProofUptodate | ||
kBigNumber | ||
}; | ||
enum TTree::ELockStatusBits { | kFindBranch | |
kFindLeaf | ||
kGetAlias | ||
kGetBranch | ||
kGetEntry | ||
kGetEntryWithIndex | ||
kGetFriendAlias | ||
kGetLeaf | ||
kLoadTree | ||
kPrint | ||
kRemoveFriend | ||
kSetBranchStatus | ||
}; | ||
enum TTree::[unnamed] { | kForceRead | |
kCircular | ||
}; | ||
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
Int_t | fTreeOffsetLen | Current size of fTreeOffset array |
Int_t | fNtrees | Number of trees |
Int_t | fTreeNumber | ! Current Tree number in fTreeOffset table |
Long64_t* | fTreeOffset | [fTreeOffsetLen] Array of variables |
Bool_t | fCanDeleteRefs | ! If true, TProcessIDs are deleted when closing a file |
TTree* | fTree | ! Pointer to current tree (Note: We do *not* own this tree.) |
TFile* | fFile | ! Pointer to current file (We own the file). |
TObjArray* | fFiles | -> List of file names containing the trees (TChainElement, owned) |
TList* | fStatus | -> List of active/inactive branches (TChainElement, owned) |
TChain* | fProofChain | ! chain proxy when going to be processed by PROOF |
Long64_t | TTree::fEntries | Number of entries |
Long64_t | TTree::fTotBytes | Total number of bytes in all branches before compression |
Long64_t | TTree::fZipBytes | Total number of bytes in all branches after compression |
Long64_t | TTree::fSavedBytes | Number of autosaved bytes |
Double_t | TTree::fWeight | Tree weight (see TTree::SetWeight) |
Int_t | TTree::fTimerInterval | Timer interval in milliseconds |
Int_t | TTree::fScanField | Number of runs before prompting in Scan |
Int_t | TTree::fUpdate | Update frequency for EntryLoop |
Long64_t | TTree::fMaxEntries | Maximum number of entries in case of circular buffers |
Long64_t | TTree::fMaxEntryLoop | Maximum number of entries to process |
Long64_t | TTree::fMaxVirtualSize | Maximum total size of buffers kept in memory |
Long64_t | TTree::fAutoSave | Autosave tree when fAutoSave bytes produced |
Long64_t | TTree::fEstimate | Number of entries to estimate histogram limits |
Long64_t | TTree::fCacheSize | ! Maximum size of file buffers |
Long64_t | TTree::fChainOffset | ! Offset of 1st entry of this Tree in a TChain |
Long64_t | TTree::fReadEntry | ! Number of the entry being processed |
Long64_t | TTree::fTotalBuffers | ! Total number of bytes in branch buffers |
Int_t | TTree::fPacketSize | ! Number of entries in one packet for parallel root |
Int_t | TTree::fNfill | ! Local for EntryLoop |
Int_t | TTree::fDebug | ! Debug level |
Long64_t | TTree::fDebugMin | ! First entry number to debug |
Long64_t | TTree::fDebugMax | ! Last entry number to debug |
Int_t | TTree::fMakeClass | ! not zero when processing code generated by MakeClass |
Int_t | TTree::fFileNumber | ! current file number (if file extensions) |
TObject* | TTree::fNotify | ! Object to be notified when loading a Tree |
TDirectory* | TTree::fDirectory | ! Pointer to directory holding this tree |
TObjArray | TTree::fBranches | List of Branches |
TObjArray | TTree::fLeaves | Direct pointers to individual branch leaves |
TList* | TTree::fAliases | List of aliases for expressions based on the tree branches. |
TEventList* | TTree::fEventList | ! Pointer to event selection list (if one) |
TArrayD | TTree::fIndexValues | Sorted index values |
TArrayI | TTree::fIndex | Index of sorted values |
TVirtualIndex* | TTree::fTreeIndex | Pointer to the tree Index (if any) |
TList* | TTree::fFriends | pointer to list of friend elements |
TList* | TTree::fUserInfo | pointer to a list of user objects associated to this Tree |
TVirtualTreePlayer* | TTree::fPlayer | ! Pointer to current Tree player |
TList* | TTree::fClones | ! List of cloned trees which share our addresses |
TBranchRef* | TTree::fBranchRef | Branch supporting the TRefTable (if any) |
UInt_t | TTree::fFriendLockStatus | ! Record which method is locking the friend recursion |
static Int_t | TTree::fgBranchStyle | Old/New branch style |
static Long64_t | TTree::fgMaxTreeSize | Maximum size of a file containg a Tree |
TString | TNamed::fName | object identifier |
TString | TNamed::fTitle | object title |
Color_t | TAttLine::fLineColor | line color |
Style_t | TAttLine::fLineStyle | line style |
Width_t | TAttLine::fLineWidth | line width |
Color_t | TAttFill::fFillColor | fill area color |
Style_t | TAttFill::fFillStyle | fill area style |
Color_t | TAttMarker::fMarkerColor | Marker color index |
Style_t | TAttMarker::fMarkerStyle | Marker style |
Size_t | TAttMarker::fMarkerSize | Marker size |
TChain A chain is a collection of files containg TTree objects. When the chain is created, the first parameter is the default name for the Tree to be processed later on. Enter a new element in the chain via the TChain::Add function. Once a chain is defined, one can use the normal TTree functions to Draw,Scan,etc. Use TChain::SetBranchStatus to activate one or more branches for all the trees in the chain.
-- Create a chain. A TChain is a collection of TFile objects. the first parameter "name" is the name of the TTree object in the files added with Add. Use TChain::Add to add a new element to this chain. In case the Tree is in a subdirectory, do, eg: TChain ch("subdir/treename"); Example: Suppose we have 3 files f1.root, f2.root and f3.root. Each file contains a TTree object named "T". TChain ch("T"); creates a chain to process a Tree called "T" ch.Add("f1.root"); ch.Add("f2.root"); ch.Add("f3.root"); ch.Draw("x"); The Draw function above will process the variable "x" in Tree "T" reading sequentially the 3 files in the chain ch. *-*
-- Add a new file to this chain. Argument name may have the following format: //machine/file_name.root/subdir/tree_name machine, subdir and tree_name are optional. If tree_name is missing, the chain name will be assumed. Name may use the wildcarding notation, eg "xxx*.root" means all files starting with xxx in the current file system directory. NB. To add all the files of a TChain to a chain, use Add(TChain *chain). A- if nentries <= 0, the file is connected and the tree header read in memory to get the number of entries. B- if (nentries > 0, the file is not connected, nentries is assumed to be the number of entries in the file. In this case, no check is made that the file exists and the Tree existing in the file. This second mode is interesting in case the number of entries in the file is already stored in a run data base for example. C- if (nentries == kBigNumber) (default), the file is not connected. the number of entries in each file will be read only when the file will need to be connected to read an entry. This option is the default and very efficient if one process the chain sequentially. Note that in case TChain::GetEntry(entry) is called and entry refers to an entry in the 3rd file, for example, this forces the Tree headers in the first and second file to be read to find the number of entries in these files. Note that if one calls TChain::GetEntriesFast() after having created a chain with this default, GetEntriesFast will return kBigNumber! TChain::GetEntries will force of the Tree headers in the chain to be read to read the number of entries in each Tree.
-- Add a new file to this chain. If tname is specified, the chain will load the tree named tname from the file, otherwise the original treename specified in the TChain constructor will be used. A. If nentries <= 0, the file is opened and the tree header read into memory to get the number of entries. B. If nentries > 0, the file is not opened, and nentries is assumed to be the number of entries in the file. In this case, no check is made that the file exists nor that the tree exists in the file. This second mode is interesting in case the number of entries in the file is already stored in a run database for example. C. If nentries == kBigNumber (default), the file is not opened. The number of entries in each file will be read only when the file is opened to read an entry. This option is the default and very efficient if one processes the chain sequentially. Note that in case GetEntry(entry) is called and entry refers to an entry in the third file, for example, this forces the tree headers in the first and second file to be read to find the number of entries in those files. Note that if one calls GetEntriesFast() after having created a chain with this default, GetEntriesFast() will return kBigNumber! Using the GetEntries() function instead will force all of the tree headers in the chain to be read to read the number of entries in each tree.
-- Add all files referenced in the list to the chain.
-- Add a TFriendElement to the list of friends of this chain. A TChain has a list of friends similar to a tree (see TTree::AddFriend). You can add a friend to a chain with the TChain::AddFriend method, and you can retrieve the list of friends with TChain::GetListOfFriends. This example has four chains each has 20 ROOT trees from 20 ROOT files. TChain ch("t"); // a chain with 20 trees from 20 files TChain ch1("t1"); TChain ch2("t2"); TChain ch3("t3"); Now we can add the friends to the first chain. ch.AddFriend("t1") ch.AddFriend("t2") ch.AddFriend("t3")/* */
-- Add the whole chain or tree as a friend of this chain.
-- Add the whole chain or tree as a friend of this chain.
When closing a file during the chain processing, the file may be closed with option "R" if flag is set to kTRUE. by default flag is kTRUE. When closing a file with option "R", all TProcessIDs referenced by this file are deleted. Calling TFile::Close("R") might be necessary in case one reads a long list of files having TRef, writing some of the referenced objects or TRef to a new file. If the TRef or referenced objects of the file being closed will not be referenced again, it is possible to minimize the size of the TProcessID data structures in memory by forcing a delete of the unused TProcessID.
Draw expression varexp for selected entries. Returns -1 in case of error or number of selected events in case of success. This function accepts TCut objects as arguments. Useful to use the string operator +, example: ntuple.Draw("x",cut1+cut2+cut3);
Process all entries in this chain and draw histogram corresponding to expression varexp. Returns -1 in case of error or number of selected events in case of success.
-- Returns the expanded value of the alias. Search in the friends if any.
-- Return absolute entry number in the chain. The input parameter entry is the entry number in the current tree of this chain.
-- Return the total number of entries in the chain. In case the number of entries in each tree is not yet known, the offset table is computed.
-- Get entry from the file to memory. getall = 0 : get only active branches getall = 1 : get all branches Return the total number of bytes read, 0 bytes read indicates a failure.
-- Return entry corresponding to major and minor number. For example: Int_t run = 1234; Int_t event = 345; Long64_t serial = chain.GetEntryNumberWithIndex(run, event); Now the variable serial is in the range [0,nentries] and one can do chain.GetEntry(serial); WARNING: This function will not work if teh chain has friend chains.
-- Return a pointer to the current file. If no file is connected, the first file is automatically loaded.
-- Return a pointer to the list of branches of the current tree. Warning: May set current tree!
-- Return a pointer to the list of leaves of the current tree. Warning: May set the current tree!
-- Return the number of branches of the current tree. Warning: May set the current tree!
-- Return the chain weight. By default the weight is the weight of the current tree. However, if the weight has been set in TChain::SetWeight() with the option "global", then that weight will be returned. Warning: May set the current tree!
-- Dummy function. It could be implemented and load all baskets of all trees in the chain. For the time being use TChain::Merge and TTree::LoadBasket on the resulting tree.
-- Find the tree which contains entry, and set it as the current tree. Returns the entry number in that tree. The input argument entry is the entry serial number in the whole chain. Note: This is the only routine which sets the value of fTree to a non-zero pointer.
-- Loop on nentries of this chain starting at firstentry. (NOT IMPLEMENTED)
-- Merge all the entries in the chain into a new tree in a new file. See important note in the following function Merge(). If the chain is expecting the input tree inside a directory, this directory is NOT created by this routine. So in a case where we have: TChain ch("mydir/mytree"); ch.Merge("newfile.root"); The resulting file will have not subdirectory. To recreate the directory structure do: TFile* file = TFile::Open("newfile.root", "RECREATE"); file->mkdir("mydir")->cd(); ch.Merge(file);
-- Merge all chains in the collection. (NOT IMPLEMENTED)
-- Merge all the entries in the chain into a new tree in the current file. If option = "C" is given, the compression level for all branches in the new Tree is set to the file compression level. By default, the compression level of all branches is the original compression level in the old trees. If basketsize > 1000, the basket size for all branches of the new tree will be set to basketsize. Example using the file generated in $ROOTSYS/test/Event merge two copies of Event.root gSystem.Load("libEvent"); TChain ch("T"); ch.Add("Event1.root"); ch.Add("Event2.root"); ch.Merge("all.root"); If the chain is expecting the input tree inside a directory, this directory is NOT created by this routine. So if you do: TChain ch("mydir/mytree"); ch.Merge("newfile.root"); The resulting file will not have subdirectories. In order to preserve the directory structure do the following instead: TFile* file = TFile::Open("newfile.root", "RECREATE"); file->mkdir("mydir")->cd(); ch.Merge(file); If 'option' contains the word 'fast' the merge will be done without unzipping or unstreaming the baskets (i.e., a direct copy of the raw bytes on disk). When 'fast' is specified, 'option' can also contains a sorting order for the baskets in the output file. There is currently 3 supported sorting order: SortBasketsByOffset (the default) SortBasketsByBranch SortBasketsByEntry When using SortBasketsByOffset the baskets are written in the output file in the same order as in the original file (i.e. the basket are sorted on their offset in the original file; Usually this also means that the baskets are sorted on the index/number of the _last_ entry they contain) When using SortBasketsByBranch all the baskets of each individual branches are stored contiguously. This tends to optimize reading speed when reading a small number (1->5) of branches, since all their baskets will be clustered together instead of being spread across the file. However it might decrease the performance when reading more branches (or the full entry). When using SortBasketsByEntry the baskets with the lowest starting entry are written first. (i.e. the baskets are sorted on the index/number of the first entry they contain). This means that on the file the baskets will be in the order in which they will be needed when reading the whole tree sequentially. IMPORTANT Note 1: AUTOMATIC FILE OVERFLOW ----------------------------------------- When merging many files, it may happen that the resulting file reaches a size > TTree::fgMaxTreeSize (default = 1.9 GBytes). In this case the current file is automatically closed and a new file started. If the name of the merged file was "merged.root", the subsequent files will be named "merged_1.root", "merged_2.root", etc. fgMaxTreeSize may be modified via the static function TTree::SetMaxTreeSize. IMPORTANT Note 2: The output file is automatically closed and deleted. ---------------------------------------------------------------------- This is required because in general the automatic file overflow described above may happen during the merge. If only the current file is produced (the file passed as first argument), one can instruct Merge to not close and delete the file by specifying the option "keep". The function returns the total number of files produced. To check that all files have been merged use something like: if (newchain->GetEntries()!=oldchain->GetEntries()) { ... not all the file have been copied ... }
-- Print the header information of each tree in the chain. See TTree::Print for a list of options.
Process all entries in this chain, calling functions in filename. The return value is -1 in case of error and TSelector::GetStatus() in in case of success. See TTree::Process.
Process this chain executing the code in selector. The return value is -1 in case of error and TSelector::GetStatus() in in case of success.
-- Loop on tree and print entries passing selection. If varexp is 0 (or "") then print only first 8 columns. If varexp = "*" print all columns. Otherwise a columns selection can be made using "var1:var2:var3". See TTreePlayer::Scan for more information.
-- Set the global branch kAutoDelete bit. When LoadTree loads a new Tree, the branches for which the address is set will have the option AutoDelete set For more details on AutoDelete, see TBranch::SetAutoDelete.
-- Set branch address. bname is the name of a branch. add is the address of the branch. IMPORTANT REMARK: In case TChain::SetBranchStatus is called, it must be called BEFORE calling this function.
-- Check if bname is already in the status list, and if not, create a TChainElement object and set its address.
-- Check if bname is already in the status list, and if not, create a TChainElement object and set its address.
-- Set branch status to Process or DoNotProcess bname is the name of a branch. if bname="*", apply to all branches. status = 1 branch will be processed = 0 branch will not be processed See IMPORTANT REMARKS in TTree::SetBranchStatus and TChain::SetBranchAddress If found is not 0, the number of branch(es) found matching the regular expression is returned in *found AND the error message 'unknown branch' is suppressed.
Remove reference to this chain from current directory and add reference to new directory dir. dir can be 0 in which case the chain does not belong to any directory.
Enable/Disable PROOF processing on the current default Proof (gProof). "Draw" and "Processed" commands will be handled by the proof. The refresh and gettreeheader are meaningfull only if on == kTRUE. If refresh is kTRUE the underline fProofChain (chain proxy) is always rebuilt (even if already existing). If gettreeheader is kTRUE the header of the tree will be read from the PROOF cluster: this is only needed for browsing and should be used with care because it may take a long time to execute.
-- Set chain weight. The weight is used by TTree::Draw to automatically weight each selected entry in the resulting histogram. For example the equivalent of chain.Draw("x","w") is chain.SetWeight(w,"global"); chain.Draw("x"); By default the weight used will be the weight of each Tree in the TChain. However, one can force the individual weights to be ignored by specifying the option "global". In this case, the TChain global weight will be used for all Trees.
-- Dummy function kept for back compatibility. The cache is now activated automatically when processing TTrees/TChain.