#include <DijetDEtaCondition.h>
Definition at line 26 of file DijetDEtaCondition.h.
◆ DijetDEtaCondition()
DijetDEtaCondition::DijetDEtaCondition |
( |
double |
detaMin, |
|
|
double |
detaMax |
|
) |
| |
◆ capacity()
virtual unsigned int DijetDEtaCondition::capacity |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isSatisfied()
Implements ICondition.
Definition at line 21 of file DijetDEtaCondition.cxx.
26 ss <<
"Dijet::isSatisfied must see exactly 2 particles, but received "
30 throw std::runtime_error(
ss.str());
36 auto eta0 = j0->eta();
38 auto adeta = std::abs(eta0 -
eta1);
43 std::stringstream ss0;
44 const void*
address =
static_cast<const void*
>(
this);
45 ss0 <<
"DijetDEtaCondition: (" <<
address
46 <<
") adeta " << adeta
47 <<
" pass: " <<std::boolalpha << pass <<
" jet group: \n";
49 std::stringstream ss1;
51 for(
const auto&
ip : ips){
52 address =
static_cast<const void*
>(
ip.get());
53 ss1 <<
" " <<
address <<
" " <<
ip->eta() <<
" e " <<
ip->e() <<
'\n';
56 collector ->
collect(ss0.str(), ss1.str());
◆ passDijetDEtaCuts()
◆ passJetCuts()
◆ toString()
std::string DijetDEtaCondition::toString |
( |
| ) |
const |
|
overridevirtual |
◆ m_max
double DijetDEtaCondition::m_max |
|
private |
◆ m_min
double DijetDEtaCondition::m_min |
|
private |
◆ s_capacity
const unsigned int DijetDEtaCondition::s_capacity {2} |
|
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...