12 #include "GaudiKernel/ISvcLocator.h"
13 #include "GaudiKernel/Bootstrap.h"
14 #include "GaudiKernel/StatusCode.h"
15 #include "GaudiKernel/Service.h"
16 #include "GaudiKernel/MsgStream.h"
23 #include "boost/range/iterator_range.hpp"
28 unsigned int tCsize=transCont->
size();
38 unsigned int slVariableIndex=0;
39 unsigned int triggerRateIndex=0;
41 if (transCont->
empty())
return;
52 for (; it_Coll != it_CollEnd; ++it_Coll) {
59 persCont->
m_slVariables[slVariableIndex++]=(**it_Coll).sectorId();
60 persCont->
m_slVariables[slVariableIndex++]=(**it_Coll).fel1Id();
61 persCont->
m_slVariables[slVariableIndex++]=(**it_Coll).bcid();
62 persCont->
m_slVariables[slVariableIndex++]=(**it_Coll).errorCode();
67 persCont->
m_slVariables[slVariableIndex++]=(**it_Coll).counters().size();
70 std::copy ((**it_Coll).counters().begin(), (**it_Coll).counters().end(), persCont->
m_slVariables.begin()+slVariableIndex);
71 slVariableIndex+=(**it_Coll).counters().size();
74 persCont->
m_slVariables[slVariableIndex++]=(**it_Coll).triggerRates().size();
77 std::copy ((**it_Coll).triggerRates().begin(), (**it_Coll).triggerRates().end(), persCont->
m_triggerRates.begin()+triggerRateIndex);
78 triggerRateIndex+=(**it_Coll).triggerRates().size();
84 persCont->
m_slVariables[slVariableIndex++]=(**it_Coll).size();
87 for (; itSLTH!=itSLTHEnd ; ++itSLTH){
88 persCont->
m_slVariables[slVariableIndex++]=(**itSLTH).rowinBcid();
89 persCont->
m_slVariables[slVariableIndex++]=(**itSLTH).padId();
92 persCont->
m_slVariables[slVariableIndex++]=(**itSLTH).outerPlane();
93 persCont->
m_slVariables[slVariableIndex++]=(**itSLTH).overlapPhi();
94 persCont->
m_slVariables[slVariableIndex++]=(**itSLTH).overlapEta();
95 persCont->
m_slVariables[slVariableIndex++]=(**itSLTH).triggerBcid();
96 persCont->
m_slVariables[slVariableIndex++]=(**itSLTH).isInput();
100 <<
"RpcSectorLogicContainerCnv_p1 summary: vector size "
114 unsigned int index = 0;
117 transCont->
resize(numOfSL);
118 unsigned int indexSL = 0;
119 unsigned int indexTR = 0;
120 while (indexSL<numOfSL){
142 for (
double r : boost::make_iterator_range(persCont->
m_triggerRates.begin()+indexTR,
145 indexTR+=numTriggerRates;
149 rsl->
resize(numRpcSLTriggerHits);
150 for (
unsigned int th=0;
th<numRpcSLTriggerHits; ++
th){
164 (*transCont)[indexSL++]=rsl;