6#include "GaudiKernel/MsgStream.h"
7#include "Identifier/Identifier.h"
14 const std::string& name,
15 const IInterface* parent) :
19declareInterface<ICaloCoolIdTool>(
this );
34 msg(MSG::ERROR) <<
"Failed to retrieve CaloCell_ID" <<
endmsg;
38 return StatusCode::SUCCESS;
47 subHash =
m_calo_id->subcalo_cell_hash(cellHash, subCalo);
61 if (subHash >= 141440) {
65 else if (subHash>=86656) {
69 else if (subHash>=31872) {
90 msg(MSG::ERROR) <<
"cellHash is neither LAr nor Tile, something is deeply wrong" <<
endmsg;
const ServiceHandle< StoreGateSvc > & detStore() const