29 ATH_MSG_ERROR(
"Incompatible configuration: ApplyToNeutralPFO=False -- what kind of pileup do you wish to suppress?");
30 return StatusCode::FAILURE;
35 ATH_MSG_ERROR(
"Incompatible configuration: ConstitTimeCutTool is not specialised for inputs of type "
37 return StatusCode::FAILURE;
53 return StatusCode::SUCCESS;
79 float lambda_center(0.);
88 ATH_MSG_WARNING(
"Failed to retrieve the PFO informations necessary for timing cut at PFO #" << pfo->index());
98 ATH_MSG_ERROR(
"ConstitTimeCutTool received FlowElements that aren't PFOs, this isn't supported!");
99 return StatusCode::FAILURE;
108 float time = timing_handle(*fe);
109 float quality = larQ_handle(*fe);
110 float lambda_center = lambda_handle(*fe);
119 return StatusCode::FAILURE;
121 return StatusCode::SUCCESS;
137 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_ERROR(x,...)
#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.
StatusCode setEnergyPt(xAOD::IParticle *obj, float e, float pt) const
JetConstituentModifierBase(const std::string &name)
Handle class for reading a decoration on an object.
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.