33 return StatusCode::SUCCESS;
36 template <
class CONTAINER>
41 if (theCont->size()<hashMax) {
42 ATH_MSG_DEBUG(
"CaloCellContainer size " << theCont->size() <<
" smaller than hashMax: " << hashMax);
44 else if (theCont->size()==hashMax) {
45 ATH_MSG_DEBUG(
"CaloCellContainer size " << theCont->size() <<
" correspond to hashMax : " << hashMax);
46 theCont->setHasTotalSize(
true);
49 msg(MSG::WARNING) <<
"CaloCellContainer size " << theCont->size()
50 <<
" larger than hashMax ! Too many cells ! " << hashMax <<
endmsg ;
56 if (theCont->checkOrdered()){
58 theCont->setIsOrdered(
true);
61 theCont->setIsOrdered(
false);
78 if (theCont->checkOrderedAndComplete()){
80 theCont->setIsOrderedAndComplete(
true);
83 theCont->setIsOrderedAndComplete(
false);
86 if (!theCont->isOrdered()) {
92 if (theCont->checkOrdered()){
94 theCont->setIsOrdered(
true);
97 theCont->setIsOrdered(
false);
102 if (theCont->checkOrderedAndComplete()){
104 theCont->setIsOrderedAndComplete(
true);
106 ATH_MSG_DEBUG(
"CaloCellContainer not ordered or incomplete");
107 theCont->setIsOrderedAndComplete(
false);
111 theCont->updateCaloIterators();
113 return StatusCode::SUCCESS;
119 const EventContext& )
const
122 return StatusCode::SUCCESS;
128 const EventContext& )
const