26 ,
m_compressor(
"xAODClusterCompressor",
"xAODCaloClusterAuxContainerCnv" )
33 m_doCompression = true;
34 ATH_MSG_INFO(
"Retrieved compression tool");
36 m_doCompression = false;
37 ATH_MSG_WARNING(
"Failed to retrieve compression tool. "
38 "Will store uncompressed cluster" );
47 const std::string& key) {
49 std::unique_ptr<xAOD::CaloClusterAuxContainer>
result
56 for(
size_t i = 0; i <
result->size(); ++i ) {
59 helper.setStore(
result.get() );
virtual xAOD::CaloClusterAuxContainer * createPersistentWithKey(xAOD::CaloClusterAuxContainer *trans, const std::string &key) override
ServiceHandle< IxAODClusterCompressor > m_compressor
Service compressing the cluster for storage on disk.
xAODCaloClusterAuxContainerCnv(ISvcLocator *svcLoc)
Converter constructor.
virtual xAOD::CaloClusterAuxContainer * createPersistentWithKey(xAOD::CaloClusterAuxContainer *trans, const std::string &key)
Function preparing the container to be written out.
bool m_doCompression
Flag set to false if the retrieval of the compression service failed.
Helper to copy an object while applying thinning.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
CaloClusterAuxContainer_v2 CaloClusterAuxContainer
Define the latest version of the calorimeter cluster auxiliary container.
T_AthenaPoolAuxContainerCnv< xAOD::CaloClusterAuxContainer, xAODCaloClusterAuxContainerCnv_v1 > xAODCaloClusterAuxContainerCnvBase
Base class for the converter.