a IJetSelector implementation which select according to ratio of attributes More...
#include <JetAttributeSelector.h>
Public Member Functions | |
JetAttributeRatioSelector (const std::string &t) | |
virtual StatusCode | initialize () |
virtual int | keep (const xAOD::Jet &jet) const |
Protected Attributes | |
std::string | m_attName2 |
std::string | m_attType2 |
int | m_vectorAttIndex2 |
SelValueRetriever * | m_vretriever2 |
if the attribute is a vector we'll use the value at this index. else it is ignored. |
a IJetSelector implementation which select according to ratio of attributes
This class is typically usefull for ratios commonly used (like Tau3/Tau2) and which are stored as separate attributes. Same properties as above plus "Attribute2" (string) the denominator attribute name "AttributeType2" (string) the denominator attribute type "VectorIndex" (int) the index in the denominator vector.
StatusCode JetAttributeRatioSelector::initialize | ( | void | ) | [virtual] |
Dummy implementation of the initialisation function
It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...
Reimplemented from JetAttributeSelector.
int JetAttributeRatioSelector::keep | ( | const xAOD::Jet & | jet | ) | const [virtual] |
Method to select. Returns true if jet is selected.
Reimplemented from JetAttributeSelector.