00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: BdbCondInitSequence.cc,v 1.4 2004/08/16 00:46:47 bartoldu Exp $ 00004 // 00005 // Description: 00006 // BdbCondInitSequence 00007 // 00008 // Environment: 00009 // Software developed for the BaBar Detector at the SLAC B-Factory. 00010 // 00011 // Author List: 00012 // Peter Elmer author 00013 // 00014 // Copyright Information: 00015 // Copyright (C) 2001 Princeton University 00016 // 00017 //------------------------------------------------------------------------ 00018 #include "BaBar/BaBar.hh" 00019 00020 //----------------------- 00021 // This Class's Header -- 00022 //----------------------- 00023 #include "BdbCondModules/BdbCondInitSequence.hh" 00024 00025 //------------- 00026 // C Headers -- 00027 //------------- 00028 00029 //--------------- 00030 // C++ Headers -- 00031 //--------------- 00032 00033 //------------------------------- 00034 // Collaborating Class Headers -- 00035 //------------------------------- 00036 #include "Framework/AppUserBuild.hh" 00037 #include "Framework/AppSequence.hh" 00038 00039 #include "BdbTclParmP/BdbTclManagerModule.hh" 00040 #include "BdbCondModules/CdbBdbInit.hh" 00041 #include "CdbEvtModules/CdbEvtLoadStateId.hh" 00042 00043 //----------------------------------------------------------------------- 00044 // Local Macros, Typedefs, Structures, Unions and Forward Declarations -- 00045 //----------------------------------------------------------------------- 00046 00047 AppSequence* BdbCondInitSequence(AppUserBuild* forWho) 00048 { 00049 // create the modules needed 00050 00051 AppModule* tclManagerModule = 00052 new BdbTclManagerModule( "BdbTclManagerModule", 00053 "Manages operations with BdbTclModuleParmList" ); 00054 00055 AppModule* cdbBdbInit = new CdbBdbInit( ); 00056 00057 // add the modules to the framework 00058 forWho->add( tclManagerModule ); 00059 forWho->add( cdbBdbInit ); 00060 forWho->add( new CdbEvtLoadStateId("CdbEvtLoadStateId", "Load Cdb StateId into transient eventstore")); 00061 00062 return 0; 00063 }
1.3-rc3