ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
jet::JetIsolation::IsolationAreaBase Class Reference
Collaboration diagram for jet::JetIsolation::IsolationAreaBase:

Public Member Functions

 IsolationAreaBase (double p, const string &n)
 
bool inIsolationArea (double rap, double phi, const xAOD::IParticle *part) const
 
string name () const
 
double isoArea () const
 

Public Attributes

double m_parameter
 
string m_name
 
double m_deltaRmax2 = 0.0
 

Detailed Description

Defines a zone from which constituents will contribute to the isolation of a jet. In most cases, the zone is simply a cone which radius depends on the jet radius.

Definition at line 177 of file JetIsolationTool.cxx.

Constructor & Destructor Documentation

◆ IsolationAreaBase()

jet::JetIsolation::IsolationAreaBase::IsolationAreaBase ( double  p,
const string &  n 
)
inline

Definition at line 178 of file JetIsolationTool.cxx.

178 : m_parameter(p), m_name(n){}

Member Function Documentation

◆ inIsolationArea()

bool jet::JetIsolation::IsolationAreaBase::inIsolationArea ( double  rap,
double  phi,
const xAOD::IParticle part 
) const
inline

Definition at line 180 of file JetIsolationTool.cxx.

180  {
181  // we use eta rather than rapidity for constituents, because the later can generate FPE (presumably in very low pt PFlow constit)
182  double dr2 = xAOD::P4Helpers::deltaR2(rap, phi, part->rapidity(), part->phi());
183  return dr2 < m_deltaRmax2;
184  }

◆ isoArea()

double jet::JetIsolation::IsolationAreaBase::isoArea ( ) const
inline

Definition at line 191 of file JetIsolationTool.cxx.

191  {
192  return m_deltaRmax2*M_PI;
193  }

◆ name()

string jet::JetIsolation::IsolationAreaBase::name ( ) const
inline

Definition at line 186 of file JetIsolationTool.cxx.

186  {
187  std::ostringstream oss; oss << m_name << int(10*m_parameter);
188  return oss.str();
189  }

Member Data Documentation

◆ m_deltaRmax2

double jet::JetIsolation::IsolationAreaBase::m_deltaRmax2 = 0.0

Definition at line 197 of file JetIsolationTool.cxx.

◆ m_name

string jet::JetIsolation::IsolationAreaBase::m_name

Definition at line 196 of file JetIsolationTool.cxx.

◆ m_parameter

double jet::JetIsolation::IsolationAreaBase::m_parameter

Definition at line 195 of file JetIsolationTool.cxx.


The documentation for this class was generated from the following file:
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
jet::JetIsolation::IsolationAreaBase::m_deltaRmax2
double m_deltaRmax2
Definition: JetIsolationTool.cxx:197
M_PI
#define M_PI
Definition: ActiveFraction.h:11
xAOD::P4Helpers::deltaR2
double deltaR2(double rapidity1, double phi1, double rapidity2, double phi2)
from bare rapidity,phi
Definition: xAODP4Helpers.h:111
jet::JetIsolation::IsolationAreaBase::m_parameter
double m_parameter
Definition: JetIsolationTool.cxx:195
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition: beamspotman.py:731
jet::JetIsolation::IsolationAreaBase::m_name
string m_name
Definition: JetIsolationTool.cxx:196