|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "fastjet/PseudoJet.hh"
9 #include "fastjet/JetDefinition.hh"
14 using fastjet::PseudoJet;
20 : AsgTool(
name), m_bld(
"",this) {
35 if ( m_zcut < 0.0 || m_zcut > 10.0 ) {
37 return StatusCode::FAILURE;
39 if ( m_beta < 0.0 || m_beta > 10.0 ) {
41 return StatusCode::FAILURE;
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());
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StatusCode initialize()
Dummy implementation of the initialisation function.
virtual const IJetPseudojetRetriever * pseudojetRetriever() const
Return the pseudojet retriever associated with this tool.
ToolHandle< IJetFromPseudojet > m_bld
JetRecursiveSoftDrop(const std::string &name)
::StatusCode StatusCode
StatusCode definition for legacy code.
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)
JetContainer_v1 JetContainer
Definition of the current "jet container version".
void print() const
Print the state of the tool.