#include <EtaConditionAbs.h>
Definition at line 25 of file EtaConditionAbs.h.
◆ EtaConditionAbs()
EtaConditionAbs::EtaConditionAbs |
( |
double |
etaMin, |
|
|
double |
etaMax |
|
) |
| |
◆ capacity()
virtual unsigned int EtaConditionAbs::capacity |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isSatisfied() [1/2]
◆ isSatisfied() [2/2]
Definition at line 20 of file EtaConditionAbs.cxx.
23 auto abseta = std::abs(
ip->eta());
24 bool pass = m_min <= abseta and m_max > abseta;
27 const void*
address =
static_cast<const void*
>(
this);
29 std::stringstream ss0;
30 ss0 <<
"EtaCondition: (" <<
address <<
") "
32 <<
" pass: " << std::boolalpha << pass <<
'\n';
34 auto j_addr =
static_cast<const void*
>(
ip.get());
35 std::stringstream ss1;
36 ss1 <<
" jet : ("<< j_addr <<
") abseta " << abseta <<
'\n';
38 collector->
collect(ss0.str(), ss1.str());
◆ toString()
std::string EtaConditionAbs::toString |
( |
| ) |
const |
|
overridevirtual |
◆ m_max
double EtaConditionAbs::m_max |
|
private |
◆ m_min
double EtaConditionAbs::m_min |
|
private |
◆ s_capacity
const unsigned int EtaConditionAbs::s_capacity {1} |
|
staticprivate |
The documentation for this class was generated from the following files: