|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef JETTOOLHELPERS_INPUTVARIABLE_H
6 #define JETTOOLHELPERS_INPUTVARIABLE_H
33 const std::string&
name,
34 const std::string&
type,
41 const std::string&
name,
84 return event.getValue<T>(
m_name);
86 throw std::runtime_error(
"Value " +
m_name +
" is not available");
98 throw std::runtime_error(
"Value " +
m_name +
" is not available");
Class JetContext Designed to read AOD information related to the event, N vertices,...
Helper class to provide constant type-safe access to aux data.
Template to read JetContext.
POOL::TEvent event(POOL::TEvent::kClassAccess)
InputVariableJetContext(const std::string &name)
Base class for elements of a container that can have aux data.
virtual float getValue(const xAOD::Jet &, const JetContext &event) const
return the value of the variable choose by the user