00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: CdbRooInitSequence.cc,v 1.1 2005/02/09 17:14:36 gapon Exp $ 00004 // 00005 // Description: 00006 // CdbRooInitSequence 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 "CdbRooModules/CdbRooInitSequence.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 "CdbRooModules/CdbRooInit.hh" 00040 #include "CdbEvtModules/CdbEvtLoadStateId.hh" 00041 00042 //----------------------------------------------------------------------- 00043 // Local Macros, Typedefs, Structures, Unions and Forward Declarations -- 00044 //----------------------------------------------------------------------- 00045 00046 AppSequence* CdbRooInitSequence(AppUserBuild* forWho) 00047 { 00048 // create the modules needed 00049 00050 AppModule* cdbRooInit = new CdbRooInit( ); 00051 00052 // add the modules to the framework 00053 forWho->add( cdbRooInit ); 00054 forWho->add( new CdbEvtLoadStateId("CdbEvtLoadStateId", "Load Cdb StateId into transient eventstore")); 00055 00056 return 0; 00057 }
1.3-rc3