Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "fastjet/PseudoJet.hh"
10 #include "fastjet/JetDefinition.hh"
11 #include "fastjet/Selector.hh"
12 #include "fastjet/tools/Filter.hh"
17 using fastjet::PseudoJet;
23 : AsgTool(
name), m_bld(
"",this) {
39 if ( m_zcut < 0.0 || m_zcut > 10.0 ) {
41 return StatusCode::FAILURE;
43 if ( m_beta < 0.0 || m_beta > 10.0 ) {
45 return StatusCode::FAILURE;
47 if ( m_R0 < 0.0 || m_R0 > 10.0 ) {
49 return StatusCode::FAILURE;
51 if (
m_bld.empty() ) {
53 return StatusCode::FAILURE;
55 return StatusCode::SUCCESS;
68 if ( ppjin ==
nullptr ) {
78 PseudoJet pjsoftdrop = softdropper(*ppjin);
79 int npsoftdrop = pjsoftdrop.pieces().size();
81 if ( pjet ==
nullptr ) {
92 ATH_MSG_DEBUG(
" ncon: " << pjsoftdrop.constituents().size() <<
"/"
93 << ppjin->constituents().size());
int groom(const xAOD::Jet &jin, const PseudoJetContainer &, xAOD::JetContainer &jout) const
Transform jet.
ToolHandle< IJetFromPseudojet > m_bld
JetSoftDrop(const std::string &name)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual const IJetPseudojetRetriever * pseudojetRetriever() const
Return the pseudojet retriever associated with this tool.
void print() const
Print the state of the tool.
::StatusCode StatusCode
StatusCode definition for legacy code.
void setAttribute(const std::string &name, const T &v)
StatusCode initialize()
Dummy implementation of the initialisation function.
virtual const fastjet::PseudoJet * pseudojet(const xAOD::Jet &jet) const =0
Retrieve the pseudojet associate with a jet.
#define ATH_MSG_WARNING(x)
JetContainer_v1 JetContainer
Definition of the current "jet container version".