15 if ( (!trans) || (!pers) ) {
16 log << MSG::ERROR <<
"TrigCompositeCnv_p1::transToPers with trans or pers == 0" <<
endmsg;
22 for (
const std::pair<const std::string, TrigFeatureLink>&
p :
27 pers->
m_stypes.push_back(
p.second.subTypeIndex() );
31 for (
const std::pair<const std::string, float>&
p :
38 for (
const std::pair<const std::string, int>&
p :
41 pers->
m_ints.push_back(
p.second);
45 for (
const std::pair<const std::string, std::string>&
p :
52 for (
const std::pair<
const std::string, std::vector<float> >&
p :
59 for (
const std::pair<
const std::string, std::vector<int> >&
p :
66 for (
const std::pair<
const std::string, std::vector<std::string> >&
p :
67 trans->
allDetails<std::vector<std::string> >())
81 log << MSG::ERROR <<
"TrigCompositeCnv_p1::persToTrans: The number of values and names for do not match, problem with the stored data, while" << __PRETTY_FUNCTION__ <<
endmsg;
84 typename std::vector<T>::const_iterator vi =
values.begin();
85 std::vector<std::string>::const_iterator ki =
keys.begin();
87 for ( ; vi !=
values.end() and ki !=
keys.end(); ++ki, ++vi )
97 if ( (!trans) || (!pers) ) {
98 log << MSG::ERROR <<
"TrigCompositeCnv_p1::persToTrans with trans or pers == 0" <<
endmsg;
114 std::vector<std::string>::const_iterator labelIt = pers->
m_labels.begin();
115 std::vector<uint32_t>::const_iterator clidIt = pers->
m_clids.begin();
116 std::vector<uint16_t>::const_iterator colIt = pers->
m_stypes.begin();
117 std::vector<uint32_t>::const_iterator indexIt = pers->
m_indexes.begin();
120 for ( ; labelIt != pers->
m_labels.end(); ++clidIt, ++indexIt, ++colIt, ++labelIt ){
124 log << MSG::ERROR <<
"TrigCompositeCnv_p1::persToTrans: The number of TrigFeatureLink labels, CLIDs, types and indexes does not match, problem with the stored data" <<
endmsg;