A class to select tau. More...
#include <TauSelector.h>
Public Member Functions | |
TauSelector () | |
Default ctor. | |
virtual bool | isBaseline (const Tau &tau) |
dtor (for now we don't have anything to delete) | |
bool | isBaseline (const Tau *tau) |
wraps above | |
virtual bool | isSignal (const Tau &tau) |
whether tau passes the signal criteria | |
virtual bool | isSignal (const Tau *tau) |
wraps above | |
virtual bool | passBdtBaseline (const Tau &) |
virtual bool | passBdtSignal (const Tau &) |
Static Public Member Functions | |
static TauSelector * | build (const AnalysisType &a, bool verbose) |
provide analysis-specific selector (or vanilla one if analysis is unknown) | |
Protected Attributes | |
bool | m_verbose |
whether it should be verbose |
A class to select tau.
The generic TauSelector implements the generic definitions from https://twiki.cern.ch/twiki/bin/viewauth/AtlasProtected/SusyObjectDefinitionsr2013TeV#Taus
Analysis-dependent criteria should be implemented in your analysis-specific class inheriting from TauSelector.
The analysis-specific selector should be instantiated with TauSelector::build().
For details on the design and implementation of this class, see the documentation for JetSelector.
davide.gerbaudo@gmail.com, Sep 2015
TauSelector * Susy::TauSelector::build | ( | const AnalysisType & | a, |
bool | verbose | ||
) | [static] |
provide analysis-specific selector (or vanilla one if analysis is unknown)
The user owns the selector (i.e. should use std::shared_ptr or delete it when done with it).
bool Susy::TauSelector::isBaseline | ( | const Tau & | tau | ) | [virtual] |
dtor (for now we don't have anything to delete)
whether tau passes the signal criteria Usually pt+bdt
bool Susy::TauSelector::isSignal | ( | const Tau & | tau | ) | [virtual] |
whether tau passes the signal criteria
Usually baseline + bdt
bool Susy::TauSelector::passBdtBaseline | ( | const Tau & | tau | ) | [virtual] |
bool Susy::TauSelector::passBdtSignal | ( | const Tau & | tau | ) | [virtual] |