34 const std::vector<CaloCompactCellContainer::value_type> theHeader = theCompactContainer.
getHeader();
40 switch (theHeader[1]) {
50 packer.
unpack (theCompactContainer, theHeader, *theCellContainer,
51 larCellsP, tileCellsP);
57 msg <<
" unknown version " << theHeader[1]
58 <<
" requested for unpacking the CaloCompactCellContainer" <<
endmsg;
59 return StatusCode::FAILURE;
62 return StatusCode::SUCCESS;
77 switch (theVersion ) {
88 packer.
pack (theCellContainer, *theCompactContainer, dec, theVersion);
94 msg <<
" unknown version " << theVersion
95 <<
" requested for packing the CaloCellContainer" <<
endmsg;
96 return StatusCode::FAILURE;
98 return StatusCode::SUCCESS;
Calo cell packer/unpacker v400/500.
Definition of CaloDetDescrManager.
Container class for CaloCell.
Calo cell packer/unpacker v400/500.
void unpack(const CaloCompactCellContainer &packed, const std::vector< CaloCompactCellContainer::value_type > &vheader, CaloCellContainer &cells, DataPool< LArCell > &larpool, DataPool< TileCell > &tilepool) const
Unpack cells.
void pack(const CaloCellContainer &cells, CaloCompactCellContainer &packed, const SG::ThinningDecisionBase *dec, int version) const
Pack cells.
container class for CaloCompactCell objects
const std::vector< value_type > getHeader() const
returns header portion of the compact cell container
a typed memory pool that saves time spent allocation small object.
Hold thinning decisions for one container.
singleton-like access to IMessageSvc via open function and helper
IMessageSvc * getMessageSvc(bool quiet=false)