Reads the efpscSteering configuration node.
7 {
8
9 m_jobOptionsPath = "jobOptions.txt";
10 m_messageSvcType = "MessageSvc";
11 m_evtSel = "NONE";
12 m_dllName = "";
13 m_factoryName = "";
14 m_pythonSetupFile = "ESController/ESControllerPythonSetup.py";
15
16
17 std::string tmp_string = objname;
18
19
20
21 m_jobOptionsPath = tmp_string.substr( 0, tmp_string.find( ";" ) );
22
23 if ( tmp_string.substr( 0, tmp_string.find( ";" ) ) != "" )
24 {
25 m_jobOptionsPath = tmp_string.substr( 0, tmp_string.find( ";" ) );
26
27 }
28
29
30 tmp_string = tmp_string.substr( tmp_string.find( ";" ) + 1, tmp_string.size() );
31 if ( tmp_string.substr( 0, tmp_string.find( ";" ) ) != "" )
32 { m_messageSvcType = tmp_string.substr( 0, tmp_string.find( ";" ) ); }
33
34
35 tmp_string = tmp_string.substr( tmp_string.find( ";" ) + 1, tmp_string.size() );
36 if ( tmp_string.substr( 0, tmp_string.find( ";" ) ) != "" )
37 { m_evtSel = tmp_string.substr( 0, tmp_string.find( ";" ) ); }
38
39
40 tmp_string = tmp_string.substr( tmp_string.find( ";" ) + 1, tmp_string.size() );
41 if ( tmp_string.substr( 0, tmp_string.find( ";" ) ) != "" )
42 { m_dllName = tmp_string.substr( 0, tmp_string.find( ";" ) ); }
43
44
45 tmp_string = tmp_string.substr( tmp_string.find( ";" ) + 1, tmp_string.size() );
46 if ( tmp_string.substr( 0, tmp_string.find( ";" ) ) != "" )
47 { m_factoryName = tmp_string.substr( 0, tmp_string.find( ";" ) ); }
48
49
50 tmp_string = tmp_string.substr( tmp_string.find( ";" ) + 1, tmp_string.size() );
51 if ( tmp_string.substr( 0, tmp_string.find( ";" ) ) != "" )
52 { m_pythonSetupFile = tmp_string.substr( 0, tmp_string.find( ";" ) ); }
53
54
55
57 " -> jobOptions Path = " << m_jobOptionsPath );
59 " -> MessageSvcType = " << m_messageSvcType );
60 EFPSC_DBG1(
"efpsc::Config::Config",
" -> Event Selector = " << m_evtSel );
61 EFPSC_DBG1(
"efpsc::Config::Config",
" -> ApplicationMgr DLL name = " << m_dllName );
62 EFPSC_DBG1(
"efpsc::Config::Config",
" -> ApplicationMgr Factory name = " << m_factoryName );
64 " -> Basic Python setup file = " << m_pythonSetupFile );
65}