48 #ifndef GW_HISTOCONVERTER_H
94 std::map <const char *, HistoConverter *> fConnections;
120 virtual void SetMode(Option_t *) ;
122 virtual void SetMode(
const char *, Option_t *) ;
128 virtual TH1 *
Get(
int i);
134 virtual TH1 *
Get(
const char *name);
138 virtual bool Write(
const TH1 &);
140 virtual bool Write(
const TH2 &);
185 virtual void ls(Option_t *opt =
"cdb") ;
195 void AddFileExt(
const char* type,
const char* ext);
198 void AddOption(
const char* type, Option_t* opt,
const char* mode =
"reset");
virtual HistoDB & operator>>(TH1 &)
to read an histogram from the current Histo DB service
virtual void ls(Option_t *opt="cdb")
to list the current configuration
virtual void SetStatus(HistoDB::EStatus status=kGood)
modify the status flag for the HistoDB stream
void MakeConverter(const char *classname) const
Use it if you want to extend the DB types handled.
ClassDef(HistoDB, 0)
rootcint dictionary
void AddOption(const char *type, Option_t *opt, const char *mode="reset")
add option
virtual HistoConverter * Open(const char *, const char *)
to open a new DB service
header file for the HistoDB facility
void SetVerboseLevel(const int)
virtual HistoDB & operator<<(const TH1 &)
to write an histogram in the current Histo DB service
virtual bool IsStatus(HistoDB::EStatus status)
to get the current status flag for the HistoDB stream
virtual void SetCurrent(const char *)
change the current service. It uses the alias defined in open
void AddFileExt(const char *type, const char *ext)
add file extension
virtual bool Write(const TH1 &)
to write a TH1 histogram in the current Histo DB service
Service to read/write ROOT histograms from/to different DB systems.
virtual TH1 * Get(int i)
to get histo number i of the current DB
virtual void SetMode(Option_t *)
to change the mode (overwrite/version) of the current DB service