#include <NNJVTCondition.h>
Definition at line 24 of file NNJVTCondition.h.
◆ NNJVTCondition()
NNJVTCondition::NNJVTCondition |
( |
const std::string & |
nnjvt_name | ) |
|
◆ capacity()
virtual unsigned int NNJVTCondition::capacity |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isSatisfied()
Implements ICondition.
Definition at line 18 of file NNJVTCondition.cxx.
22 ss <<
"NNJVTCondition::isSatisfied must see exactly 1 particle, but received "
25 throw std::runtime_error(
ss.str());
29 auto xJet = *
jet->xAODJet();
32 bool pass = (*m_nnjvtpass_acc)(*xJet);
33 float nnjvt = (*m_nnjvt_acc)(*xJet);
36 std::stringstream ss0;
37 const void*
address =
static_cast<const void*
>(
this);
38 ss0 <<
"NNJVTCondition: (" <<
address
39 <<
") nnjvt " << nnjvt
40 <<
" pt " <<
jet->pt()
41 <<
" eta " <<
jet->eta()
42 <<
" pass: " <<std::boolalpha << pass <<
" jet group: \n";
44 std::stringstream ss1;
46 for(
const auto&
ip : ips){
47 address =
static_cast<const void*
>(
ip.get());
48 ss1 <<
" " <<
address <<
" " <<
ip->eta() <<
" pt " <<
ip->pt() <<
'\n';
51 collector ->
collect(ss0.str(), ss1.str());
◆ toString()
std::string NNJVTCondition::toString |
( |
| ) |
const |
|
overridevirtual |
◆ m_nnjvt_acc
◆ m_nnjvt_name
std::string NNJVTCondition::m_nnjvt_name |
|
private |
◆ m_nnjvtpass_acc
◆ s_capacity
const unsigned int NNJVTCondition::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...