9 , m_IPFSubtractionTools(this)
10 , m_IPFBaseTools(this)
32 return StatusCode::SUCCESS;
45 ATH_CHECK(eflowCaloObjectsWriteHandle.
record(std::make_unique<eflowCaloObjectContainer>()));
49 ATH_CHECK(caloClustersWriteHandle.
record(std::make_unique<xAOD::CaloClusterContainer>(),
50 std::make_unique<xAOD::CaloClusterAuxContainer>()));
51 ATH_MSG_DEBUG(
"CaloClusterWriteHandle has container of size" << caloClustersWriteHandle->
size());
58 ATH_CHECK(eflowRecClustersWriteHandle.
record(std::make_unique<eflowRecClusterContainer>()));
68 thisIPFSubtractionTool->execute(theElowCaloObjectContainer,&localEFlowRecTrackContainer,&theEFlowRecClusterContainerReference);
73 for (
auto thisEFTrack : localEFlowRecTrackContainer) {
74 msg() <<
"This efRecTrack has E,pt,eta and phi of " << thisEFTrack->getTrack()->e() <<
", "
75 << thisEFTrack->getTrack()->pt() <<
", " << thisEFTrack->getTrack()->eta() <<
" and "
76 << thisEFTrack->getTrack()->phi() <<
endmsg;
79 for (
auto thisEFCluster : *(eflowRecClustersWriteHandle.
ptr())) {
80 msg() <<
"This efRecCluster has E,pt,eta and phi of " << thisEFCluster->getCluster()->e() <<
","
81 << thisEFCluster->getCluster()->pt() <<
", " << thisEFCluster->getCluster()->eta() <<
" and "
82 << thisEFCluster->getCluster()->phi() <<
endmsg;
86 N_efrClusters = theEFlowRecClusterContainerReference.
size();
90 ATH_CHECK(thisIPFBaseTool->execute(*theElowCaloObjectContainer));
94 return StatusCode::SUCCESS;
101 ATH_MSG_VERBOSE(
"List of IPFSubtraction tools in execution sequence:");
104 unsigned int subtractionToolCtr = 0;
106 subtractionToolCtr++;
107 ATH_MSG_VERBOSE(std::setw(2) << std::setiosflags(std::ios_base::right) << subtractionToolCtr <<
".) "
108 << std::resetiosflags(std::ios_base::right) << std::setw(36) << std::setfill(
'.')
109 << std::setiosflags(std::ios_base::left) << thisIPFSubtractionTool->type() << std::setfill(
'.')
110 << thisIPFSubtractionTool->name() << std::setfill(
' '));
119 unsigned int baseToolCtr = 0;
122 ATH_MSG_VERBOSE(std::setw(2) << std::setiosflags(std::ios_base::right) << baseToolCtr <<
".) "
123 << std::resetiosflags(std::ios_base::right) << std::setw(36) << std::setfill(
'.')
124 << std::setiosflags(std::ios_base::left) << thisIPFBaseTool->type() << std::setfill(
'.')
125 << thisIPFBaseTool->name() << std::setfill(
' '));