Class InputVariable This is design to read any kind of xAOD::Jet or JetContext variable e.g pt, eta, phi, m ..etc The user need to initialize the class with the name of the variable and the scale.
More...
#include <InputVariable.h>
Class InputVariable This is design to read any kind of xAOD::Jet or JetContext variable e.g pt, eta, phi, m ..etc The user need to initialize the class with the name of the variable and the scale.
Definition at line 26 of file InputVariable.h.
◆ InputVariable() [1/3]
JetHelper::InputVariable::InputVariable |
( |
const std::string & |
name | ) |
|
|
inline |
◆ InputVariable() [2/3]
◆ ~InputVariable()
virtual JetHelper::InputVariable::~InputVariable |
( |
| ) |
|
|
virtualdefault |
◆ InputVariable() [3/3]
◆ createVariable()
static std::unique_ptr<InputVariable> JetHelper::InputVariable::createVariable |
( |
const std::string & |
name, |
|
|
const std::string & |
type, |
|
|
const bool |
isJetVar |
|
) |
| |
|
static |
This function specialize the variable to the one choose by the user.
◆ getName()
const std::string& JetHelper::InputVariable::getName |
( |
| ) |
const |
|
inline |
This function return the name of the variable.
Definition at line 54 of file InputVariable.h.
◆ getScale()
float JetHelper::InputVariable::getScale |
( |
| ) |
const |
|
inline |
This function return the scale of the variable.
Definition at line 56 of file InputVariable.h.
◆ getValue()
◆ getValue_prot()
◆ setGeV()
void JetHelper::InputVariable::setGeV |
( |
| ) |
|
|
inline |
This function set the scale to GeV, assuming MeV by default.
Definition at line 60 of file InputVariable.h.
◆ setMeV()
void JetHelper::InputVariable::setMeV |
( |
| ) |
|
|
inline |
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 | ) |
|
|
inline |
This function set the scale of the variable.
Definition at line 58 of file InputVariable.h.
◆ m_customFunction
◆ m_name
const std::string JetHelper::InputVariable::m_name |
|
protected |
◆ m_scale
float JetHelper::InputVariable::m_scale |
|
protected |
The documentation for this class was generated from the following file: