//-------------------------------------------------------------------------- // File and Version Information: // $Id: WorkBook1.hh,v 1.2 1998/08/13 08:12:34 yury Exp $ // // Description: // Class WorkBook1 // // Environment: // Software developed for the BaBar Detector at the SLAC B-Factory. // // Author List: // Charles Young Original Author // // Copyright Information: // Copyright (C) 1997 // //------------------------------------------------------------------------ #ifndef WORKBOOK1_HH #define WORKBOOK1_HH //------------------------------- // Collaborating Class Headers -- //------------------------------- #include "Framework/APPModule.hh" #include "Framework/AbsParmIfdStrKey.hh" #include "Framework/AbsParmGeneral.hh" #include "Framework/AbsParmBool.hh" //------------------------------------ // Collaborating Class Declarations -- //------------------------------------ class HepHistogram; class HepTuple; // -- ROOT class TTree; class TMyEvent; // -- ROOT // --------------------- // -- Class Interface -- // --------------------- class WorkBook1 : public AppModule { //-------------------- // Instance Members -- //-------------------- public: // Constructors WorkBook1( const char* const theName, const char* const theDescription ); // Destructor virtual ~WorkBook1( ); // Operations virtual APPMODULERETURNTYPE2 beginJob( AbsEvent* anEvent ); virtual APPMODULERETURNTYPE1 event( AbsEvent* anEvent ); virtual APPMODULERETURNTYPE2 endJob ( AbsEvent* anEvent ); protected: private: AbsParmIfdStrKey _btaChargedList; AbsParmGeneral _nbins; AbsParmGeneral _xlow; AbsParmGeneral _xhigh; AbsParmBool _fillNtp; HepHistogram* _pHisto; HepTuple* _ntuple; // -- ROOT TTree *_Tree; TMyEvent *_Event; // -- ROOT }; #endif