21 const std::unique_ptr<ITrigJetHypoInfoCollector>& collector)
const{
25 ss <<
"Dijet::isSatisfied must see exactly 2 particles, but received "
29 throw std::runtime_error(
ss.str());
35 auto rj0 = j0 -> p4();
36 auto rj1 = j1 -> p4();
38 auto dphi = std::abs(rj0.DeltaPhi(rj1));
45 std::stringstream ss0;
46 const void* address =
static_cast<const void*
>(
this);
47 ss0 <<
"DijetDPhiCondition: (" << address <<
") dphi "
48 << dphi <<
" pass: " <<std::boolalpha << pass <<
" jet group: \n";
50 std::stringstream ss1;
52 for(
const auto& ip : ips){
53 address =
static_cast<const void*
>(ip.get());
54 ss1 <<
" " << address <<
" " << ip->eta() <<
" e " << ip->e() <<
'\n';
57 collector -> collect(ss0.str(), ss1.str());