#include <TimingCondition.h>
Definition at line 22 of file TimingCondition.h.
◆ TimingCondition()
TimingCondition::TimingCondition |
( |
double |
t_min, |
|
|
double |
t_max |
|
) |
| |
◆ capacity()
virtual unsigned int TimingCondition::capacity |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isSatisfied()
Implements ICondition.
Definition at line 19 of file TimingCondition.cxx.
23 ss <<
"TimingCondition::isSatisfied must see exactly 1 particle, but received "
26 throw std::runtime_error(
ss.str());
32 if(!(
jet->getAttribute(
"Timing",
timing))){
33 throw std::runtime_error(
"ERROR: TimingCondition cannot retrieve jet moment 'Timing'");
38 std::stringstream ss0;
39 const void*
address =
static_cast<const void*
>(
this);
40 ss0 <<
"TimingCondition: (" <<
address
41 <<
") timing[" <<
m_min <<
", " <<
m_max <<
"]"
42 <<
" pass: " <<std::boolalpha << pass <<
'\n';
45 auto j_addr =
static_cast<const void*
>(
jet.get());
46 std::stringstream ss1;
48 ss1 <<
" jet : " << j_addr <<
") timing " <<
timing <<
'\n';
49 collector ->
collect(ss0.str(), ss1.str());
◆ toString()
std::string TimingCondition::toString |
( |
| ) |
const |
|
overridevirtual |
◆ m_max
double TimingCondition::m_max |
|
private |
◆ m_min
double TimingCondition::m_min |
|
private |
◆ s_capacity
const unsigned int TimingCondition::s_capacity {1} |
|
staticprivate |
The documentation for this class was generated from the following files:
void collect(const HLT::TriggerElement *te, std::vector< Trig::Feature< T > > &data, const std::string &label, unsigned int condition, const std::string &teName, const HLT::TrigNavStructure *navstructure)
actual feature acceess implementation It has (thanks to the ClassTraits) functionality to flatten con...