17 ATH_MSG_ERROR(
"ChargedHadronSubtractionTool requires PFO inputs. It cannot operate on objects of type "
19 return StatusCode::FAILURE;
27 return StatusCode::SUCCESS;
42 ATH_MSG_ERROR(
"This tool correctly recieved a FlowElement, but it wasn't a PFO!"
44 return StatusCode::FAILURE;
57 if (!handle.isValid())
72 for (
const auto *theVertex : *pvtxs)
81 ATH_MSG_DEBUG(
"Could not find a primary vertex in this event");
82 for (
const auto *theVertex : *pvtxs)
99 const float z0 = trk.
z0() + trk.
vz() - vtx.
z();
101 return std::abs(z0 * std::sin(
theta));
Scalar theta() const
theta method
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
const T * front() const
Access the first element in the collection as an rvalue.
bool empty() const noexcept
Returns true if the collection is empty.
JetConstituentModifierBase(const std::string &name)
signal_t signalType() const
float z0() const
Returns the parameter.
float theta() const
Returns the parameter, which has range 0 to .
float vz() const
The z origin for the parameters.
float z() const
Returns the z position.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
@ ParticleFlow
The object is a particle-flow object.
@ FlowElement
The object is a track-calo-cluster.
@ NoVtx
Dummy vertex. TrackParticle was not used in vertex fit.
FlowElementContainer_v1 FlowElementContainer
Definition of the current "pfo container version".
PFOContainer_v1 PFOContainer
Definition of the current "pfo container version".
TrackParticle_v1 TrackParticle
Reference the current persistent version:
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Vertex_v1 Vertex
Define the latest version of the vertex class.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.