// -*- mode: c++ -*- // // $Id: BrCopyModule.h,v 1.1 2001/07/19 11:46:23 ekman Exp $ // $Author: ekman $ // $Date: 2001/07/19 11:46:23 $ // $Copyright: (C) 2001 BRAHMS Collaboration // #ifndef BRAT_BrCopyModule #define BRAT_BrCopyModule #ifndef BRAT_BrModule #include "BrModule.h" #endif #ifndef BRAT_BrEventNode #include "BrEventNode.h" #endif #ifndef BRAT_BrDetectorList #include "BrDetectorList.h" #endif #ifndef ROOT_TObjString #include "TObjString.h" #endif class BrCopyModule : public BrModule { private: TObjArray* fObjectNames; public: BrCopyModule(); BrCopyModule(const Char_t* name, const Char_t* title); virtual ~BrCopyModule () {} virtual void AddObject(const Char_t* name); // *MENU* virtual void RemoveObject(const Char_t* name); // *MENU* virtual void Event(BrEventNode* inNode, BrEventNode* outNode); virtual void Print(Option_t* option="BL") const; // *MENU* ClassDef(BrCopyModule,0) // Module to copy BrDataObjects }; #endif //____________________________________________________________________ // // $Log: BrCopyModule.h,v $ // Revision 1.1 2001/07/19 11:46:23 ekman // Added new module to selectively copy contents of an BrEventNode from // the input to the output. User selects the specific data objects to be // copied by specifing the names of the objects. // //