|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   10   const auto vect = transCont->
getAll();
 
   11   persCont->
m_bsErrs.reserve(vect.size());
 
   12   for(
const auto& 
v : vect) persCont->
m_bsErrs.emplace_back(
v.first, 
v.second);
 
   17   for (
const std::pair<IdentifierHash, uint64_t>& bsErr: persCont->
m_bsErrs) {
 
   18     transCont->
setOrDrop(bsErr.first, bsErr.second);
 
   26     auto maxhash = std::max_element(persObj->
m_bsErrs.begin(), persObj->
m_bsErrs.end());
 
   27     g = maxhash->first + 1;
 
   31   return trans.release();
 
  
std::vector< std::pair< size_t, T > > getAll() const
Make a vector of hashes and values, convenient for iteration and other uses.
IDC like storage for BS errors, TODO, customise implementation further so that we store int rather th...
bool setOrDrop(size_t i, const T &value)
Set the value for the given hash.
virtual IDCInDetBSErrContainer * createTransient(const InDetBSErrContainer64_p1 *persObj, MsgStream &log)
virtual void transToPers(const IDCInDetBSErrContainer *transCont, InDetBSErrContainer64_p1 *persCont, MsgStream &log)
virtual void persToTrans(const InDetBSErrContainer64_p1 *persCont, IDCInDetBSErrContainer *transCont, MsgStream &log)
std::vector< std::pair< IdentifierHash, uint64_t > > m_bsErrs