10 #include <TLorentzVector.h>
14 const std::vector<double>& etaMaxs,
15 const std::vector<double>& ystarMins,
16 const std::vector<double>& ystarMaxs,
17 const std::vector<double>& massMins,
18 const std::vector<double>& massMaxs) {
28 if (!ystarMins.empty()){
33 if (!ystarMaxs.empty()){
37 if (!massMins.empty()){
41 if (!massMaxs.empty()){
54 m_ystarMin(ystarMin), m_ystarMax(ystarMax),
55 m_massMin(massMin),m_massMax(massMax){
59 const std::unique_ptr<ITrigJetHypoInfoCollector>&)
const{
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);
92 ss <<
"TLACondition: etaMin "