14 return StatusCode::SUCCESS;
19 std::unique_ptr<eflowRecClusterContainer>
result = std::make_unique<eflowRecClusterContainer>();
22 for (
auto thisEflowCaloObject : theEflowCaloObjectContainer){
25 unsigned int nClusters = thisEflowCaloObject->nClusters();
26 for (
unsigned int iCluster = 0; iCluster < nClusters; ++iCluster) {
27 eflowRecCluster* thisEfRecCluster = thisEflowCaloObject->efRecCluster(iCluster);
30 if (!useNonModifiedClusters && !thisEfRecCluster->
isTouchable() ) {
34 result->push_back(thisEfRecCluster);
43 std::unique_ptr<xAOD::CaloClusterContainer>
result = std::make_unique<xAOD::CaloClusterContainer>(
SG::VIEW_ELEMENTS);
46 for (
auto thisEflowCaloObject : theEflowCaloObjectContainer){
49 unsigned int nClusters = thisEflowCaloObject->nClusters();
50 for (
unsigned int iCluster = 0; iCluster < nClusters; ++iCluster) {
51 eflowRecCluster* thisEfRecCluster = thisEflowCaloObject->efRecCluster(iCluster);
54 if (!useNonModifiedClusters && !thisEfRecCluster->
isTouchable() ) {
59 result->push_back(thisCluster);
61 ATH_MSG_DEBUG(
"Adding cluster with E, eta and phi to moments maker " << thisCluster->
e() <<
", " << thisCluster->
eta() <<
" and " << thisCluster->
phi());
69 return StatusCode::SUCCESS;