// $Id: BrModuleContainer.h,v 1.2 1998/04/06 21:11:49 videbaek Exp $ // // $Log: BrModuleContainer.h,v $ // Revision 1.2 1998/04/06 21:11:49 videbaek // Clean up and additions for Win95 // // #ifndef __BRMODULECONTAINER #define __BRMODULECONTAINER /////////////////////////////////////////////////////////// // // BRModuleContainer // // BRAHMS Container Class for Analysis Modules // // A standard Physics analysis Module should be derived from // this base class. This ensure that the general framework // is capable of accessing these in a common and general way. // The methods (member functions) consists of a general set for // all modules; but the user if free to add specific ones for // specific needs. Ideas for this has been taken from both the // PHOBOS tool set as well as from the BABAR framework. The initial version // is derived from the ROOT base classes, // // Author : Flemming Videbaek // Created: 27/12/97 // Version: 1.0 // /////////////////////////////////////////////////////////// // ROOT classes #include "TNamed.h" #include "TObjArray.h" // System and ROOT include files // #include // BRAHMS classes // class BrModule; class BrEventNode; class BrModuleContainer : public TNamed { private: TObjArray* fModuleList ; // List of Analysis Modules Int_t fVerbose; // Option flag public: // constructors & descructors BrModuleContainer(); BrModuleContainer(Char_t *name, Char_t *title); ~BrModuleContainer(); virtual void SetVerbose(Int_t Verbose); virtual Int_t AddModule(BrModule* Module); virtual void ListModules(); virtual void Begin(){}; virtual void Event(BrEventNode* indat, BrEventNode* outdat); virtual void Event(); virtual void End(){}; ClassDef(BrModuleContainer,1) //BRAHMS Analysis Module Container }; #endif