//-------------------------------------------------------------------------- // File and Version Information: // $Id: APPLevel3FileOutputModule.hh, // v 1.12 1999/04/01 18:04:33 sexton Exp $ // // Description: // Class APPFileOutputModule. This is the standard file output module // for the BaBar framework. It is currently incomplete. // // Environment: // Software developed for the BaBar Detector at the SLAC B-Factory. // // Author List: // David R. Quarrie Original Author // Marc Turcotte Modified for new style begin/end // Mike Carew Added Info for writing TL3B Bank // // Copyright Information: // Copyright (C) 1994, 1995 Lawrence Berkeley Laboratory // //------------------------------------------------------------------------ #ifndef APPLEVEL3FILEOUTPUTMODULE_HH #define APPLEVEL3FILEOUTPUTMODULE_HH //----------------------- // Experiment Headers -- //----------------------- #include "BaBar/Experiment.hh" //---------------------- // Base Class Headers -- //---------------------- #include "Level3Mods/APPLevel3GenericOutputModule.hh" //------------------------------------ // Collaborating Class Declarations -- //------------------------------------ #include "Level3Mods/APPStored.hh" #include "FrameMods/AppFileOutputCommand.hh" // --------------------- // -- Class Interface -- // --------------------- class APPLevel3FileOutputModule : public APPLevel3GenericOutputModule { //-------------------- // Instance Members -- //-------------------- public: // Constructors APPLevel3FileOutputModule( const char* const theName, const char* const theDescription, const int4 exeTag = -1); // Destructor virtual ~APPLevel3FileOutputModule( ); // Operations AppResult childBeginRun( AbsEvent* anEvent ); // open files // write event, call child AppResult outputEvent( AbsEvent*& anEvent, const AppStopType& theDispatchStopType ); // copies from FileOutputModule virtual AppResult childInitIOSystem( ); AppResult terminateIOSystem( ); // Selectors const char * rcsId( ) const; // Data structure info (need a concrete implementation for Level-3 O.M.'s) int headerWords() const {return 0;} private: // output commands AppFileOutputCommand* _outputCmd; }; #endif