19 ATH_MSG_ERROR(
"As the name suggests, CaloClusterConstituentsOrigin cannot operate on objects of type "
21 return StatusCode::FAILURE;
24 return StatusCode::SUCCESS;
37 const auto *vertexContainer = handle.cptr();
45 return StatusCode::SUCCESS;
54 cl->setEta(corrCL.
eta());
55 cl->setPhi(corrCL.
phi());
58 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Evaluate cluster kinematics with a different vertex / signal state.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
CaloClusterConstituentsOrigin(const std::string &name)
StatusCode correctToOriginVtx(xAOD::CaloClusterContainer &cont, const xAOD::Vertex &vert) const
SG::ReadHandleKey< xAOD::VertexContainer > m_readVertexContainer_key
StatusCode initialize()
Dummy implementation of the initialisation function.
StatusCode process_impl(xAOD::IParticleContainer *cont) const
JetConstituentModifierBase(const std::string &name)
virtual double phi() const final
The azimuthal angle ( ) of the particle.
virtual double eta() const final
The pseudorapidity ( ) of the particle.
Evaluate cluster kinematics with a different vertex / signal state.
const Amg::Vector3D & position() const
Returns the 3-pos.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
@ CaloCluster
The object is a calorimeter cluster.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Vertex_v1 Vertex
Define the latest version of the vertex class.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.