43 ATH_CHECK(eflowCaloObjectsWriteHandle.
record(std::make_unique<eflowCaloObjectContainer>()));
47 ATH_CHECK(caloClustersWriteHandle.
record(std::make_unique<xAOD::CaloClusterContainer>(),
48 std::make_unique<xAOD::CaloClusterAuxContainer>()));
49 ATH_MSG_DEBUG(
"CaloClusterWriteHandle has container of size" << caloClustersWriteHandle->size());
56 ATH_CHECK(eflowRecClustersWriteHandle.
record(std::make_unique<eflowRecClusterContainer>()));
68 data.caloObjects = theElowCaloObjectContainer;
75 ATH_CHECK(thisIPFUnifiedBaseTool->processPFlowData(ctx, data));
81 thisIPFSubtractionTool->execute(
83 theElowCaloObjectContainer,
84 &localEFlowRecTrackContainer,
85 &theEFlowRecClusterContainerReference);
90 for (
auto thisEFTrack : localEFlowRecTrackContainer) {
91 msg() <<
"This efRecTrack has E,pt,eta and phi of " << thisEFTrack->getTrack()->e() <<
", "
92 << thisEFTrack->getTrack()->pt() <<
", " << thisEFTrack->getTrack()->eta() <<
" and "
93 << thisEFTrack->getTrack()->phi() <<
endmsg;
96 for (
auto thisEFCluster : *(eflowRecClustersWriteHandle.
ptr())) {
97 msg() <<
"This efRecCluster has E,pt,eta and phi of " << thisEFCluster->getCluster()->e() <<
","
98 << thisEFCluster->getCluster()->pt() <<
", " << thisEFCluster->getCluster()->eta() <<
" and "
99 << thisEFCluster->getCluster()->phi() <<
endmsg;
103 N_efrClusters = theEFlowRecClusterContainerReference.
size();
107 ATH_CHECK(thisIPFBaseTool->execute(ctx, *theElowCaloObjectContainer));
112 return StatusCode::SUCCESS;
119 ATH_MSG_VERBOSE(
"List of IPFSubtraction tools in execution sequence:");
122 unsigned int subtractionToolCtr = 0;
124 subtractionToolCtr++;
125 ATH_MSG_VERBOSE(std::setw(2) << std::setiosflags(std::ios_base::right) << subtractionToolCtr <<
".) "
126 << std::resetiosflags(std::ios_base::right) << std::setw(36) << std::setfill(
'.')
127 << std::setiosflags(std::ios_base::left) << thisIPFSubtractionTool->type() << std::setfill(
'.')
128 << thisIPFSubtractionTool->name() << std::setfill(
' '));
137 unsigned int baseToolCtr = 0;
140 ATH_MSG_VERBOSE(std::setw(2) << std::setiosflags(std::ios_base::right) << baseToolCtr <<
".) "
141 << std::resetiosflags(std::ios_base::right) << std::setw(36) << std::setfill(
'.')
142 << std::setiosflags(std::ios_base::left) << thisIPFBaseTool->type() << std::setfill(
'.')
143 << thisIPFBaseTool->name() << std::setfill(
' '));