JetAttributeRatioSelector Class Reference

a IJetSelector implementation which select according to ratio of attributes More...

#include <JetAttributeSelector.h>

Inheritance diagram for JetAttributeRatioSelector:
JetAttributeSelector asg::AsgTool IJetSelector asg::IAsgTool asg::IAsgTool

List of all members.

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.

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1