8 #include "GaudiKernel/ISvcLocator.h"
9 #include "GaudiKernel/Bootstrap.h"
10 #include "GaudiKernel/MsgStream.h"
11 #include "GaudiKernel/IMessageSvc.h"
32 std::cout <<
"Cannot locate MessageSvc" << std::endl;
34 MsgStream
log(
msgSvc,
"CaloTTPpmRxIdMap");
45 log << MSG::ERROR <<
"Cannot locate DetectorStore" <<
endmsg;
48 CaloTTPpmRxId::const_iterator
it =
m.begin();
49 CaloTTPpmRxId::const_iterator it_e =
m.end();
52 for (;
it!=it_e; ++
it) {
77 log<<MSG::ERROR<<
" Failed in CaloTTPpmRxIdMap::set " <<
endmsg;
78 log<<MSG::ERROR<< (std::string) except <<
endmsg ;
86 std::map<L1CaloCoolChannelId, std::vector<L1CaloRxCoolChannelId> >::const_iterator
it =
m_mPpmIdToRx.find(ppmChannelId);
95 std::cout <<
"Cannot locate MessageSvc" << std::endl;
98 MsgStream
log(
msgSvc,
"CaloTTPpmRxIdMap");
99 log<<MSG::ERROR<<
" Ppm channel ID not found, id= "<< ppmChannelId.
id()<<
" in Ppm to Rx map." <<
endmsg;
101 return std::vector<L1CaloRxCoolChannelId>();
108 std::map<L1CaloRxCoolChannelId, L1CaloCoolChannelId >::const_iterator
it=
m_mRxIdToPpm.find(rxChannelId);
118 std::cout <<
"Cannot locate MessageSvc" << std::endl;
121 MsgStream
log(
msgSvc,
"CaloTTPpmRxIdMap");
122 log<<MSG::ERROR<<
" Rx channel ID not found, id = " <<rxChannelId.
id()<<
" in Rx to Ppm map."<<
endmsg;
133 CaloTTPpmRxId::const_iterator
it =
d.begin();
134 CaloTTPpmRxId::const_iterator it_e =
d.end();
136 for ( ;
it!=it_e;++
it){
140 t2.ppm_crate =
t.ppm_crate;
141 t2.ppm_module =
t.ppm_module;
142 t2.ppm_subModule =
t.ppm_subModule;
143 t2.ppm_channel =
t.ppm_channel;
145 t2.rx_crate =
t.rx_crate ;
146 t2.rx_module =
t.rx_module;
147 t2.rx_inputConn =
t.rx_inputConn;
148 t2.rx_inputPair =
t.rx_inputPair;
149 t2.rx_outputConn =
t.rx_outputConn;
150 t2.rx_outputPair =
t.rx_outputPair;
159 std::vector<CaloTTPpmRxId_P::__t>::const_iterator
it =
p.m_v.begin();
160 std::vector<CaloTTPpmRxId_P::__t>::const_iterator it_e =
p.m_v.end();
163 for ( ;
it!=it_e;++
it){
167 t2.ppm_crate =
t.ppm_crate;
168 t2.ppm_module =
t.ppm_module;
169 t2.ppm_subModule =
t.ppm_subModule;
170 t2.ppm_channel =
t.ppm_channel;
172 t2.rx_crate =
t.rx_crate ;
173 t2.rx_module =
t.rx_module;
174 t2.rx_inputConn =
t.rx_inputConn;
175 t2.rx_inputPair =
t.rx_inputPair;
176 t2.rx_outputConn =
t.rx_outputConn;
177 t2.rx_outputPair =
t.rx_outputPair;