| # Gaudi Framework, version v20r2
Generated: 18 Jul 2008

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Search for |

- File List
- File Members

# HbookDef.h File Reference

`#include <string>`

Include dependency graph for HbookDef.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Defines
#define | HBOOKCNVSVC_HBOOKDEF_H 1
#define | HBOOK_CALL_TYPE
#define | HROUT hrout_
#define | HDELET hdelet_
#define | HFILL hfill_
#define | HPAK hpak_
#define | HPAKE hpake_
#define | HFILL hfill_
#define | HPRINT hprint_
#define | HEXIST hexist_
#define | HRESET hreset_
#define | HPRNT hprnt_
#define | HFNTB hfntb_
#define | HFNT hfnt_
#define | HFN hfn_
#define | HGNT hgnt_
#define | HGN hgn_
#define | HGNF hgnf_
#define | HGNPAR hgnpar_
#define | HRIN hrin_
#define | NTUPLETYPE ntupletype_
#define | HREND hrend_
#define | F77CLOSE f77close_
#define | F77GETLUN f77getlun_
#define | HNOENT hnoent_
#define | HXYIJ hxyij_
#define | HIJXY hijxy_
#define | HX hx_
#define | HXE hxe_
#define | HI hi_
#define | HIX hix_
#define | HIE hie_
#define | HIJ hij_
#define | HIJE hije_
#define | HXY hxy_
#define | HKIND hkind_
#define | GETQUEST getquest_
#define | SETQUEST setquest_
## Enumerations
enum | DataTypePolicy { USE_DATA_TYPES, FLOAT_ONLY, FORTRAN_STYLE, HUNGARIAN_STYLE }
## Functions
long | dataTypePolicy ()
void | cleanForString (char *title, long len)
void | hbook1_ (const long &, const char *, const long &, const float &, const float &, const float &, int)
void | hbookb_ (const long &, const char *, const long &, const float *, const float &, int)
void | hbook2_ (const long &, const char *, const long &, const float &, const float &, const long &, const float &, const float &, const float &, int)
void | closehbook_ (const char *, const char *, int, int)
void | inithbook_ (const char *, const char *, const int &, const int &, const int &, int, int)
void | inithbooknf_ (const int &)
void | setmeanrms_ (const long &, const float &, const float &, const float &, const float &)
void | hidopt_ (const int &, const char *, int)
void | hgive_ (const int &, char *, int &, float &, float &, int &, float &, float &, int &, int &, int)
void | hunpak_ (const int &, float *, const char *, const int &, int)
void | hunpke_ (const int &, float *, const char *, const int &, int)
float | hstati_ (const int &, const int &, const char *, const int &, int)
int | getquest_ (const int &)
int | setquest_ (const int &, const int &)
void HBOOK_CALL_TYPE | HROUT (const long &, int *, const char *, int)
void HBOOK_CALL_TYPE | HDELET (const long &)
void HBOOK_CALL_TYPE | HFILL (const long &, const float &, const float &, const float &)
void HBOOK_CALL_TYPE | HPAK (const long &, const void *)
void HBOOK_CALL_TYPE | HPAKE (const long &, const void *)
void HBOOK_CALL_TYPE | F77CLOSE (const long &)
long HBOOK_CALL_TYPE | F77GETLUN ()
void HBOOK_CALL_TYPE | HPRINT (const long &id)
long HBOOK_CALL_TYPE | HEXIST (const long &id)
void HBOOK_CALL_TYPE | HPRNT (const long &id)
void HBOOK_CALL_TYPE | HFNTB (const long &id, const char *title, int)
void HBOOK_CALL_TYPE | HFNT (const long &id)
void HBOOK_CALL_TYPE | HFN (const long &id, const float *buffer)
void HBOOK_CALL_TYPE | HNOENT (const long &id, long &nument)
void HBOOK_CALL_TYPE | HRESET (const long &id, const char *title, int)
void HBOOK_CALL_TYPE | HRIN (const long &, const long &, const long &)
void HBOOK_CALL_TYPE | HGNT (const long &, const long &, long &)
void HBOOK_CALL_TYPE | HPRNTU (const long &)
void HBOOK_CALL_TYPE | HGNPAR (const long &, const char *, long)
void HBOOK_CALL_TYPE | HGNF (const long &, const long &, float *, long &)
void HBOOK_CALL_TYPE | HGN (const long &, long &, const long &, float *, long &)
void HBOOK_CALL_TYPE | HREND (const char *, int)
void HBOOK_CALL_TYPE | HKIND (const int &, long *, const char *, int)
long HBOOK_CALL_TYPE | NTUPLETYPE (const long &)
void HBOOK_CALL_TYPE | HIX (const long &, const long &, float &)
void HBOOK_CALL_TYPE | HXYIJ (const long &, const float &, const float &, long &, long &)
void HBOOK_CALL_TYPE | HIJXY (const long &, const long &, const long &, float &, float &)
float HBOOK_CALL_TYPE | HX (const long &, const float &)
float HBOOK_CALL_TYPE | HXE (const long &, const float &)
float HBOOK_CALL_TYPE | HXY (const long &, const float &, const float &)
float HBOOK_CALL_TYPE | HXYE (const long &, const float &, const float &)
float HBOOK_CALL_TYPE | HI (const long &, const long &)
float HBOOK_CALL_TYPE | HIE (const long &, const long &)
float HBOOK_CALL_TYPE | HIJ (const long &, const long &, const long &)
float HBOOK_CALL_TYPE | HIJE (const long &, const long &, const long &)
void | HLDIR (const std::string &a, const std::string &b=" ")
void | HCDIR (const std::string &a, const std::string &b=" ")
void | HMDIR (const std::string &a, const std::string &b=" ")
void | HBNAME (const long &id, const std::string &a, const void *opt, const std::string &b)
void | HROPEN (const long &lun, const std::string &a, const std::string &b, const std::string &c, long &i, long &j)
void | HLNEXT (long &id, std::string &a, std::string &b, const std::string &c)
long | RWNT_BOOK (const NTUPLEINFO &)
long | RWNT_INFO (NTUPLEINFO &)
long | CWNT_BOOK (const NTUPLEINFO &)
long | CWNT_INFO (NTUPLEINFO &)
void | HBOOK1 (int id, const std::string &t, int nx, float l, float h)
void | HBOOKB (int id, const std::string &t, int nx, float *l)
void | HBOOK2 (int id, const std::string &t, int nx, float l, float h, int ny, float x, float y)
void | CLOSE_HBOOK (const std::string &a, const std::string &b)
void | INIT_HBOOK (const std::string &a, const std::string &b, const int nw, const int nrec, const int recl)
void | INIT_HBOOK (const int nw)
void | SET_MEAN_RMS (long histoID, float mean, float rms, float sumOfHeights, float equivEntries)
void | HIDOPT (int id, const std::string &t)
void | HUNPAK (int id, float *buff, const std::string &opt, int nslice=0)
void | HUNPKE (int id, float *buff, const std::string &opt, int nslice=0)
void | HGIVE (int id, std::string &title, int &nx, float &xmi, float &xma, int &ny, float &ymi, float &yma, int &nwd, int &loc)
float | HSTATI (int id, int what, const std::string &opt, int nslice=0)

## Define Documentation

#define F77CLOSE f77close_

Definition at line 100 of file HbookDef.h.

Referenced by HbookCnv::HFileCnv::updateRep().

#define F77GETLUN f77getlun_

Definition at line 101 of file HbookDef.h.

Referenced by HbookCnv::HFileCnv::createObj().

#define GETQUEST getquest_

Definition at line 115 of file HbookDef.h.

#define HBOOK_CALL_TYPE

Definition at line 57 of file HbookDef.h.

#define HBOOKCNVSVC_HBOOKDEF_H 1

Definition at line 3 of file HbookDef.h.

#define HDELET hdelet_

Definition at line 81 of file HbookDef.h.

Referenced by HbookCnv::H2DCnv::updateObj(), HbookCnv::H1DCnv::updateObj(), and HbookCnv::HConverter::writeObject().

#define HEXIST hexist_

Definition at line 87 of file HbookDef.h.

Referenced by HbookCnv::HRWNTupleCnv::book(), HbookCnv::HCWNTupleCnv::book(), HbookCnv::HConverter::readObject(), HbookCnv::H2DCnv::updateObj(), HbookCnv::H1DCnv::updateObj(), and HbookCnv::HConverter::writeObject().

#define HFILL hfill_

Definition at line 85 of file HbookDef.h.

#define HFILL hfill_

Definition at line 85 of file HbookDef.h.

Referenced by HbookCnv::H2DCnv::updateRep(), and HbookCnv::H1DCnv::updateRep().

#define HFN hfn_

Definition at line 92 of file HbookDef.h.

Referenced by HbookCnv::HRWNTupleCnv::book(), and HbookCnv::HRWNTupleCnv::writeData().

#define HFNT hfnt_

Definition at line 91 of file HbookDef.h.

Referenced by HbookCnv::HCWNTupleCnv::writeData().

#define HFNTB hfntb_

Definition at line 90 of file HbookDef.h.

#define HGN hgn_

Definition at line 94 of file HbookDef.h.

Referenced by HbookCnv::HRWNTupleCnv::readData().

#define HGNF hgnf_

Definition at line 95 of file HbookDef.h.

Referenced by HbookCnv::HRWNTupleCnv::load().

#define HGNPAR hgnpar_

Definition at line 96 of file HbookDef.h.

Referenced by HbookCnv::HRWNTupleCnv::load().

#define HGNT hgnt_

Definition at line 93 of file HbookDef.h.

Referenced by HbookCnv::HCWNTupleCnv::readData().

#define HI hi_

Definition at line 107 of file HbookDef.h.

Referenced by HbookCnv::H1DCnv::updateObj().

#define HIE hie_

Definition at line 109 of file HbookDef.h.

Referenced by HbookCnv::H1DCnv::updateObj().

#define HIJ hij_

Definition at line 110 of file HbookDef.h.

Referenced by HbookCnv::H2DCnv::updateObj().

#define HIJE hije_

Definition at line 111 of file HbookDef.h.

Referenced by HbookCnv::H2DCnv::updateObj().

#define HIJXY hijxy_

Definition at line 104 of file HbookDef.h.

#define HIX hix_

Definition at line 108 of file HbookDef.h.

Referenced by HbookCnv::H1DCnv::createObj().

#define HKIND hkind_

Definition at line 113 of file HbookDef.h.

Referenced by HbookCnv::H1DCnv::createObj().

#define HNOENT hnoent_

Definition at line 102 of file HbookDef.h.

Referenced by HbookCnv::HRWNTupleCnv::readData().

#define HPAK hpak_

Definition at line 83 of file HbookDef.h.

#define HPAKE hpake_

Definition at line 84 of file HbookDef.h.

Referenced by HbookCnv::H2DCnv::updateRep(), and HbookCnv::H1DCnv::updateRep().

#define HPRINT hprint_

Definition at line 86 of file HbookDef.h.

Referenced by HbookCnv::HRWNTupleCnv::book(), HbookCnv::HCWNTupleCnv::book(), HbookCnv::HNTupleCnv::createObj(), and HbookCnv::HConverter::writeObject().

#define HPRNT hprnt_

Definition at line 89 of file HbookDef.h.

#define HREND hrend_

Definition at line 99 of file HbookDef.h.

Referenced by HbookCnv::HFileCnv::updateRep().

#define HRESET hreset_

Definition at line 88 of file HbookDef.h.

Referenced by HbookCnv::H2DCnv::updateRep().

#define HRIN hrin_

Definition at line 97 of file HbookDef.h.

Referenced by HbookCnv::HDirectoryCnv::fillObjRefs(), and HbookCnv::HConverter::readObject().

#define HROUT hrout_

Definition at line 80 of file HbookDef.h.

Referenced by HbookCnv::HConverter::writeObject().

#define HX hx_

Definition at line 105 of file HbookDef.h.

#define HXE hxe_

Definition at line 106 of file HbookDef.h.

#define HXY hxy_

Definition at line 112 of file HbookDef.h.

#define HXYIJ hxyij_

Definition at line 103 of file HbookDef.h.

#define NTUPLETYPE ntupletype_

Definition at line 98 of file HbookDef.h.

Referenced by HbookCnv::HDirectoryCnv::fillObjRefs().

#define SETQUEST setquest_

Definition at line 116 of file HbookDef.h.

Referenced by HbookCnv::HFileCnv::createObj().

## Enumeration Type Documentation

enum DataTypePolicy

Enumerator:

  USE_DATA_TYPES |
  FLOAT_ONLY |
  FORTRAN_STYLE |
  HUNGARIAN_STYLE |

Definition at line 20 of file HbookDef.h.

    00020 { USE_DATA_TYPES, FLOAT_ONLY, FORTRAN_STYLE, HUNGARIAN_STYLE };

## Function Documentation

void cleanForString | ( | char * | title,
|  | long | len |
| ) |  |  | `[inline]`

Definition at line 23 of file HbookDef.h.

Referenced by CWNT_INFO(), HGIVE(), and HLNEXT().

    00023                                                     {
    00024   for ( int i = len; i >= 0; i-- )    {
    00025     if ( title[i]==' ' || title[i] == 0 ) title[i] = 0;
    00026     else if ( title[i]!=' ' ) break;
    00027   }
    00028   title[len] = 0;
    00029 }

void CLOSE_HBOOK | ( | const std::string & | a,
|  | const std::string & | b |
| ) |  |  | `[inline]`

Definition at line 211 of file HbookDef.h.

References closehbook_(), std::basic_string< _CharT, _Traits, _Alloc >::data(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

Referenced by HbookCnv::PersSvc::finalize().

    00212 {  closehbook_(a.data(), b.data(), a.length(), b.length());                   }

void closehbook_ | ( | const char * | ,
|  | const char * | ,
|  | int | ,
|  | int |  |
| ) |  |  |

Referenced by CLOSE_HBOOK().

long CWNT_BOOK | ( | const NTUPLEINFO & |  | ) |

Definition at line 209 of file NTupleInterface.cpp.

References cwntbook_().

Referenced by HbookCnv::HCWNTupleCnv::book().

    00209                                      {
    00210   return cwntbook_(i.id, i.title, " ", strlen(i.title), 1);
    00211 }

long CWNT_INFO | ( | NTUPLEINFO & |  | ) |

Definition at line 213 of file NTupleInterface.cpp.

References cleanForString(), and cwntinfo_().

Referenced by HbookCnv::HCWNTupleCnv::load().

    00213                               {
    00214   long r = cwntinfo_(i.id,
    00215                      i.name,
    00216                      i.dim,
    00217                      i.theDim,
    00218                      i.hasIndex,
    00219                      i.index,
    00220                      i.type,
    00221                      i.size,
    00222                      i.hasRange,
    00223                      i.irange,
    00224                      i.frange,
    00225                      i.title,
    00226                      i.numVar,
    00227                      i.numEnt,
    00228                      i.block,
    00229                      sizeof(i.name[0]), sizeof(i.index[0]), 1,
    00230                      sizeof(i.title)-1,
    00231                      sizeof(i.block[0]),sizeof(i.index[0])
    00232                      );
    00233
    00234   // Clean up ntuple block names
    00235   for (long iv=0; iv<i.numVar; ++iv) {
    00236     std::string blk = i.block[iv];
    00237     blk = blk.substr(0,8);
    00238     int ibs;
    00239     if ( (ibs = blk.find(" ")) >= 0 ) {
    00240       blk = blk.substr(0,ibs);
    00241     }
    00242     strcpy(i.block[iv],blk.c_str());
    00243   }
    00244
    00245   cleanForString(i.title, sizeof(i.title)-1);
    00246   return r;
    00247 }

long dataTypePolicy | ( |  | ) |

Definition at line 36 of file PersSvc.cpp.

References s_dataTypePolicy.

Referenced by HbookCnv::HRWNTupleCnv::book(), HbookCnv::HRWNTupleCnv::load(), and HbookCnv::HRWNTupleCnv::readData().

    00036                         {
    00037   return s_dataTypePolicy;
    00038 }

void HBOOK_CALL_TYPE F77CLOSE | ( | const long & |  | ) |

long HBOOK_CALL_TYPE F77GETLUN | ( |  | ) |

int getquest_ | ( | const int & |  | ) |

void HBNAME | ( | const long & | id,
|  | const std::string & | a,
|  | const void * | opt,
|  | const std::string & | b |
| ) |  |  |

Definition at line 268 of file NTupleInterface.cpp.

References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), hbname_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

Referenced by HbookCnv::HCWNTupleCnv::declare(), and HbookCnv::HCWNTupleCnv::load().

    00268                                                                                       {
    00269   hbname_(id, a.c_str(), opt, b.c_str(), a.length(), b.length());
    00270 }

void HBOOK1 | ( | int | id,
|  | const std::string & | t,
|  | int | nx,
|  | float | l,
|  | float | h |
| ) |  |  | `[inline]`

Definition at line 205 of file HbookDef.h.

References std::basic_string< _CharT, _Traits, _Alloc >::data(), hbook1_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

Referenced by HbookCnv::H1DCnv::book().

    00206 {  hbook1_(id, t.data(), nx, l, h, 0.0, t.length());                          }

void hbook1_ | ( | const long & | ,
|  | const char * | ,
|  | const long & | ,
|  | const float & | ,
|  | const float & | ,
|  | const float & | ,
|  | int |  |
| ) |  |  |

Referenced by HBOOK1().

void HBOOK2 | ( | int | id,
|  | const std::string & | t,
|  | int | nx,
|  | float | l,
|  | float | h,
|  | int | ny,
|  | float | x,
|  | float | y |
| ) |  |  | `[inline]`

Definition at line 209 of file HbookDef.h.

References std::basic_string< _CharT, _Traits, _Alloc >::data(), hbook2_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

Referenced by HbookCnv::H2DCnv::book().

    00210 {  hbook2_(id, t.data(), nx, l, h, ny, x, y, 0.0, t.length());                }

void hbook2_ | ( | const long & | ,
|  | const char * | ,
|  | const long & | ,
|  | const float & | ,
|  | const float & | ,
|  | const long & | ,
|  | const float & | ,
|  | const float & | ,
|  | const float & | ,
|  | int |  |
| ) |  |  |

Referenced by HBOOK2().

void HBOOKB | ( | int | id,
|  | const std::string & | t,
|  | int | nx,
|  | float * | l |
| ) |  |  | `[inline]`

Definition at line 207 of file HbookDef.h.

References std::basic_string< _CharT, _Traits, _Alloc >::data(), hbookb_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

Referenced by HbookCnv::H1DCnv::book().

    00208 {  hbookb_(id, t.data(), nx, l, 0.0, t.length());                             }

void hbookb_ | ( | const long & | ,
|  | const char * | ,
|  | const long & | ,
|  | const float * | ,
|  | const float & | ,
|  | int |  |
| ) |  |  |

Referenced by HBOOKB().

void HCDIR | ( | const std::string & | a,
|  | const std::string & | b = `" "` |
| ) |  |  |

Definition at line 259 of file NTupleInterface.cpp.

References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), hcdir_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

Referenced by HbookCnv::HConverter::createSubDirs(), HbookCnv::HDirectoryCnv::fillObjRefs(), HbookCnv::HConverter::setDirectory(), and HbookCnv::HConverter::setDiskDirectory().

    00259                                                      {
    00260   hcdir_(a.c_str(), b.c_str(), a.length(), b.length());
    00261 }

void HBOOK_CALL_TYPE HDELET | ( | const long & |  | ) |

long HBOOK_CALL_TYPE HEXIST | ( | const long & | id | ) |

void HBOOK_CALL_TYPE HFILL | ( | const long & | ,
|  | const float & | ,
|  | const float & | ,
|  | const float & |  |
| ) |  |  |

void HBOOK_CALL_TYPE HFN | ( | const long & | id,
|  | const float * | buffer |
| ) |  |  |

void HBOOK_CALL_TYPE HFNT | ( | const long & | id | ) |

void HBOOK_CALL_TYPE HFNTB | ( | const long & | id,
|  | const char * | title,
|  | int |  |
| ) |  |  |

void HGIVE | ( | int | id,
|  | std::string & | title,
|  | int & | nx,
|  | float & | xmi,
|  | float & | xma,
|  | int & | ny,
|  | float & | ymi,
|  | float & | yma,
|  | int & | nwd,
|  | int & | loc |
| ) |  |  | `[inline]`

Definition at line 226 of file HbookDef.h.

References cleanForString(), and hgive_().

Referenced by HbookCnv::H2DCnv::createObj(), and HbookCnv::H1DCnv::createObj().

    00229                                           {
    00230   char tit[80];
    00231   hgive_(id, tit, nx, xmi, xma, ny, ymi, yma, nwd, loc, sizeof(tit));
    00232   cleanForString(tit, sizeof(tit)-1);
    00233   title = tit;
    00234 }

void hgive_ | ( | const int & | ,
|  | char * | ,
|  | int & | ,
|  | float & | ,
|  | float & | ,
|  | int & | ,
|  | float & | ,
|  | float & | ,
|  | int & | ,
|  | int & | ,
|  | int |  |
| ) |  |  |

Referenced by HGIVE().

void HBOOK_CALL_TYPE HGN | ( | const long & | ,
|  | long & | ,
|  | const long & | ,
|  | float * | ,
|  | long & |  |
| ) |  |  |

void HBOOK_CALL_TYPE HGNF | ( | const long & | ,
|  | const long & | ,
|  | float * | ,
|  | long & |  |
| ) |  |  |

void HBOOK_CALL_TYPE HGNPAR | ( | const long & | ,
|  | const char * | ,
|  | long |  |
| ) |  |  |

void HBOOK_CALL_TYPE HGNT | ( | const long & | ,
|  | const long & | ,
|  | long & |  |
| ) |  |  |

float HBOOK_CALL_TYPE HI | ( | const long & | ,
|  | const long & |  |
| ) |  |  |

void HIDOPT | ( | int | id,
|  | const std::string & | t |
| ) |  |  | `[inline]`

Definition at line 220 of file HbookDef.h.

References std::basic_string< _CharT, _Traits, _Alloc >::data(), hidopt_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

Referenced by HbookCnv::H2DCnv::book(), and HbookCnv::H1DCnv::book().

    00221 {  hidopt_(id, t.data(), t.length());                                         }

void hidopt_ | ( | const int & | ,
|  | const char * | ,
|  | int |  |
| ) |  |  |

Referenced by HIDOPT().

float HBOOK_CALL_TYPE HIE | ( | const long & | ,
|  | const long & |  |
| ) |  |  |

float HBOOK_CALL_TYPE HIJ | ( | const long & | ,
|  | const long & | ,
|  | const long & |  |
| ) |  |  |

float HBOOK_CALL_TYPE HIJE | ( | const long & | ,
|  | const long & | ,
|  | const long & |  |
| ) |  |  |

void HBOOK_CALL_TYPE HIJXY | ( | const long & | ,
|  | const long & | ,
|  | const long & | ,
|  | float & | ,
|  | float & |  |
| ) |  |  |

void HBOOK_CALL_TYPE HIX | ( | const long & | ,
|  | const long & | ,
|  | float & |  |
| ) |  |  |

void HBOOK_CALL_TYPE HKIND | ( | const int & | ,
|  | long * | ,
|  | const char * | ,
|  | int |  |
| ) |  |  |

void HLDIR | ( | const std::string & | a,
|  | const std::string & | b = `" "` |
| ) |  |  |

Definition at line 262 of file NTupleInterface.cpp.

References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), hldir_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

    00262                                                      {
    00263   hldir_(a.c_str(), b.c_str(), a.length(), b.length());
    00264 }

void HLNEXT | ( | long & | id,
|  | std::string & | a,
|  | std::string & | b,
|  | const std::string & | c |
| ) |  |  |

Definition at line 249 of file NTupleInterface.cpp.

References c, cleanForString(), and hlnext_().

Referenced by HbookCnv::HConverter::createSubDirs(), and HbookCnv::HDirectoryCnv::fillObjRefs().

    00249                                                                       {
    00250   char buff[256], typ[2] = {0,0};
    00251   memset(buff,0,sizeof(buff));
    00252   hlnext_(id, typ, buff, c.c_str(), sizeof(typ)-1, sizeof(buff), c.length());
    00253   buff[sizeof(buff)-1] = 0;
    00254   cleanForString(buff, sizeof(buff)-1);
    00255   b = buff;
    00256   a = typ;
    00257 }

void HMDIR | ( | const std::string & | a,
|  | const std::string & | b = `" "` |
| ) |  |  |

Definition at line 265 of file NTupleInterface.cpp.

References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), hmdir_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

Referenced by HbookCnv::HConverter::createSubDirs(), and HbookCnv::HDirectoryCnv::fillObjRefs().

    00265                                                      {
    00266   hmdir_(a.c_str(), b.c_str(), a.length(), b.length());
    00267 }

void HBOOK_CALL_TYPE HNOENT | ( | const long & | id,
|  | long & | nument |
| ) |  |  |

void HBOOK_CALL_TYPE HPAK | ( | const long & | ,
|  | const void * |  |
| ) |  |  |

void HBOOK_CALL_TYPE HPAKE | ( | const long & | ,
|  | const void * |  |
| ) |  |  |

void HBOOK_CALL_TYPE HPRINT | ( | const long & | id | ) |

void HBOOK_CALL_TYPE HPRNT | ( | const long & | id | ) |

void HBOOK_CALL_TYPE HPRNTU | ( | const long & |  | ) |

void HBOOK_CALL_TYPE HREND | ( | const char * | ,
|  | int |  |
| ) |  |  |

void HBOOK_CALL_TYPE HRESET | ( | const long & | id,
|  | const char * | title,
|  | int |  |
| ) |  |  |

void HBOOK_CALL_TYPE HRIN | ( | const long & | ,
|  | const long & | ,
|  | const long & |  |
| ) |  |  |

void HROPEN | ( | const long & | lun,
|  | const std::string & | a,
|  | const std::string & | b,
|  | const std::string & | c,
|  | long & | i,
|  | long & | j |
| ) |  |  |

Definition at line 271 of file NTupleInterface.cpp.

References c, std::basic_string< _CharT, _Traits, _Alloc >::c_str(), hropen_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

Referenced by HbookCnv::HFileCnv::createObj().

    00271                                                                                                            {
    00272   hropen_(lun, a.c_str(), b.c_str(), c.c_str(), i, j, a.length(), b.length(), c.length());
    00273 }

void HBOOK_CALL_TYPE HROUT | ( | const long & | ,
|  | int * | ,
|  | const char * | ,
|  | int |  |
| ) |  |  |

float HSTATI | ( | int | id,
|  | int | what,
|  | const std::string & | opt,
|  | int | nslice = `0` |
| ) |  |  | `[inline]`

Definition at line 235 of file HbookDef.h.

References std::basic_string< _CharT, _Traits, _Alloc >::data(), hstati_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

Referenced by HbookCnv::H1DCnv::updateObj().

    00236 {  return hstati_(id, what, opt.data(), nslice, opt.length());                 }

float hstati_ | ( | const int & | ,
|  | const int & | ,
|  | const char * | ,
|  | const int & | ,
|  | int |  |
| ) |  |  |

Referenced by HSTATI().

void HUNPAK | ( | int | id,
|  | float * | buff,
|  | const std::string & | opt,
|  | int | nslice = `0` |
| ) |  |  | `[inline]`

Definition at line 222 of file HbookDef.h.

References std::basic_string< _CharT, _Traits, _Alloc >::data(), hunpak_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

    00223 {  hunpak_(id, buff, opt.data(), nslice, opt.length());                       }

void hunpak_ | ( | const int & | ,
|  | float * | ,
|  | const char * | ,
|  | const int & | ,
|  | int |  |
| ) |  |  |

Referenced by HUNPAK().

void HUNPKE | ( | int | id,
|  | float * | buff,
|  | const std::string & | opt,
|  | int | nslice = `0` |
| ) |  |  | `[inline]`

Definition at line 224 of file HbookDef.h.

References std::basic_string< _CharT, _Traits, _Alloc >::data(), hunpke_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

    00225 {  hunpke_(id, buff, opt.data(), nslice, opt.length());                       }

void hunpke_ | ( | const int & | ,
|  | float * | ,
|  | const char * | ,
|  | const int & | ,
|  | int |  |
| ) |  |  |

Referenced by HUNPKE().

float HBOOK_CALL_TYPE HX | ( | const long & | ,
|  | const float & |  |
| ) |  |  |

float HBOOK_CALL_TYPE HXE | ( | const long & | ,
|  | const float & |  |
| ) |  |  |

float HBOOK_CALL_TYPE HXY | ( | const long & | ,
|  | const float & | ,
|  | const float & |  |
| ) |  |  |

float HBOOK_CALL_TYPE HXYE | ( | const long & | ,
|  | const float & | ,
|  | const float & |  |
| ) |  |  |

void HBOOK_CALL_TYPE HXYIJ | ( | const long & | ,
|  | const float & | ,
|  | const float & | ,
|  | long & | ,
|  | long & |  |
| ) |  |  |

void INIT_HBOOK | ( | const int | nw | ) | `[inline]`

Definition at line 216 of file HbookDef.h.

References inithbooknf_().

    00217 {  inithbooknf_(nw);                                                          }

void INIT_HBOOK | ( | const std::string & | a,
|  | const std::string & | b,
|  | const int | nw,
|  | const int | nrec,
|  | const int | recl |
| ) |  |  | `[inline]`

Definition at line 213 of file HbookDef.h.

References std::basic_string< _CharT, _Traits, _Alloc >::data(), inithbook_(), and std::basic_string< _CharT, _Traits, _Alloc >::length().

Referenced by HbookCnv::HFileCnv::createObj(), and HbookCnv::PersSvc::initialize().

    00215 {  inithbook_(a.data(), b.data(), nw, nrec, recl, a.length(), b.length());    }

void inithbook_ | ( | const char * | ,
|  | const char * | ,
|  | const int & | ,
|  | const int & | ,
|  | const int & | ,
|  | int | ,
|  | int |  |
| ) |  |  |

Referenced by INIT_HBOOK().

void inithbooknf_ | ( | const int & |  | ) |

Referenced by INIT_HBOOK().

long HBOOK_CALL_TYPE NTUPLETYPE | ( | const long & |  | ) |

long RWNT_BOOK | ( | const NTUPLEINFO & |  | ) |

Definition at line 182 of file NTupleInterface.cpp.

References rwntbook_().

Referenced by HbookCnv::HRWNTupleCnv::book().

    00182                                      {
    00183   return rwntbook_(i.id,
    00184        i.numVar,
    00185        i.name,
    00186        i.rzdir,
    00187        i.title,
    00188        sizeof(i.name[0]), strlen(i.rzdir), strlen(i.title));
    00189 }

long RWNT_INFO | ( | NTUPLEINFO & |  | ) |

Definition at line 191 of file NTupleInterface.cpp.

References rwntinfo_().

Referenced by HbookCnv::HRWNTupleCnv::load().

    00191                               {
    00192   long r = rwntinfo_(i.id,
    00193          i.numVar,
    00194          i.numEnt,
    00195          i.name,
    00196          i.frange,
    00197          i.title,
    00198          sizeof(i.name[0]), sizeof(i.title));
    00199   for ( long j = 0; j < i.numVar; j++ )   {
    00200     i.size[j] = sizeof(float)*CHAR_BIT;
    00201     i.dim[j] = 0;
    00202     i.hasRange[j] = 0;
    00203     i.hasIndex[j] = 0;
    00204   }
    00205   memset(i.block,0,sizeof(i.block));
    00206   return r;
    00207 }

void SET_MEAN_RMS | ( | long | histoID,
|  | float | mean,
|  | float | rms,
|  | float | sumOfHeights,
|  | float | equivEntries |
| ) |  |  | `[inline]`

Definition at line 218 of file HbookDef.h.

References setmeanrms_().

Referenced by HbookCnv::H1DCnv::updateRep().

    00219 {  setmeanrms_(histoID, mean, rms, sumOfHeights, equivEntries);               }

void setmeanrms_ | ( | const long & | ,
|  | const float & | ,
|  | const float & | ,
|  | const float & | ,
|  | const float & |  |
| ) |  |  |

Referenced by SET_MEAN_RMS().

int setquest_ | ( | const int & | ,
|  | const int & |  |
| ) |  |  |