ATLAS Offline Software
|
Helper struct to hold the bin edges for the NN Jvt cut maps. More...
#include <NNJvtBinning.h>
Public Member Functions | |
std::string | toJSON () const |
bool | operator() (float pt, float eta, std::size_t &ptBin, std::size_t &etaBin) const |
Get the correct bin for the provided pt/eta values. More... | |
bool | operator() (const xAOD::IParticle &particle, std::size_t &ptBin, std::size_t &etaBin) const |
Get the correct bin for the provided particle. More... | |
Static Public Member Functions | |
static NNJvtBinning | fromJSON (std::istream &is) |
Public Attributes | |
std::vector< float > | ptEdges |
std::vector< float > | etaEdges |
Helper struct to hold the bin edges for the NN Jvt cut maps.
Definition at line 23 of file NNJvtBinning.h.
|
static |
Definition at line 56 of file NNJvtBinning.cxx.
bool JetPileupTag::NNJvtBinning::operator() | ( | const xAOD::IParticle & | particle, |
std::size_t & | ptBin, | ||
std::size_t & | etaBin | ||
) | const |
Get the correct bin for the provided particle.
particle | The particle to test | |
[out] | ptBin | The pt bin this belongs to, SIZE_MAX if none |
[out] | etaBin | The eta bin this belongs to, SIZE_MAX if none |
Definition at line 85 of file NNJvtBinning.cxx.
bool JetPileupTag::NNJvtBinning::operator() | ( | float | pt, |
float | eta, | ||
std::size_t & | ptBin, | ||
std::size_t & | etaBin | ||
) | const |
Get the correct bin for the provided pt/eta values.
pt | The pt of the object | |
eta | The eta of the object | |
[out] | ptBin | The pt bin this belongs to, SIZE_MAX if none |
[out] | etaBin | The eta bin this belongs to, SIZE_MAX if none |
Definition at line 67 of file NNJvtBinning.cxx.
std::string JetPileupTag::NNJvtBinning::toJSON | ( | ) | const |
Definition at line 62 of file NNJvtBinning.cxx.
std::vector<float> JetPileupTag::NNJvtBinning::etaEdges |
Definition at line 25 of file NNJvtBinning.h.
std::vector<float> JetPileupTag::NNJvtBinning::ptEdges |
Definition at line 24 of file NNJvtBinning.h.