|
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) {
37 if ( m_zcut < 0.0 || m_zcut > 10.0 ) {
39 return StatusCode::FAILURE;
41 if ( m_beta < 0.0 || m_beta > 10.0 ) {
43 return StatusCode::FAILURE;
45 if ( m_R0 < 0.0 || m_R0 > 10.0 ) {
47 return StatusCode::FAILURE;
49 if (
m_bld.empty() ) {
51 return StatusCode::FAILURE;
53 return StatusCode::SUCCESS;
66 if ( ppjin ==
nullptr ) {
76 PseudoJet pjsoftdrop = softdropper(*ppjin);
77 int npsoftdrop = pjsoftdrop.pieces().size();
79 if ( pjet ==
nullptr ) {
89 ATH_MSG_DEBUG(
" ncon: " << pjsoftdrop.constituents().size() <<
"/"
90 << ppjin->constituents().size());
JetBottomUpSoftDrop(const std::string &name)
void print() const
Print the state of the tool.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual const IJetPseudojetRetriever * pseudojetRetriever() const
Return the pseudojet retriever associated with this tool.
::StatusCode StatusCode
StatusCode definition for legacy code.
int groom(const xAOD::Jet &jin, const PseudoJetContainer &, xAOD::JetContainer &jout) const
Transform jet.
void setAttribute(const std::string &name, const T &v)
ToolHandle< IJetFromPseudojet > m_bld
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".
StatusCode initialize()
Dummy implementation of the initialisation function.