#include <PhiCondition.h>
Definition at line 26 of file PhiCondition.h.
◆ PhiCondition()
| PhiCondition::PhiCondition |
( |
double | phiMin, |
|
|
double | phiMax ) |
◆ capacity()
| virtual unsigned int PhiCondition::capacity |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isSatisfied() [1/2]
Implements ICondition.
Definition at line 45 of file PhiCondition.cxx.
46 {
49}
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
◆ isSatisfied() [2/2]
Definition at line 19 of file PhiCondition.cxx.
20 {
21
24
25 if(collector){
26 const void* address = static_cast<const void*>(this);
27
28 std::stringstream ss0;
29 ss0 << "PhiCondition: (" << address << ") "
31 << " pass: " << std::boolalpha << pass << '\n';
32
33 auto j_addr =
static_cast<const void*
>(
ip.get());
34 std::stringstream ss1;
35 ss1 <<
" jet : ("<< j_addr <<
") phi " <<
phi <<
'\n';
36
37 collector->
collect(ss0.str(), ss1.str());
38
39 }
40 return pass;
41}
Scalar phi() const
phi method
virtual void collect(const std::string &, const std::string &)=0
◆ toString()
| std::string PhiCondition::toString |
( |
| ) |
const |
|
overridevirtual |
Implements ICondition.
Definition at line 52 of file PhiCondition.cxx.
52 {
54 ss <<
"PhiCondition (" <<
this <<
") phiMin "
56 << " phiMax "
58 <<'\n';
59
61}
◆ m_max
| double PhiCondition::m_max |
|
private |
◆ m_min
| double PhiCondition::m_min |
|
private |
◆ s_capacity
| const unsigned int PhiCondition::s_capacity {1} |
|
staticprivate |
The documentation for this class was generated from the following files: