class HepFileManager

Generic manager of a group of histograms and ntuples.

Pure Virtual Base Class.

Instantiating a manager both sets up an organized collection of histograms and Ntuples, and associates an underlying implementation that does the work of filling and storing them.

While the user would not instantiate a generic HepFileManager, the basic methods for each type of activity are present in this base class. These include:

Constructors
Navigating the Internal Hierarchy
Creating Histograms and Ntuples
Referencing existing Histograms and Ntuples
Dealing with Data for Multiple Collections

It is also valid to open a HepTuple file of arbitrary type of manager, receiving a pointer to the base class HepFileManager* by calling newManager. Since this base class contains the basic methods for each type of activity, a progam can treat the various types of files the without specific code for each type.


#include "HepTuple/HepFileManager.h"

For backward compatibility, TupleManager.h is also provided.


Constructors


Navigating the Internal Hierarchy


Creating Histograms and Ntuples

Copying and Cloning

Create a object of that a clone or copy of the argument in the current directory. A Copy in an exact replication of the argument. A clone is an object of the same type and characteristic (e.g number of bins) but without any data entered.

Clone all the objects in the current (specified) directory of the original manager. options are the same as for list and ls ("r" for recursive copy. Cloned items have the same title and id as the originals.

Referencing existing Histograms and Ntuples


Dealing with Data for Multiple Collections

Most operations on histograms and Ntuples are invoked from the histogram or Ntuple objects themselves. Some operations may be invoked through the manager, applying to multiple such objects.

With release 1.7.5 in March of 2001, functionality was added to combine multiple collections of HepHistogram objects. For details, see the separate note.

Writing (flushing) Multiple Histograms and Ntuples

Accumulating or Clearing Multiple Ntuples