26{
27 MsgStream log(
msgSvc(), name());
28 log << MSG::INFO << endreq << "In initialize()" << endreq;
29 log << MSG::INFO << "Fec order:\t\t" << m_fFecOrder << endreq;
30 log << MSG::INFO << "Chain map:\t" << m_sFileName[0] << endreq;
31 log << MSG::INFO << "Output map:\t\t" << m_sFileName[1] << endreq;
32 log << MSG::INFO << "Output option:\t\t" << m_sOutputOption << endreq;
33
35
36 log << MSG::INFO << "-------Chain map--------" << endreq;
37 if( m_sFileName[0].size() == 0 || fin.bad() )
38 {
39
40 log << MSG::INFO << endreq << "Load default map!" << endreq;
41
43 {
45 {
47
48 log << MSG::INFO << m_sChainMap[i][j] << "\t";
49 }
50
51 log << MSG::INFO << endreq;
52 }
53 }
54 else
55 {
56 string tempMark;
58 {
60 {
61 fin >> tempMark;
62
64 {
65 log << MSG::INFO << endreq
66 << "Mark:\t" << "Module\t" << i << "Socket\t" << j << "\t"
67 << tempMark << "\terror!"<< endreq;
68 continue;
69 }
70
71 m_sChainMap[i][j] = tempMark;
72
73 log << MSG::INFO << m_sChainMap[i][j] << "\t";
74 }
75 log << MSG::INFO << endreq;
76 }
77
78 fin.close();
79 }
80 log << MSG::INFO << "------------------------" << endreq;
81 return StatusCode::SUCCESS;
82}
const std::string DEFAULT_MAP[MODULE_MAX][SOCKET_MAX]
const unsigned int MARK_NUM