/usr/include/root/TNtupleD.h is in libroot-tree-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | // @(#)root/tree:$Id$
// Author: Rene Brun 06/04/96
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TNtupleD
#define ROOT_TNtupleD
//////////////////////////////////////////////////////////////////////////
// //
// TNtupleD //
// //
// A simple tree with branches of doubles. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TTree
#include "TTree.h"
#endif
class TBrowser;
class TNtupleD : public TTree {
protected:
Int_t fNvar; // Number of columns
Double_t *fArgs; //! [fNvar] Array of variables
virtual Int_t Fill();
private:
TNtupleD(const TNtupleD&); // not implemented
TNtupleD& operator=(const TNtupleD&); // not implemented
public:
TNtupleD();
TNtupleD(const char *name,const char *title, const char *varlist, Int_t bufsize=32000);
virtual ~TNtupleD();
virtual void Browse(TBrowser *b);
virtual Int_t Fill(const Double_t *x);
virtual Int_t Fill(Double_t x0, Double_t x1, Double_t x2=0, Double_t x3=0,
Double_t x4=0, Double_t x5=0, Double_t x6=0, Double_t x7=0,
Double_t x8=0, Double_t x9=0, Double_t x10=0,
Double_t x11=0, Double_t x12=0, Double_t x13=0,
Double_t x14=0);
virtual Int_t GetNvar() const { return fNvar; }
Double_t *GetArgs() const { return fArgs; }
virtual Long64_t ReadStream(istream& inputstream, const char *branchDescriptor="", char delimiter = ' ');
virtual void ResetBranchAddress(TBranch *);
void ResetBranchAddresses();
ClassDef(TNtupleD,1) //A simple tree with branches of floats.
};
#endif
|