11 #include <TLorentzVector.h>
19 const std::unique_ptr<ITrigJetHypoInfoCollector>& collector)
const {
23 if (!(
ip->getAttribute(
m_cName, momentValue)))
28 auto j_addr =
static_cast<const void *
>(
ip.get());
30 std::stringstream ss0;
31 ss0 <<
"CleanCondition: "
32 <<
" unable to retrieve " <<
m_cName <<
'\n';
33 std::stringstream ss1;
34 ss1 <<
" jet : (" << j_addr <<
")";
35 collector->
collect(ss0.str(), ss1.str());
40 bool pass = momentValue;
44 const void *
address =
static_cast<const void *
>(
this);
46 std::stringstream ss0;
47 ss0 <<
"CleanCondition: (" <<
address
50 <<
" pass: " << std::boolalpha << pass <<
'\n';
52 auto j_addr =
static_cast<const void *
>(
ip.get());
53 std::stringstream ss1;
54 ss1 <<
" jet : (" << j_addr <<
") "
56 <<
m_cName <<
" value: " << momentValue <<
'\n';
58 collector->
collect(ss0.str(), ss1.str());
67 const std::unique_ptr<ITrigJetHypoInfoCollector>&
c)
const {
75 ss <<
"CleanCondition (" <<
this <<
") "