#include <DijetMassCondition.h>
Definition at line 26 of file DijetMassCondition.h.
◆ DijetMassCondition()
DijetMassCondition::DijetMassCondition |
( |
double |
massMin, |
|
|
double |
massMax |
|
) |
| |
◆ capacity()
virtual unsigned int DijetMassCondition::capacity |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isSatisfied()
Implements ICondition.
Definition at line 21 of file DijetMassCondition.cxx.
26 ss <<
"DijetMassCondition::isSatisfied must see exactly 2 particles, but received "
30 throw std::runtime_error(
ss.str());
36 auto rj0 = j0 -> p4();
37 auto rj1 =
j1 -> p4();
39 auto mass = (rj0 + rj1).M();
44 std::stringstream ss0;
45 const void*
address =
static_cast<const void*
>(
this);
46 ss0 <<
"DijetMassCondition: (" <<
address <<
") "
48 << std::boolalpha << pass <<
" jet group: \n";
50 std::stringstream ss1;
52 for(
const auto&
ip : ips){
53 address =
static_cast<const void*
>(
ip.get());
54 ss1 <<
" " <<
address <<
" " <<
ip->eta() <<
" e " <<
ip->e() <<
'\n';
57 collector ->
collect(ss0.str(), ss1.str());
◆ passDijetMassCuts()
◆ passJetCuts()
◆ toString()
std::string DijetMassCondition::toString |
( |
| ) |
const |
|
overridevirtual |
◆ m_max
double DijetMassCondition::m_max |
|
private |
◆ m_min
double DijetMassCondition::m_min |
|
private |
◆ s_capacity
const unsigned int DijetMassCondition::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...