ATLAS Offline Software
Loading...
Searching...
No Matches
JetIsolationTool.cxx File Reference
Include dependency graph for JetIsolationTool.cxx:

Go to the source code of this file.

Classes

class  jet::JetIsolation::IsolationCalculator
 IsolationCalculator : base class for isolation calculations Implementations of this class encapsulate all the needed calculations inside the calcIsolationVariables(jet, constituents) function, where 'constituents' is expected to be a vector a consituent NOT containing the jet's constitents. More...
struct  jet::JetIsolation::IsolationCalculator::IsolationResult
 Holds the 4-vector of all constituents contributing to isolation. More...
class  jet::JetIsolation::IsolationCalculatorT< ISOCRITERIA >
class  jet::JetIsolation::IsolationAreaBase
 Defines a zone from which constituents will contribute to the isolation of a jet. More...

Namespaces

namespace  jet
namespace  jet::JetIsolation

Macros

#define ISOAREA(calcName, deltaRcode, additionalDecl)
 See below for example.

Typedefs

using jet::JetIsolation::FourMom_t = TLorentzVector

Functions

TVector3 jet::JetIsolation::unitVector (const FourMom_t &v)
 jet::JetIsolation::ISOAREA (IsoKR, jetRadius *param,)
 jet::JetIsolation::ISOAREA (IsoDelta, jetRadius+param,)
 jet::JetIsolation::ISOAREA (IsoFixedCone, param,)
 jet::JetIsolation::ISOAREA (IsoFixedArea, sqrt(jetRadius *jetRadius+param *M_1_PI),)
 jet::JetIsolation::ISOAREA (Iso6To8, 0.8, bool inIsolationArea(double rap, double phi, const xAOD::IParticle *constit) const ;)
IsolationCalculatorjet::JetIsolation::createCalulator (const std::string &n, double parameter)
void jet::colonSplit (const string &in, string &s1, string &s2, string &s3)
 helper

Macro Definition Documentation

◆ ISOAREA

#define ISOAREA ( calcName,
deltaRcode,
additionalDecl )
Value:
struct calcName : public IsolationAreaBase { \
calcName(double p) : IsolationAreaBase(p, #calcName){} \
virtual void setup(const xAOD::Jet* j) {double jetRadius=j->getSizeParameter(); double param = m_parameter; m_deltaRmax2=deltaRcode ; m_deltaRmax2*=m_deltaRmax2; (void)(param+jetRadius);} additionalDecl }
float getSizeParameter() const
Definition Jet_v1.cxx:245
bool setup(asg::AnaToolHandle< Interface > &tool, const std::string &type, const std::vector< std::string > &config, const std::string &progressFile="")
mostly useful for athena, which will otherwise re-use the previous tool
Jet_v1 Jet
Definition of the current "jet version".
Defines a zone from which constituents will contribute to the isolation of a jet.

See below for example.

Definition at line 209 of file JetIsolationTool.cxx.

209#define ISOAREA( calcName, deltaRcode , additionalDecl ) struct calcName : public IsolationAreaBase { \
210 calcName(double p) : IsolationAreaBase(p, #calcName){} \
211 virtual void setup(const xAOD::Jet* j) {double jetRadius=j->getSizeParameter(); double param = m_parameter; m_deltaRmax2=deltaRcode ; m_deltaRmax2*=m_deltaRmax2; (void)(param+jetRadius);} additionalDecl }