// -*- mode: c++ -*- // // $Id: BrCleanupNodesModule.h,v 1.1 2001/08/14 19:31:22 pchristi Exp $ // $Author: pchristi $ // $Date: 2001/08/14 19:31:22 $ // $Copyright: (C) 2001 BRAHMS Collaboration // #ifndef BRAT_BrCleanupNodesModule #define BRAT_BrCleanupNodesModule #ifndef BRAT_BrModule #include "BrModule.h" #endif #ifndef BRAT_BrEventNode #include "BrEventNode.h" #endif #ifndef ROOT_TList #include "TList.h" #endif class BrCleanupNodesModule : public BrModule { private: TList* fNameList; // list of table names (TNamed) public: BrCleanupNodesModule(); BrCleanupNodesModule(const Char_t* name, const Char_t* title); ~BrCleanupNodesModule(); void AddTable(const Char_t *tableName); TList* GetList() const {return fNameList;} virtual void Event(BrEventNode* inNode, BrEventNode* outNode); virtual void Print(Option_t* option="B") const; // *MENU* ClassDef(BrCleanupNodesModule,0) // Clean up module - used to remove unwanted datatables from eventnodes }; #endif //____________________________________________________________________ // // $Log: BrCleanupNodesModule.h,v $ // Revision 1.1 2001/08/14 19:31:22 pchristi // Added new module BrCleanupNodesModule that can remove datatables // from the inputNode. Used in BrTpcHitPackage and BrTpcTrackPackage. // //