22 declareInterface<IDataRetriever>(
this);
32 return StatusCode::SUCCESS;
46 for (
auto containerIt=rdoContainer->
begin(); containerIt!=rdoContainer->
end(); ++containerIt) {
47 ndata += (*containerIt)->size();
54 DataVect lengthVec; lengthVec.reserve(ndata);
55 DataVect widthVec; widthVec.reserve(ndata);
56 DataVect idVec; idVec.reserve(ndata);
57 DataVect identifierVec; identifierVec.reserve(ndata);
67 ATH_MSG_ERROR(
"Null pointer to the read MuonDetectorManager conditions object");
68 return StatusCode::FAILURE;
76 for (
auto itColl=rdoContainer->
begin(); itColl!=rdoContainer->
end(); ++itColl) {
77 if ( itColl->size() == 0 )
continue;
83 uint16_t sectorId = itColl->sector() ;
88 for (; itCM != itCM_e ; ++itCM) {
90 uint16_t cmaId = (*itCM)->onlineId();
95 for (; itD != itD_e ; ++itD) {
98 " sectorId " << sectorId <<
101 " bcid " << rpcChan->
bcid() <<
102 " time " << rpcChan->
time() <<
103 " ijk " << rpcChan->
ijk() <<
106 if(rpcChan->
ijk()==6){
111 for (; itD1 != itD_e1 ; ++itD1) {
114 if( rpcChan1->
ijk() > 1 && rpcChan1->
ijk() <6){
118 std::vector<Identifier> digitVec{
m_rpcDecoder->getOfflineData(rpcChan, sectorId, padId, cmaId,
time, rpcCabling)};
126 std::list<Identifier> stripList = rpcCabling->give_strip_id(
side,sl,padId,cmaId,rpcChan->
ijk(),rpcChan->
channel(),&
m_idHelperSvc->rpcIdHelper());
127 std::list<Identifier>::const_iterator it_list;
128 for (it_list=stripList.begin() ; it_list != stripList.end() ; ++it_list) {
134 snprintf(ChID, 100,
"SL%d-Pad%d-CM%d-ijk%d-ch%d-time%d",sectorId,padId,cmaId,
138 int measuresPhi =
m_idHelperSvc->rpcIdHelper().measuresPhi(stripOfflineId);
139 double stripLength = element->
StripLength(measuresPhi);
140 double stripWidth = element->
StripWidth(measuresPhi);
147 identifierVec.push_back(
DataType(ChID));
155 " sectorId1 " << sectorId <<
156 " padId1 " << padId <<
157 " cmId1 " << cmaId <<
158 " bcid1 " << rpcChan1->
bcid() <<
159 " time1 " << rpcChan1->
time() <<
160 " ijk1 " << rpcChan1->
ijk() <<
161 " ch1 " << rpcChan1->
channel());
164 std::vector<Identifier> digitVec1{
m_rpcDecoder->getOfflineData(rpcChan1, sectorId, padId, cmaId, time1, rpcCabling)};
172 std::list<Identifier> stripList1 = rpcCabling->give_strip_id(
side,sl,padId,cmaId,rpcChan1->
ijk(),rpcChan1->
channel(),&
m_idHelperSvc->rpcIdHelper());
173 std::list<Identifier>::const_iterator it_list1;
174 for (it_list1=stripList1.begin() ; it_list1 != stripList1.end() ; ++it_list1) {
181 snprintf(ChID1,100,
"SL%d-Pad%d-CM%d-ijk%d-ch%d-time%d",sectorId,padId,cmaId,
185 int measuresPhi1 =
m_idHelperSvc->rpcIdHelper().measuresPhi(stripOfflineId1);
186 double stripLength1 = element1->
StripLength(measuresPhi1);
187 double stripWidth1 = element1->
StripWidth(measuresPhi1);
194 identifierVec.push_back(
DataType(ChID1));
210 myDataMap[
"length"] = lengthVec;
211 myDataMap[
"width"] = widthVec;
212 myDataMap[
"identifier"] = identifierVec;
213 myDataMap[
"id"] = idVec;
214 myDataMap[
"barcode"] =
barcode;