![]() |
ATLAS Offline Software
|
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...
Classes | |
| struct | IsolationResult |
| Holds the 4-vector of all constituents contributing to isolation. More... | |
Public Types | |
| enum | Kinematics { Pt , PtPUsub , SumPt , Par , Perp , P } |
| Define the available isolation variables. More... | |
Public Member Functions | |
| virtual | ~IsolationCalculator ()=default |
| virtual string | baseName () const |
| virtual IsolationCalculator * | clone (const xAOD::Jet *) const |
| virtual void | copyFrom (const IsolationCalculator *o, const xAOD::Jet *) |
| virtual IsolationResult | jetIsolation (const xAOD::Jet *, std::vector< const xAOD::IParticle * > &) const |
| Compute the isolation 4-momentum from jet and jet inputs. | |
| bool | scheduleKinematicCalculation (const std::string &kname) |
| virtual std::vector< float > | calcIsolationVariables (const xAOD::Jet *jet, std::vector< const xAOD::IParticle * > &nearbyConstit) const |
| Implement the calculation of isolation variables for this jet. | |
| virtual std::vector< std::string > | calculationNames () const |
| void | dump () const |
| void | setEventDensity (float rho) |
Static Public Attributes | |
| static constexpr std::array< std::string_view, 6 > | s_kname = {"Pt","PtPUsub" , "SumPt", "Par", "Perp", "P"} |
| names for isolation variables. Must match EXACTLY the enum. | |
Protected Attributes | |
| std::vector< Kinematics > | m_kinematics |
| kinematics isolation variables to be computed | |
| float | m_rho =-9999. |
| Value of the event density in case it is needed. | |
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.
Definition at line 33 of file JetIsolationTool.cxx.
Define the available isolation variables.
| Enumerator | |
|---|---|
| Pt | |
| PtPUsub | |
| SumPt | |
| Par | |
| Perp | |
| P | |
Definition at line 37 of file JetIsolationTool.cxx.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in jet::JetIsolation::IsolationCalculatorT< ISOCRITERIA >.
Definition at line 54 of file JetIsolationTool.cxx.
|
inlinevirtual |
Implement the calculation of isolation variables for this jet.
The vector<IParticle*> nearbyConstit is expected to contain all the constituents which can fall in the isolation area AND which are not constituent of the jet.
Definition at line 80 of file JetIsolationTool.cxx.
|
inlinevirtual |
Definition at line 110 of file JetIsolationTool.cxx.
|
inlinevirtual |
Reimplemented in jet::JetIsolation::IsolationCalculatorT< ISOCRITERIA >.
Definition at line 55 of file JetIsolationTool.cxx.
|
inlinevirtual |
Definition at line 56 of file JetIsolationTool.cxx.
|
inline |
Definition at line 120 of file JetIsolationTool.cxx.
|
inlinevirtual |
Compute the isolation 4-momentum from jet and jet inputs.
It is assumed the caller has already removed jet constituents from the input list.
Reimplemented in jet::JetIsolation::IsolationCalculatorT< ISOCRITERIA >.
Definition at line 63 of file JetIsolationTool.cxx.
|
inline |
Definition at line 67 of file JetIsolationTool.cxx.
|
inline |
Definition at line 127 of file JetIsolationTool.cxx.
|
protected |
kinematics isolation variables to be computed
Definition at line 133 of file JetIsolationTool.cxx.
|
protected |
Value of the event density in case it is needed.
Definition at line 135 of file JetIsolationTool.cxx.
|
staticconstexpr |
names for isolation variables. Must match EXACTLY the enum.
Definition at line 42 of file JetIsolationTool.cxx.