#include <QjetMassCondition.h>
Definition at line 26 of file QjetMassCondition.h.
◆ QjetMassCondition()
QjetMassCondition::QjetMassCondition |
( |
double |
massMin, |
|
|
double |
massMax |
|
) |
| |
◆ capacity()
virtual unsigned int QjetMassCondition::capacity |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isSatisfied()
Implements ICondition.
Definition at line 20 of file QjetMassCondition.cxx.
25 ss <<
"QjetMassCondition::isSatisfied must see exactly 4 particles, but received "
29 throw std::runtime_error(
ss.str());
37 auto rj0 = j0 -> p4();
38 auto rj1 =
j1 -> p4();
39 auto rj2 =
j2 -> p4();
40 auto rj3 = j3 -> p4();
42 auto mass = (rj0 + rj1 + rj2 + rj3).M();
47 std::stringstream ss0;
48 const void*
address =
static_cast<const void*
>(
this);
49 ss0 <<
"QjetMassCondition: (" <<
address <<
") "
50 <<
mass <<
" " << std::boolalpha << pass <<
" jet group: \n";
52 std::stringstream ss1;
54 for(
const auto&
ip : ips){
55 address =
static_cast<const void*
>(
ip.get());
56 ss1 <<
" " <<
address <<
" eta " <<
ip->eta()
57 <<
" e " <<
ip->e() <<
" et: " <<
ip->et() <<
'\n';
60 collector ->
collect(ss0.str(), ss1.str());
◆ passJetCuts()
◆ passQjetMassCuts()
◆ toString()
std::string QjetMassCondition::toString |
( |
| ) |
const |
|
overridevirtual |
◆ m_max
double QjetMassCondition::m_max |
|
private |
◆ m_min
double QjetMassCondition::m_min |
|
private |
◆ s_capacity
const unsigned int QjetMassCondition::s_capacity {4} |
|
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...