![]() |
ATLAS Offline Software
|
The NNJvt cut maps. More...
#include <NNJvtBinning.h>
Public Member Functions | |
std::string | toJSON () const |
float | operator() (float pt, float eta) const |
Get the correct cut value for the provided pt/eta. More... | |
float | operator() (const xAOD::IParticle &particle) const |
Get the correct cut value for the provided particle. More... | |
float | operator() (std::size_t ptBin, std::size_t etaBin) const |
Get the correct cut value for the provided pt/eta bins. More... | |
Static Public Member Functions | |
static NNJvtCutMap | fromJSON (std::istream &is) |
Public Attributes | |
NNJvtBinning | edges |
std::vector< std::vector< float > > | cutMap |
The NNJvt cut maps.
Definition at line 50 of file NNJvtBinning.h.
|
static |
Definition at line 90 of file NNJvtBinning.cxx.
float JetPileupTag::NNJvtCutMap::operator() | ( | const xAOD::IParticle & | particle | ) | const |
Get the correct cut value for the provided particle.
Returns -1 if out of bounds
particle | The particle to test |
Definition at line 107 of file NNJvtBinning.cxx.
float JetPileupTag::NNJvtCutMap::operator() | ( | float | pt, |
float | eta | ||
) | const |
Get the correct cut value for the provided pt/eta.
Returns -1 if out of bounds
pt | The pt of the object |
eta | The eta of the object |
Definition at line 100 of file NNJvtBinning.cxx.
float JetPileupTag::NNJvtCutMap::operator() | ( | std::size_t | ptBin, |
std::size_t | etaBin | ||
) | const |
Get the correct cut value for the provided pt/eta bins.
Both indices must be in bounds
ptBinThe | pt bin of the object |
etaBin | The eta bin of the object |
Definition at line 114 of file NNJvtBinning.cxx.
std::string JetPileupTag::NNJvtCutMap::toJSON | ( | ) | const |
Definition at line 96 of file NNJvtBinning.cxx.
std::vector<std::vector<float> > JetPileupTag::NNJvtCutMap::cutMap |
Definition at line 52 of file NNJvtBinning.h.
NNJvtBinning JetPileupTag::NNJvtCutMap::edges |
Definition at line 51 of file NNJvtBinning.h.