Template to read xAOD::Jet variables.
More...
#include <InputVariable.h>
|
| | 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 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.
|
template<typename T>
class JetHelper::InputVariableAttribute< T >
Template to read xAOD::Jet variables.
Definition at line 91 of file InputVariable.h.
◆ InputVariableAttribute()
◆ createVariable()
| std::unique_ptr< InputVariable > JetHelper::InputVariable::createVariable |
( |
const std::string & | name, |
|
|
const std::string & | type, |
|
|
const bool | isJetVar ) |
|
staticinherited |
This function specialize the variable to the one choose by the user.
◆ getName()
| const std::string & JetHelper::InputVariable::getName |
( |
| ) |
const |
|
inlineinherited |
This function return the name of the variable.
Definition at line 54 of file InputVariable.h.
◆ getScale()
| float JetHelper::InputVariable::getScale |
( |
| ) |
const |
|
inlineinherited |
This function return the scale of the variable.
Definition at line 56 of file InputVariable.h.
◆ getValue()
◆ getValue_prot()
| virtual float JetHelper::InputVariable::getValue_prot |
( |
const xAOD::Jet & | jet, |
|
|
const JetContext & | jc ) const |
|
inlinenodiscardprotectedvirtualinherited |
◆ setGeV()
| void JetHelper::InputVariable::setGeV |
( |
| ) |
|
|
inlineinherited |
This function set the scale to GeV, assuming MeV by default.
Definition at line 60 of file InputVariable.h.
◆ setMeV()
| void JetHelper::InputVariable::setMeV |
( |
| ) |
|
|
inlineinherited |
This function set the scale to MeV, assuming MeV by default (it does nothing)
Definition at line 62 of file InputVariable.h.
◆ setScale()
| void JetHelper::InputVariable::setScale |
( |
const float | scale | ) |
|
|
inlineinherited |
This function set the scale of the variable.
Definition at line 58 of file InputVariable.h.
◆ m_acc
◆ m_customFunction
| std::function<float(const xAOD::Jet& jet, const JetContext& jc)> JetHelper::InputVariable::m_customFunction |
|
protectedinherited |
◆ m_name
| const std::string JetHelper::InputVariable::m_name |
|
protectedinherited |
◆ m_scale
| float JetHelper::InputVariable::m_scale |
|
protectedinherited |
The documentation for this class was generated from the following file: