#include <TLACondition.h>
|
| TLACondition (const std::vector< double > &etaMins, const std::vector< double > &etaMaxs, const std::vector< double > &ystarMins, const std::vector< double > &ystarMaxs, const std::vector< double > &massMins, const std::vector< double > &massMaxs) |
|
| TLACondition (double etaMin, double etaMax, double ystarMin, double ystarMax, double massMin, double massMax) |
|
| ~TLACondition () override |
|
bool | isSatisfied (const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override |
|
std::string | toString () const override |
|
virtual unsigned int | capacity () const override |
|
Definition at line 23 of file TLACondition.h.
◆ TLACondition() [1/2]
TLACondition::TLACondition |
( |
const std::vector< double > & |
etaMins, |
|
|
const std::vector< double > & |
etaMaxs, |
|
|
const std::vector< double > & |
ystarMins, |
|
|
const std::vector< double > & |
ystarMaxs, |
|
|
const std::vector< double > & |
massMins, |
|
|
const std::vector< double > & |
massMaxs |
|
) |
| |
Definition at line 13 of file TLACondition.cxx.
28 if (!ystarMins.empty()){
33 if (!ystarMaxs.empty()){
37 if (!massMins.empty()){
41 if (!massMaxs.empty()){
◆ TLACondition() [2/2]
TLACondition::TLACondition |
( |
double |
etaMin, |
|
|
double |
etaMax, |
|
|
double |
ystarMin, |
|
|
double |
ystarMax, |
|
|
double |
massMin, |
|
|
double |
massMax |
|
) |
| |
◆ ~TLACondition()
TLACondition::~TLACondition |
( |
| ) |
|
|
inlineoverride |
◆ capacity()
virtual unsigned int TLACondition::capacity |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isSatisfied()
Implements ICondition.
Definition at line 58 of file TLACondition.cxx.
62 ss <<
"TLA::isSatisfied must see exactly 2 particles, but recieved "
66 throw std::runtime_error(
ss.str());
69 auto p4_0 = ips[0]->p4();
70 auto p4_1 = ips[1]->p4();
71 auto mass = (p4_0 + p4_1).M();
72 auto eta0 = ips[0]->eta();
73 auto eta1 = ips[1]->eta();
74 auto rap0 = ips[0]->rapidity();
75 auto rap1 = ips[1]->rapidity();
76 auto ystar = 0.5*std::abs(rap0 - rap1);
◆ toString()
std::string TLACondition::toString |
( |
| ) |
const |
|
overridevirtual |
◆ m_etaMax
double TLACondition::m_etaMax |
|
private |
◆ m_etaMin
double TLACondition::m_etaMin |
|
private |
◆ m_massMax
double TLACondition::m_massMax |
|
private |
◆ m_massMin
double TLACondition::m_massMin |
|
private |
◆ m_ystarMax
double TLACondition::m_ystarMax |
|
private |
◆ m_ystarMin
double TLACondition::m_ystarMin |
|
private |
◆ s_capacity
const unsigned int TLACondition::s_capacity {1} |
|
staticprivate |
The documentation for this class was generated from the following files: