Mēnsūra
|
A light-weight class to define selection on b-tagging. More...
#include <BTagger.hpp>
Public Types | |
enum | Algorithm : unsigned { Algorithm::CSV, Algorithm::JP, Algorithm::CMVA } |
Supported b-tagging algorithms. More... | |
enum | WorkingPoint { Tight, Medium, Loose } |
Supported working points for b-tagging algorithms. | |
Public Member Functions | |
BTagger (Algorithm algo, WorkingPoint wp) | |
Constructor with full initialization. | |
BTagger (BTagger const &)=default | |
Default copy constructor. | |
BTagger (BTagger &&)=default | |
Default move constructor. | |
BTagger & | operator= (BTagger const &)=default |
Default assignment operator. | |
Algorithm | GetAlgorithm () const |
Returns the b-tagging algorithm in use. | |
std::string | GetTextCode () const |
Returns a string that encodes the algorithm and the working point. | |
WorkingPoint | GetWorkingPoint () const |
Returns the working point in use. | |
std::size_t | Hash () const |
Hash function to use BTagger in an unordered map. | |
bool | operator== (BTagger const &other) const |
Equality operator. | |
Static Public Member Functions | |
static std::string | AlgorithmToTextCode (Algorithm algo) |
Converts algorithm ID to a text code. | |
static constexpr double | GetMaxPseudorapidity () |
Returns maximal jet pseudorapidity for which b-tagging is supported. More... | |
static std::string | WorkingPointToTextCode (WorkingPoint wp) |
Converts working point ID to a text code. | |
A light-weight class to define selection on b-tagging.
The class stores selected b-tagging algorithm and working point. It is strongly recommended to defined b-tagged jets with the help of this class instead of explicit cuts on values of b-tagging disriminators.
|
strong |
Supported b-tagging algorithms.
Enumerator | |
---|---|
CSV |
Combined secondary vertex, v2. |
JP |
Jet probability. |
CMVA |
Combined MVA, v2. |
|
static |
Returns maximal jet pseudorapidity for which b-tagging is supported.
A very small fraction of jets with larger pseudorapidity can be b-tagged, but they should not be considered as such in an analysis. One reasons is that scale factors are always constrained to |eta| < 2.4.