#include <JVTCondition.h>
Definition at line 24 of file JVTCondition.h.
◆ JVTCondition()
JVTCondition::JVTCondition |
( |
double |
workingPoint | ) |
|
◆ capacity()
virtual unsigned int JVTCondition::capacity |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isSatisfied()
Implements ICondition.
Definition at line 18 of file JVTCondition.cxx.
22 ss <<
"Dijet::isSatisfied must see exactly 1 particle, but received "
25 throw std::runtime_error(
ss.str());
31 auto pt =
jet->pt() * 0.001;
33 if(!(
jet->getAttribute(
"DetectorEta",detEta))){
34 throw std::runtime_error(
"JVT condition cannot retrieve variable 'DetectorEta', 'DetectorEta' does not exist");
36 auto absdetEta = std::abs(detEta);
43 if(!(
jet->getAttribute(
"Jvt",jvt))){
44 throw std::runtime_error(
"JVT condition cannot retrieve variable 'Jvt', 'Jvt' does not exist");
51 std::stringstream ss0;
52 const void*
address =
static_cast<const void*
>(
this);
53 ss0 <<
"JVTCondition: (" <<
address
56 <<
" absdetEta " << absdetEta
57 <<
" pass: " <<std::boolalpha << pass <<
" jet group: \n";
59 std::stringstream ss1;
61 for(
const auto&
ip : ips){
62 address =
static_cast<const void*
>(
ip.get());
63 ss1 <<
" " <<
address <<
" " <<
ip->eta() <<
" pt " <<
ip->pt() <<
'\n';
66 collector ->
collect(ss0.str(), ss1.str());
◆ toString()
std::string JVTCondition::toString |
( |
| ) |
const |
|
overridevirtual |
◆ m_maxEta
double JVTCondition::m_maxEta = 2.5 |
|
private |
◆ m_maxPt
double JVTCondition::m_maxPt = 60 |
|
private |
◆ m_workingPoint
double JVTCondition::m_workingPoint |
|
private |
◆ s_capacity
const unsigned int JVTCondition::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...