//-------------------------------------------------------------------------- // File and Version Information: // $Id: BuildExampleMyModule_test.cc,v 1.1 2008/11/20 16:27:29 lysak Exp $ // // Description: // Class AppUserBuild. This class must be provided by the user of // the framework in order to build an application. It must define // the modules that are to form the basis of the application. // // Environment: // Software developed for the CDF Detector // //------------------------------------------------------------------------ //----------------------- // This Class's Header -- //----------------------- #include "Framework/APPUserBuild.hh" //------------------------------- // Collaborating Class Headers -- //------------------------------- #include "MyModule.hh" #include "ExampleSourceAnalysis.hh" #include "FrameMods/addCDFrequiredModules.hh" #include "FrameMods/addAllStorableObjects.hh" #include "FrameMods/hbook/HepHbookManager.hh" #include "FrameMods/YbosDiskFileInputModule.hh" //#include "FrameMods/root/HepRootManager.hh" //----------------------------------------------------------------------- // Local Macros, Typedefs, Structures, Unions and Forward Declarations -- //----------------------------------------------------------------------- static const char rcsid[] = "$Id: BuildExampleMyModule_test.cc,v 1.1 2008/11/20 16:27:29 lysak Exp $"; //---------------- // Constructors -- //---------------- AppUserBuild::AppUserBuild( AppFramework* theFramework ) : AppBuild( theFramework ) { addCDFrequiredModules( this ); // This is needed because the ExampleSourceAnalysis module wants to // look at the output of ProductionExe addAllStorableObjects( ); AppModule* aModule; // This is a utility module whose only purpose is to select a histogram // manager type: // aModule = new HepRootManager( ); // comment out the next line and uncomment the above line if you want // root instead. aModule = new HepHbookManager( ); add( aModule ); // aModule = new MyModule( ); //add( aModule ); aModule = new ExampleSourceAnalysis( ); add( aModule ); // Any any other modules you want to link here... aModule = new YbosDiskFileInputModule( ); add( aModule ); } //-------------- // Destructor -- //-------------- AppUserBuild::~AppUserBuild( ) { } const char * AppUserBuild::rcsId( ) const { return rcsid; }