19 #include "GaudiKernel/Service.h"
20 #include "GaudiKernel/MsgStream.h"
21 #include "Gaudi/Property.h"
22 #include "GaudiKernel/TypeNameString.h"
37 const std::string&
type,
38 const std::string&
name,
41 m_theCaloCCIDM (nullptr)
62 return StatusCode::SUCCESS;
65 template <
class CONTAINER>
70 if (theCont->size()<hashMax) {
71 ATH_MSG_DEBUG(
"CaloCellContainer size " << theCont->size() <<
" smaller than hashMax: " << hashMax);
73 else if (theCont->size()==hashMax) {
74 ATH_MSG_DEBUG(
"CaloCellContainer size " << theCont->size() <<
" correspond to hashMax : " << hashMax);
75 theCont->setHasTotalSize(
true);
78 msg(MSG::WARNING) <<
"CaloCellContainer size " << theCont->size()
79 <<
" larger than hashMax ! Too many cells ! " << hashMax <<
endmsg ;
85 if (theCont->checkOrdered()){
87 theCont->setIsOrdered(
true);
90 theCont->setIsOrdered(
false);
107 if (theCont->checkOrderedAndComplete()){
109 theCont->setIsOrderedAndComplete(
true);
111 ATH_MSG_DEBUG(
"CaloCellContainer not ordered or incomplete");
112 theCont->setIsOrderedAndComplete(
false);
115 if (!theCont->isOrdered()) {
121 if (theCont->checkOrdered()){
123 theCont->setIsOrdered(
true);
126 theCont->setIsOrdered(
false);
131 if (theCont->checkOrderedAndComplete()){
133 theCont->setIsOrderedAndComplete(
true);
135 ATH_MSG_DEBUG(
"CaloCellContainer not ordered or incomplete");
136 theCont->setIsOrderedAndComplete(
false);
140 theCont->updateCaloIterators();
142 return StatusCode::SUCCESS;
148 const EventContext& )
const
151 return StatusCode::SUCCESS;
157 const EventContext& )
const