30 ATH_MSG_ERROR(
"Incompatible configuration: ApplyToNeutralPFO=False -- what kind of pileup do you wish to suppress?");
31 return StatusCode::FAILURE;
36 ATH_MSG_ERROR(
"Incompatible configuration: ConstitTimeCutTool is not specialised for inputs of type "
38 return StatusCode::FAILURE;
41 return StatusCode::SUCCESS;
67 float lambda_center(0.);
76 ATH_MSG_WARNING(
"Failed to retrieve the PFO informations necessary for timing cut at PFO #" << pfo->index());
86 ATH_MSG_ERROR(
"ConstitTimeCutTool received FlowElements that aren't PFOs, this isn't supported!");
87 return StatusCode::FAILURE;
94 float time = acc_timing(*fe);
95 float quality = acc_larq(*fe);
96 float lambda_center = acc_clambda(*fe);
105 return StatusCode::FAILURE;
107 return StatusCode::SUCCESS;
123 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
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)
StatusCode setEnergyPt(xAOD::IParticle *obj, float e, float pt, const SG::AuxElement::Accessor< float > *weightAcc=nullptr) const
SG::ConstAccessor< T, ALLOC > ConstAccessor
signal_t signalType() const
Class providing the definition of the 4-vector interface.
@ ParticleFlow
The object is a particle-flow object.
@ FlowElement
The object is a track-calo-cluster.
@ CaloCluster
The object is a calorimeter cluster.
FlowElementContainer_v1 FlowElementContainer
Definition of the current "pfo container version".
PFO_v1 PFO
Definition of the current "pfo version".
PFOContainer_v1 PFOContainer
Definition of the current "pfo container version".
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
FlowElement_v1 FlowElement
Definition of the current "pfo version".
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.