//-------------------------------------------------------------------------- // ParmExample: Example analysis module for the Offline Workbook // A module with 4 run-time parameters. // The workbook can be found on the web at: // http://www.slac.stanford.edu/BFROOT/www/doc/workbook/workbook.html //------------------------------------------------------------------------ #ifndef PARMEXAMPLE_HH #define PARMEXAMPLE_HH #include "Framework/AppModule.hh" #include "AbsEvent/AbsEvent.hh" #include "HepTuple/Histogram.h" #include "Framework/AbsParmGeneral.hh" #include "AbsParm/AbsParmIfdStrKey.hh" class ParmExample : public AppModule { public: // Constructors ParmExample( const char* const theName, const char* const theDescription ); // Destructor virtual ~ParmExample( ); // Operations virtual AppResult beginJob( AbsEvent* anEvent ); virtual AppResult event( AbsEvent* anEvent ); virtual AppResult endJob ( AbsEvent* anEvent ); protected: private: HepHistogram* _numTrkHisto; HepHistogram* _pHisto; AbsParmGeneral _nbins; AbsParmGeneral _pMin; AbsParmGeneral _pMax; AbsParmIfdStrKey _trackList; }; #endif