ROOT logo
// $Id: ZHistoManager.h 2088 2008-11-23 20:26:46Z matevz $

// Copyright (C) 1999-2008, Matevz Tadel. All rights reserved.
// This file is part of GLED, released under GNU General Public License version 2.
// For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/.

#ifndef GLED_ZHistoManager_H
#define GLED_ZHistoManager_H

#include <Gled/GledTypes.h>
#include <Stones/ZHistoDir.h>
#include <Stones/ZHisto.h>
#include <TFile.h>

#ifndef __CINT__
typedef map<ZHisto*, ZHistoDir*>		mHisto2ZHistoDir_t;
typedef map<ZHisto*, ZHistoDir*>::iterator	mHisto2ZHistoDir_i;
#endif

// ?? Should subclass SaturnService

class ZHistoManager : public TFile {
private:
#ifndef __CINT__
  mHisto2ZHistoDir_t	mHisto2HistoDir;
#endif

public:
  ZHistoManager(const char* fname, Option_t* option="",
		const char* ftitle="", Int_t compress = 1);
  virtual ~ZHistoManager();

  void RegisterGroup(ZHisto *n, const Text_t* group);

  ZHistoDir*   GetDir(ZHisto* n);
  ZHistoGroup* GetGroup(ZHisto* n, const Text_t* group);

#include "ZHistoManager.h7"
  ClassDef(ZHistoManager, 0);
}; // endclass ZHistoManager

#endif
 ZHistoManager.h:1
 ZHistoManager.h:2
 ZHistoManager.h:3
 ZHistoManager.h:4
 ZHistoManager.h:5
 ZHistoManager.h:6
 ZHistoManager.h:7
 ZHistoManager.h:8
 ZHistoManager.h:9
 ZHistoManager.h:10
 ZHistoManager.h:11
 ZHistoManager.h:12
 ZHistoManager.h:13
 ZHistoManager.h:14
 ZHistoManager.h:15
 ZHistoManager.h:16
 ZHistoManager.h:17
 ZHistoManager.h:18
 ZHistoManager.h:19
 ZHistoManager.h:20
 ZHistoManager.h:21
 ZHistoManager.h:22
 ZHistoManager.h:23
 ZHistoManager.h:24
 ZHistoManager.h:25
 ZHistoManager.h:26
 ZHistoManager.h:27
 ZHistoManager.h:28
 ZHistoManager.h:29
 ZHistoManager.h:30
 ZHistoManager.h:31
 ZHistoManager.h:32
 ZHistoManager.h:33
 ZHistoManager.h:34
 ZHistoManager.h:35
 ZHistoManager.h:36
 ZHistoManager.h:37
 ZHistoManager.h:38
 ZHistoManager.h:39
 ZHistoManager.h:40
 ZHistoManager.h:41
 ZHistoManager.h:42