75 Int_t nch = strlen(varlist);
77 char *vars =
new char[nch+1];
78 strlcpy(vars,varlist,nch+1);
92 for (i=0;i<
fNvar;i++) {
261 b.CheckByteCount(R__s, R__c, TNtuple::IsA());
264 if (
fNvar <= 0)
return;
static const double x2[5]
static const double x4[22]
static const double x1[5]
static const double x3[11]
A TTree is a list of TBranches.
virtual void SetAddress(void *add)
Set address of this branch.
Using a TBrowser one can browse all ROOT objects.
Buffer base class used for serializing objects.
void Browse(TBrowser *b)
Browse this collection (called by TBrowser).
A simple TTree restricted to a list of float variables only.
virtual void ResetBranchAddress(TBranch *)
Reset the branch addresses to the internal fArgs array.
virtual Long64_t ReadStream(std::istream &inputStream, const char *branchDescriptor="", char delimiter=' ')
Read from filename as many columns as variables in the ntuple the function returns the number of rows...
Int_t fNvar
Number of columns.
virtual Int_t Fill()
Fill a Ntuple with current values in fArgs.
void ResetBranchAddresses()
Reset the branch addresses to the internal fArgs array.
TNtuple()
Default constructor for Ntuple.
virtual void Browse(TBrowser *b)
Browse content of the ntuple.
virtual ~TNtuple()
Default destructor for an Ntuple.
virtual TTree * CloneTree(Long64_t nentries=-1, Option_t *option="")
Create a clone of this tree and copy nentries.
Float_t * fArgs
! [fNvar] Array of variables
Int_t IndexOf(const TObject *obj) const
Int_t GetEntries() const
Return the number of objects in array (i.e.
TObject * UncheckedAt(Int_t i) const
A TTree represents a columnar dataset.
virtual Int_t Fill()
Fill all branches.
TObjArray fBranches
List of Branches.
virtual TTree * CloneTree(Long64_t nentries=-1, Option_t *option="")
Create a clone of this tree and copy nentries.
TObjArray fLeaves
Direct pointers to individual branch leaves.
TBranch * Branch(const char *name, T *obj, Int_t bufsize=32000, Int_t splitlevel=99)
Add a new branch, and infer the data type from the type of obj being passed.
template Long64_t FillNtupleFromStream< Float_t, TNtuple >(std::istream &, TNtuple &, char, bool)