// $Id: BrEventNode.h,v 1.7 1998/08/20 14:20:17 hagel Exp $ // // $Log: BrEventNode.h,v $ // Revision 1.7 1998/08/20 14:20:17 hagel // Add Copy method + clean up // // Revision 1.6 1998/08/14 21:26:23 videbaek // Some cleanup mods // // Revision 1.5 1998/08/05 15:40:15 hagel // Add Clear to BrEventNode // // Revision 1.4 1998/07/28 16:41:12 hagel // Add GetObjectList() to BrEventNode.h // // Revision 1.3 1998/04/06 21:11:48 videbaek // Clean up and additions for Win95 // // #ifndef _BREVENTNODE_H #define _BREVENTNODE_H /////////////////////////////////////////////////////////////////////// // // // BrEventNode // // // // Brahms event class // // // // BrEventNode manages access to the raw and reconstructed data // // for one event branch in the BRAT environment. // // environment // // // // Author : F.Videbaek // // Created : // // Version : 1.0 // // Changed : 2/24/1998 // // // // // // // /////////////////////////////////////////////////////////////////////// // Root Classes #ifndef ROOT_TNamed #include "TNamed.h" #endif #ifndef ROOT_THashTable #include "THashTable.h" #include "TObjArray.h" #endif // // Brahms Classes // #include "BrDataObject.h" class BrDataTable; class BrEventNode : public BrDataObject { public: BrEventNode(); BrEventNode(Char_t* Name); virtual ~BrEventNode(); virtual void SetVerbose(Int_t i){ fVerbose = i;} // Enable and Disable Verbose mode } //Enable and Disable Verbose mode. Diagnostice out put occurs //at each call of the Event memebr functions. // virtual Bool_t IsNode() const {return kTRUE;} virtual BrDataObject* GetObject(Char_t *ObjectName); virtual BrDataTable* GetDataTable(Char_t *ObjectName); virtual TObjArray* GetObjectList() {return fObjectList;} virtual void Clear(); virtual Int_t AddObject(BrDataObject *Object); virtual void ListObjects(); virtual void Copy(BrEventNode &eventnode); private: // THashTable *fObjectList; // List of data objects TObjArray *fObjectList; // List of data objects Int_t fVerbose; //! Controls debugging and monitoring output public: ClassDef(BrEventNode,1) // BRAHMS event data class }; #endif