10 declareInterface<IJetDecorator>(
this);
17 ATH_MSG_ERROR(
"HIJetMaxOverMeanTool needs to have its input jet container name configured!");
18 return StatusCode::FAILURE;
27 return StatusCode::SUCCESS;
42 for (
const auto *constituent : constituents)
44 float et=constituent->e()/std::cosh(constituent->eta());
52 if(sum!=0.) D=
max/sum;
55 jetMaxConstituentETDecorHandle(*
jet) =
max;
56 jetMaxOverMeanDecorHandle(*
jet) = D;
59 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Handle class for adding a decoration to an object.
Handle class for adding a decoration to an object.
A vector of jet constituents at the scale used during jet finding.
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string
Jet_v1 Jet
Definition of the current "jet version".
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Extra patterns decribing particle interation process.