ATLAS Offline Software
Loading...
Searching...
No Matches
AngularityTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
7
8AngularityTool::AngularityTool(const std::string& name) :
10{
11}
12
14
15 fastjet::PseudoJet jet;
16 bool decorate = SetupDecoration(jet,injet);
17
18 float Angularity_value = -999;
19
20 if (decorate) {
22 Angularity_value = angularity.result(jet);
23 ATH_MSG_VERBOSE("Adding jet angularity: " << Angularity_value);
24 }
25
26 injet.setAttribute(m_prefix+"Angularity", Angularity_value);
27 return 0;
28}
#define ATH_MSG_VERBOSE(x)
AngularityTool(const std::string &name)
int modifyJet(xAOD::Jet &injet) const
Modify a single jet. This is obsolete and set to be removed.
JetSubStructureMomentToolsBase(const std::string &name)
bool SetupDecoration(fastjet::PseudoJet &pseudojet, const xAOD::Jet &jet, bool requireJetStructure=false) const
void setAttribute(const std::string &name, const T &v)
Jet_v1 Jet
Definition of the current "jet version".