ATLAS Offline Software
|
#include <JetVariable.h>
Public Member Functions | |
VariableAtt (const std::string &name) | |
virtual float | value (const xAOD::Jet &j) const |
virtual bool | isVector () const |
return true if the underlying variable is of type vector<X> More... | |
virtual VectorValue | vector (const xAOD::Jet &) const |
return a helper object allowing to iterate over the underlying vector. !!! use only if isVector()==true !!! More... | |
virtual std::string | name () const |
float | scale () const |
void | setScale (float s) |
Static Public Member Functions | |
static std::unique_ptr< Variable > | create (const std::string &name, const std::string &type="float", int index=-1) |
create and return a new Variable of a given name & type. More... | |
Public Attributes | |
Accessor< T > | m_acc |
std::string | m_name |
float | m_scale = 1 |
int | m_index = -1 |
is an attribute in the EDM
Definition at line 90 of file JetVariable.h.
|
inline |
|
staticinherited |
create and return a new Variable of a given name & type.
If type is a vector an index can be specified : the variable will behave as a non-vector Variable corresponding to the value at the given index
Definition at line 10 of file JetVariable.cxx.
|
inlinevirtualinherited |
return true if the underlying variable is of type vector<X>
Reimplemented in JetVar::VariableAtt< std::vector< T > >.
Definition at line 59 of file JetVariable.h.
|
inlinevirtualinherited |
Reimplemented in JetVar::VariableAtt< std::vector< T > >.
Definition at line 65 of file JetVariable.h.
|
inlineinherited |
Definition at line 67 of file JetVariable.h.
|
inlineinherited |
Definition at line 68 of file JetVariable.h.
|
inlinevirtual |
Implements JetVar::Variable.
Definition at line 92 of file JetVariable.h.
|
inlinevirtualinherited |
return a helper object allowing to iterate over the underlying vector. !!! use only if isVector()==true !!!
Reimplemented in JetVar::VariableAtt< std::vector< T > >.
Definition at line 62 of file JetVariable.h.
Accessor<T> JetVar::VariableAtt< T >::m_acc |
Definition at line 96 of file JetVariable.h.
|
inherited |
Definition at line 78 of file JetVariable.h.
|
inherited |
Definition at line 76 of file JetVariable.h.
|
inherited |
Definition at line 77 of file JetVariable.h.