// $Header: /cvs/gled-1.2/GledCore/Stones/ZHistoGroup.h,v 1.3 2005/03/11 17:50:16 matevz Exp $ // Copyright (C) 1999-2005, 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_ZHistoGroup_H #define GLED_ZHistoGroup_H #include #include class TH1; #include #ifndef __CINT__ typedef vector vppHisto_t; typedef vector::iterator vppHisto_i; #endif class ZHistoGroup { protected: TDirectory* mDir; // X{g} #ifndef __CINT__ vppHisto_t mHistos; #endif public: ZHistoGroup(const Text_t* name, const Text_t* title); virtual ~ZHistoGroup() {} void AddHisto(TH1** p); void ResetHistos(); void cd() { mDir->cd(); } #include "ZHistoGroup.h7" ClassDef(ZHistoGroup, 0) }; // endclass ZHistoGroup // Here I declare callbacks for Draw, Reset ... should be somewhere else // Perhaps namespace HistoFoo ?? ... better void HistoDraw_cb(void* w, TObject* histo); void HistoReset_cb(void* w, TObject* histo); #endif