//-------------------------------------------------------------------------- // File and Version Information: // AppUserBuild.cc, v1.1 1996/02/19 06:17:12 jake 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 BaBar Detector at the SLAC B-Factory. // // Author List: // David R. Quarrie Original Author // // Copyright Information: // Copyright (C) 1994 Lawrence Berkeley Laboratory // //------------------------------------------------------------------------ //----------------------- // This Class's Header -- //----------------------- #include "Framework/APPUserBuild.hh" //------------------------------- // Collaborating Class Headers -- //------------------------------- #include "Level3Mods/APPLevel3XXXOutputModule.hh" #include "Level3Mods/RandomFilterModule.hh" #include "Level3Mods/Prereq.hh" #include "FrameMods/addCDFrequiredModules.hh" #ifdef USE_CDFEDM2 #include "FrameMods/YbosDiskFileInputModule.hh" #endif //----------------------------------------------------------------------- // Local Macros, Typedefs, Structures, Unions and Forward Declarations -- //----------------------------------------------------------------------- static const char rcsid[] = "AppUserBuild.cc,v 1.6 1996/02/19 06:17:12 jake Exp"; //---------------- // Constructors -- //---------------- AppUserBuild::AppUserBuild( AppFramework* theFramework ) : AppBuild( theFramework ) { addCDFrequiredModules(this); APPOutputModule* anOutputModule; anOutputModule = new APPLevel3XXXOutputModule( "Level3XXXOutput", "Level3 XXX Output Module"); add( anOutputModule ); #ifdef USE_CDFEDM2 APPInputModule* anInputModule; anInputModule = new YbosDiskFileInputModule( "YbosDiskFileInput", "Ybos Disk File Input Module"); add( anInputModule ); #endif APPFilterModule* aFilterModule; aFilterModule = new RandomFilterModule("RandomFilter", "A Random Filter Module"); add( aFilterModule); aFilterModule = new Prereq("Prereq", "A Prereq Filter Module"); add( aFilterModule); } //-------------- // Destructor -- //-------------- AppUserBuild::~AppUserBuild( ) { }