#include <GNTauCondition.h>
Definition at line 26 of file GNTauCondition.h.
◆ GNTauCondition()
GNTauCondition::GNTauCondition |
( |
double |
workingPoint, |
|
|
const std::string & |
decName_ptau, |
|
|
const std::string & |
decName_pu, |
|
|
const std::string & |
decName_isValid = "" |
|
) |
| |
◆ capacity()
virtual unsigned int GNTauCondition::capacity |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ evaluateGNTau()
float GNTauCondition::evaluateGNTau |
( |
const float & |
gntau_ptau, |
|
|
const float & |
gntau_pu |
|
) |
| const |
◆ getGNTauDecValue()
Definition at line 27 of file GNTauCondition.cxx.
32 float momentValue = -1;
33 if (!(
ip->getAttribute(decName, momentValue)))
37 auto j_addr =
static_cast<const void *
>(
ip.get());
39 std::stringstream ss0;
40 ss0 <<
"GNTauCondition: "
41 <<
" unable to retrieve " << decName <<
'\n';
42 std::stringstream ss1;
43 ss1 <<
" jet : (" << j_addr <<
")";
44 collector->
collect(ss0.str(), ss1.str());
47 throw std::runtime_error(
"Impossible to retrieve decorator \'" + decName +
"\' for jet hypo");
◆ isSatisfied() [1/2]
◆ isSatisfied() [2/2]
Definition at line 58 of file GNTauCondition.cxx.
67 if (!
jet)
throw std::runtime_error(
"Fast gntau has to run on xAOD::Jet");
69 if (
valid == 0)
return false;
81 const void *
address =
static_cast<const void *
>(
this);
83 std::stringstream ss0;
84 ss0 <<
"GNTauCondition: (" <<
address
86 <<
" pass: " << std::boolalpha << pass <<
'\n';
88 auto j_addr =
static_cast<const void *
>(
ip.get());
89 std::stringstream ss1;
90 ss1 <<
" jet : (" << j_addr <<
") "
93 collector->
collect(ss0.str(), ss1.str());
◆ toString()
std::string GNTauCondition::toString |
( |
| ) |
const |
|
overridevirtual |
◆ m_decName_isValid
std::string GNTauCondition::m_decName_isValid |
|
private |
◆ m_decName_ptau
std::string GNTauCondition::m_decName_ptau |
|
private |
◆ m_decName_pu
std::string GNTauCondition::m_decName_pu |
|
private |
◆ m_workingPoint
double GNTauCondition::m_workingPoint |
|
private |
◆ s_capacity
const unsigned int GNTauCondition::s_capacity {1} |
|
staticprivate |
The documentation for this class was generated from the following files: