13 ATH_MSG_ERROR(
"As the name suggests, ClusterAtMLScaleTool cannot operate on objects of type "
15 return StatusCode::FAILURE;
17 return StatusCode::SUCCESS;
28 if (clusterMLCorrectedEnergyAccessor.
isAvailable(*cl))
30 cl->setCalE( clusterMLCorrectedEnergyAccessor(*cl) );
35 <<
"' found for cluster with index " << cl->index()
36 <<
". Cluster energy is set to EM energy.");
37 cl->setCalE( cl->rawE() );
40 cl->setCalM( cl->rawM() );
41 cl->setCalPhi( cl->rawPhi() );
42 cl->setCalEta( cl->rawEta() );
45 return StatusCode::SUCCESS;
53 return StatusCode::FAILURE;
#define ATH_MSG_WARNING(x)
JetConstituentModifierBase(const std::string &name)
SG::Accessor< T, ALLOC > Accessor
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
@ CaloCluster
The object is a calorimeter cluster.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.