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 return StatusCode::FAILURE;
38 cl->setCalM( cl->rawM() );
39 cl->setCalPhi( cl->rawPhi() );
40 cl->setCalEta( cl->rawEta() );
43 return StatusCode::SUCCESS;
51 return StatusCode::FAILURE;
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.