9 #include "fastjet/PseudoJet.hh"
10 #include "fastjet/JetDefinition.hh"
11 #include "fastjet/Selector.hh"
12 #include "fastjet/tools/Filter.hh"
16 using fastjet::PseudoJet;
22 : AsgTool(
name), m_bld(
"",this) {
35 if ( m_rclus < 0.0 || m_rclus > 10.0 ) {
37 return StatusCode::FAILURE;
39 if ( m_ptfrac < 0.0 || m_ptfrac > 1.0 ) {
41 return StatusCode::FAILURE;
43 if (
m_bld.empty() ) {
45 return StatusCode::FAILURE;
48 return StatusCode::SUCCESS;
61 if ( ppjin ==
nullptr ) {
67 fastjet::SelectorPtFractionMin(
m_ptfrac));
68 PseudoJet pjtrim = trimmer(*ppjin);
69 ATH_MSG_VERBOSE(
" Input cluster sequence: " << ppjin->associated_cluster_sequence());
70 ATH_MSG_VERBOSE(
" Trimmed cluster sequence: " << pjtrim.associated_cluster_sequence());
71 int nptrim = pjtrim.pieces().size();
74 if ( pjet ==
nullptr ) {
83 ATH_MSG_DEBUG(
" ncon: " << pjtrim.constituents().size() <<
"/"
84 << ppjin->constituents().size());