![]() |
ATLAS Offline Software
|
Template to read xAOD::Jet variables. More...
#include <InputVariable.h>
Public Member Functions | |
| InputVariableAttribute (const std::string &name) | |
| virtual float | getValue (const xAOD::Jet &jet, const JetContext &) const |
| return the value of the variable choose by the user | |
| const std::string & | getName () const |
| This function return the name of the variable. | |
| float | getScale () const |
| This function return the scale of the variable. | |
| void | setScale (const float scale) |
| This function set the scale of the variable. | |
| void | setGeV () |
| This function set the scale to GeV, assuming MeV by default. | |
| void | setMeV () |
| This function set the scale to MeV, assuming MeV by default (it does nothing). | |
Static Public Member Functions | |
| static std::unique_ptr< InputVariable > | createVariable (const std::string &name, const std::string &type, const bool isJetVar) |
| This function specialize the variable to the one choose by the user. | |
Protected Member Functions | |
| virtual float | getValue_prot (const xAOD::Jet &jet, const JetContext &jc) const |
Protected Attributes | |
| const std::string | m_name |
| float | m_scale |
| std::function< float(const xAOD::Jet &jet, const JetContext &jc)> | m_customFunction |
Private Attributes | |
| SG::AuxElement::ConstAccessor< T > | m_acc |
Template to read xAOD::Jet variables.
Definition at line 91 of file InputVariable.h.
|
inline |
Definition at line 93 of file InputVariable.h.
|
staticinherited |
This function specialize the variable to the one choose by the user.
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
return the value of the variable choose by the user
Reimplemented from JetHelper::InputVariable.
Definition at line 94 of file InputVariable.h.
|
inlinenodiscardprotectedvirtualinherited |
Definition at line 72 of file InputVariable.h.
|
inlineinherited |
This function set the scale to GeV, assuming MeV by default.
Definition at line 60 of file InputVariable.h.
|
inlineinherited |
This function set the scale to MeV, assuming MeV by default (it does nothing).
Definition at line 62 of file InputVariable.h.
|
inlineinherited |
|
private |
Definition at line 102 of file InputVariable.h.
|
protectedinherited |
Definition at line 70 of file InputVariable.h.
|
protectedinherited |
Definition at line 67 of file InputVariable.h.
|
protectedinherited |
Definition at line 68 of file InputVariable.h.