#ifndef ROOT_TNtuple
#define ROOT_TNtuple
#ifndef ROOT_TTree
#include "TTree.h"
#endif
class TBrowser;
class TNtuple : public TTree {
protected:
Int_t fNvar;
Float_t *fArgs;
virtual Int_t Fill();
private:
TNtuple(const TNtuple&);
TNtuple& operator=(const TNtuple&);
public:
TNtuple();
TNtuple(const char *name,const char *title, const char *varlist, Int_t bufsize=32000);
virtual ~TNtuple();
virtual void Browse(TBrowser *b);
virtual Int_t Fill(const Float_t *x);
Int_t Fill(Int_t x0) { return Fill((Float_t)x0); }
Int_t Fill(Double_t x0) { return Fill((Float_t)x0); }
virtual Int_t Fill(Float_t x0, Float_t x1=0, Float_t x2=0, Float_t x3=0,
Float_t x4=0, Float_t x5=0, Float_t x6=0, Float_t x7=0,
Float_t x8=0, Float_t x9=0, Float_t x10=0,
Float_t x11=0, Float_t x12=0, Float_t x13=0,
Float_t x14=0);
virtual Int_t GetNvar() const { return fNvar; }
Float_t *GetArgs() const { return fArgs; }
virtual Long64_t ReadFile(const char *filename, const char *branchDescriptor="");
virtual void ResetBranchAddress(TBranch *);
void ResetBranchAddresses();
ClassDef(TNtuple,2);
};
#endif
Last change: Wed Jun 25 08:49:54 2008
Last generated: 2008-06-25 08:49
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.