42 emscaleSum += **iconstit;
55 ATH_MSG_INFO(
"Initializing JetEMScaleMomTool " << name());
58 ATH_MSG_ERROR(
"JetEMScaleMomTool needs to have its input jet container configured!");
59 return StatusCode::FAILURE;
70 return StatusCode::SUCCESS;
84 ATH_MSG_WARNING(
"Jet constituent vector is invalid. Can't set EM scale momentum");
85 return StatusCode::FAILURE;
97 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_WARNING(x)
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Handle class for adding a decoration to an object.
A vector of jet constituents at the scale used during jet finding.
iterator begin() const
iterator on the first constituent
bool isValid() const
Check if element links are valid.
iterator end() const
iterator after the last constituent
Jet_v1 Jet
Definition of the current "jet version".
@ JetConstitScaleMomentum
JetContainer_v1 JetContainer
Definition of the current "jet container version".
@ UncalibratedJetConstituent
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
SG::WriteDecorHandle< xAOD::JetContainer, float > etaHandle
SG::WriteDecorHandle< xAOD::JetContainer, float > massHandle
SG::WriteDecorHandle< xAOD::JetContainer, float > phiHandle
p4Decorator(const SG::WriteDecorHandleKey< xAOD::JetContainer > &ptKey, const SG::WriteDecorHandleKey< xAOD::JetContainer > &etaKey, const SG::WriteDecorHandleKey< xAOD::JetContainer > &phiKey, const SG::WriteDecorHandleKey< xAOD::JetContainer > &massKey)
SG::WriteDecorHandle< xAOD::JetContainer, float > ptHandle
void decorateP4(const xAOD::Jet &jet, const xAOD::JetFourMom_t &p4)