

This function transfroms the given TEventList into a TEntryList. SetEntryListFile (const char * filename="", Option_t *opt="") Set the input entry list (processing the entries of the chain will then be limited to the entries in the list). SetEntryList ( TEntryList *elist, Option_t *opt="") Remove reference to this chain from current directory and add reference to new directory dir. Set branch status to Process or DoNotProcess. SetBranchStatus (const char *bname, Bool_t status=1, UInt_t *found=nullptr) SetBranchAddress (const char *bname, void *add, TClass *realClass, EDataType datatype, Bool_t isptr) SetBranchAddress (const char *bname, void *add, TBranch **ptr=nullptr) SetBranchAddress (const char *bname, void *add, TBranch **ptr, TClass *realClass, EDataType datatype, Bool_t isptr)Ĭheck if bname is already in the status list, and if not, create a TChainElement object and set its address. SetBranchAddress (const char *bname, T *add, TBranch **ptr=nullptr) SetBranchAddress (const char *bname, T **add, TBranch **ptr=nullptr) Use TChain::SetBranchStatus to activate one or more branches for all the trees in the chain. Once a chain is defined, one can use the normal TTree functions to Draw,Scan,etc. When the chain is created, the first parameter is the default name for the Tree to be processed later on.Įnter a new element in the chain via the TChain::Add function. A chain is a collection of files containing TTree objects.
