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...
|
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. More...
|
|
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.
◆ Kinematics
Define the available isolation variables.
Enumerator |
---|
Pt | |
PtPUsub | |
SumPt | |
Par | |
Perp | |
P | |
Definition at line 37 of file JetIsolationTool.cxx.
◆ ~IsolationCalculator()
virtual jet::JetIsolation::IsolationCalculator::~IsolationCalculator |
( |
| ) |
|
|
virtualdefault |
◆ baseName()
virtual string jet::JetIsolation::IsolationCalculator::baseName |
( |
| ) |
const |
|
inlinevirtual |
◆ calcIsolationVariables()
virtual std::vector<float> jet::JetIsolation::IsolationCalculator::calcIsolationVariables |
( |
const xAOD::Jet * |
jet, |
|
|
std::vector< const xAOD::IParticle * > & |
nearbyConstit |
|
) |
| const |
|
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.
82 std::vector<float> calcVector;
92 jetArea= areaAcc(*
jet);
104 calcVector.push_back(
v);
◆ calculationNames()
virtual std::vector<std::string> jet::JetIsolation::IsolationCalculator::calculationNames |
( |
| ) |
const |
|
inlinevirtual |
◆ clone()
◆ copyFrom()
◆ dump()
void jet::JetIsolation::IsolationCalculator::dump |
( |
| ) |
const |
|
inline |
Definition at line 120 of file JetIsolationTool.cxx.
121 std::cout <<
"Isolation calculator "<<
baseName() <<std::endl;
123 std::cout <<
" - "<<
n << std::endl;
◆ jetIsolation()
◆ scheduleKinematicCalculation()
bool jet::JetIsolation::IsolationCalculator::scheduleKinematicCalculation |
( |
const std::string & |
kname | ) |
|
|
inline |
◆ setEventDensity()
void jet::JetIsolation::IsolationCalculator::setEventDensity |
( |
float |
rho | ) |
|
|
inline |
◆ m_kinematics
std::vector<Kinematics> jet::JetIsolation::IsolationCalculator::m_kinematics |
|
protected |
◆ m_rho
float jet::JetIsolation::IsolationCalculator::m_rho =-9999. |
|
protected |
◆ s_kname
constexpr std::array<std::string_view, 6> jet::JetIsolation::IsolationCalculator::s_kname = {"Pt","PtPUsub" , "SumPt", "Par", "Perp", "P"} |
|
staticconstexpr |
names for isolation variables. Must match EXACTLY the enum.
Definition at line 42 of file JetIsolationTool.cxx.
The documentation for this class was generated from the following file: