|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "fastjet/PseudoJet.hh"
10 #include "fastjet/tools/Pruner.hh"
16 using fastjet::PseudoJet;
22 : AsgTool(
name), m_bld(
"",this) {
41 return StatusCode::FAILURE;
43 if ( m_rcut < 0.0 || m_rcut > 10.0 ) {
45 return StatusCode::FAILURE;
47 if ( m_zcut < 0.0 || m_zcut > 1.0 ) {
49 return StatusCode::FAILURE;
51 if (
m_bld.empty() ) {
53 return StatusCode::FAILURE;
55 return StatusCode::SUCCESS;
68 if ( ppjin ==
nullptr ) {
74 PseudoJet pjprun = pruner(*ppjin);
75 ATH_MSG_VERBOSE(
" Input cluster sequence: " << ppjin->associated_cluster_sequence());
76 ATH_MSG_VERBOSE(
" Pruned cluster sequence: " << pjprun.associated_cluster_sequence());
83 ATH_MSG_DEBUG(
" ncon: " << pjprun.constituents().size() <<
"/"
84 << ppjin->constituents().size());
fastjet::JetAlgorithm m_fjalg
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual const IJetPseudojetRetriever * pseudojetRetriever() const
Return the pseudojet retriever associated with this tool.
#define ATH_MSG_VERBOSE(x)
void print() const
Print the state of the tool.
ToolHandle< IJetFromPseudojet > m_bld
StatusCode initialize()
Dummy implementation of the initialisation function.
fastjet::JetAlgorithm fastJetDef(ID id)
::StatusCode StatusCode
StatusCode definition for legacy code.
JetPruner(const std::string &name)
ID
//////////////////////////////////////// JetAlgorithmType::ID defines most common physics jet finding...
@ undefined_jet_algorithm
void setAttribute(const std::string &name, const T &v)
virtual const fastjet::PseudoJet * pseudojet(const xAOD::Jet &jet) const =0
Retrieve the pseudojet associate with a jet.
int groom(const xAOD::Jet &jin, const PseudoJetContainer &, xAOD::JetContainer &jout) const
Transform jet.
#define ATH_MSG_WARNING(x)
ID algId(const std::string &n)
Converts a string into a JetAlgorithmType::ID.
JetContainer_v1 JetContainer
Definition of the current "jet container version".