// -*- mode: c++ -*- // // $Id: BrAppendContainer.h,v 1.2 2002/08/15 17:27:08 videbaek Exp $ // $Author: videbaek $ // $Date: 2002/08/15 17:27:08 $ // $Copyright: (C) 2001 BRAHMS Collaboration // #ifndef BRAT_BrAppendContainer #define BRAT_BrAppendContainer #ifndef BRAT_BrModuleContainer #include "BrModuleContainer.h" #endif #ifndef BRAT_BrEventNode #include "BrEventNode.h" #endif class BrAppendContainer : public BrModuleContainer { private: Bool_t fNormalMode; // If false the innode is added per event to the output. // This can avoid lots of copiing. public: BrAppendContainer(); BrAppendContainer(const Char_t* name, const Char_t* title); virtual ~BrAppendContainer () {} virtual void Event(BrEventNode* inNode, BrEventNode* outNode); virtual void Print(Option_t* option="B") const; // *MENU* virtual void SetMode(Bool_t mode) {fNormalMode=mode;} ClassDef(BrAppendContainer,0) // Switch outnode to innode for modules }; #endif