|
ATLAS Offline Software
|
Go to the documentation of this file.
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;
74 if (theVersion == VERSION_LATEST)
75 theVersion = VERSION_504;
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;
singleton-like access to IMessageSvc via open function and helper
Calo cell packer/unpacker v400/500.
Hold thinning decisions for one container.
Calo cell packer/unpacker v400/500.
IMessageSvc * getMessageSvc(bool quiet=false)
Definition of CaloDetDescrManager.
container class for CaloCompactCell objects
::StatusCode StatusCode
StatusCode definition for legacy code.
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.
const std::vector< value_type > getHeader() const
returns header portion of the compact cell container
Container class for CaloCell.
a typed memory pool that saves time spent allocation small object. This is typically used by containe...