#ifndef HNTUPLE_H
#define HNTUPLE_H
#include "TROOT.h"
#include "TNtuple.h"
#include <string>
#include <utility>
#include <iterator>
#include <map>
class HNtuple: public TObject
{
public:
HNtuple();
HNtuple(const Char_t* name, const Char_t* title, Int_t bufsize = 32000);
HNtuple(const Char_t* name, const Char_t* title, const Char_t* varlist, Int_t bufsize = 32000);
virtual ~HNtuple();
Int_t Write(const Char_t* name, Int_t option, Int_t bufsize);
Float_t& operator[](const std::string& key);
const Float_t& operator[](const std::string& key) const;
Int_t fill();
Bool_t setDefaults(Float_t ii = 0.);
protected:
HNtuple& operator=(const HNtuple& src) const;
void setMap(const Char_t* vlist, Bool_t& kPair);
const Char_t* name;
const Char_t* title;
Int_t bufsize;
TNtuple *ptrNt;
Bool_t isNtuple;
Int_t varArrayN;
Float_t *varArray;
std::string varList;
std::map<std::string, Float_t> vKeyValue;
std::map<std::string, Int_t> vKeyOrder;
std::map<std::string, Float_t>::iterator mIter;
ClassDef(HNtuple, 1)
};
#endif /*!HNTUPLE_H*/
Last change: Sat May 22 13:04:48 2010
Last generated: 2010-05-22 13:04
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.