File indexing completed on 2025-01-18 10:12:18
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TNtupleD
0013 #define ROOT_TNtupleD
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #include "TTree.h"
0025
0026 class TBrowser;
0027
0028 class TNtupleD : public TTree {
0029
0030 protected:
0031 Int_t fNvar;
0032 Double_t *fArgs;
0033
0034 Int_t Fill() override;
0035
0036 private:
0037 TNtupleD(const TNtupleD&) = delete;
0038 TNtupleD& operator=(const TNtupleD&) = delete;
0039
0040 public:
0041 TNtupleD();
0042 TNtupleD(const char *name,const char *title, const char *varlist, Int_t bufsize=32000);
0043 ~TNtupleD() override;
0044
0045 void Browse(TBrowser *b) override;
0046 virtual Int_t Fill(const Double_t *x);
0047 virtual Int_t Fill(Double_t x0, Double_t x1, Double_t x2=0, Double_t x3=0,
0048 Double_t x4=0, Double_t x5=0, Double_t x6=0, Double_t x7=0,
0049 Double_t x8=0, Double_t x9=0, Double_t x10=0,
0050 Double_t x11=0, Double_t x12=0, Double_t x13=0,
0051 Double_t x14=0);
0052 virtual Int_t GetNvar() const { return fNvar; }
0053 Double_t *GetArgs() const { return fArgs; }
0054 Long64_t ReadStream(std::istream& inputstream, const char *branchDescriptor="", char delimiter = ' ') override;
0055 void ResetBranchAddress(TBranch *) override;
0056 void ResetBranchAddresses() override;
0057
0058 ClassDefOverride(TNtupleD,1)
0059 };
0060
0061 #endif