//-------------------------------------------------------------------------- // File and Version Information: // NTrkExample.hh March 16 1999 // // Description: // Class NTrkExample // This is an analysis module class used as the // first example in the offline workbook. // The workbook can be found on the web at the // following URL: // BFROOT/www/doc/workbook/workbook.html // // The NTrkExample class only plots a histogram of // the number of tracks per event. // // Environment: // Software developed for the BaBar Detector at the SLAC B-Factory // // Author List: // Charles Young Original Author // Tracey Marsh minimize module // // Copyright Information: // Copyright (C) 1997 // //------------------------------------------------------------------------ #ifndef NTRKEXAMPLE_HH #define NTRKEXAMPLE_HH //------------------------------- // Collaborating Class Headers -- //------------------------------- //#include "Framework/APPModule.hh" //#include "Framework/AbsParmIfdStrKey.hh" #include "AbsParm/AbsParmIfdStrKey.hh" #include "PAFAdapters/PAFBbrModule.hh" #include "PAFAdapters/BbrSyntax.hh" //------------------------------------ // Collaborating Class Declarations -- //------------------------------------ class HepHistogram; //--------------------- //-- Class Interface -- //--------------------- class NTrkExample : public AppModule { //-------------------- // Instance Members -- //-------------------- public: // Constructors NTrkExample( const char* const theName, const char* const theDescription ); // Destructor virtual ~NTrkExample( ); // Operations virtual APPMODULERETURNTYPE2 beginJob( AbsEvent* anEvent ); virtual APPMODULERETURNTYPE1 event( AbsEvent* anEvent ); virtual APPMODULERETURNTYPE2 endJob ( AbsEvent* anEvent ); protected: private: AbsParmIfdStrKey _btaChargedList;//! Do not stream HepHistogram* _numTrkHisto;//! Do not stream public: ClassDef(NTrkExample,1) //Simple Beta example }; #endif