57{
58 if ( m_phase < 0) {
59 SmartIF<IJobOptionsSvc> iSvc(serviceLocator()->service("JobOptionsSvc"));
60 if ( iSvc.isValid() ) {
61 std::string dll;
62 const std::vector<const Property*>* ps = 0;
63 if ( (ps = iSvc->getProperties("RawDataInputSvc")) != 0 ) {
64 dll = "libDetVerSvc_IRaw.so";
65 }
66 else if ( (ps = iSvc->getProperties("EventCnvSvc")) != 0 ) {
67 dll = "libDetVerSvc_IRoot.so";
68 }
69 else if ( (ps = iSvc->getProperties("RealizationSvc")) != 0 ) {
70 dll = "libDetVerSvc_Sim.so";
71 }
72
73
74 void *dl_handler = dlopen(dll.c_str(), RTLD_LAZY|RTLD_GLOBAL);
75 if ( dl_handler != 0 ) {
77 }
78 dlclose(dl_handler);
79 }
80 }
81 return m_phase;
82}
int fromRun(unsigned int run)
int(* pf_helper)(ISvcLocator *)