ATLAS Offline Software
Classes | Typedefs | Functions
jet::JetIsolation Namespace Reference

Classes

class  IsolationAreaBase
 
class  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...
 
class  IsolationCalculatorT
 

Typedefs

using FourMom_t = TLorentzVector
 

Functions

TVector3 unitVector (const FourMom_t &v)
 
 ISOAREA (IsoKR, jetRadius *param,)
 
 ISOAREA (IsoDelta, jetRadius+param,)
 
 ISOAREA (IsoFixedCone, param,)
 
 ISOAREA (IsoFixedArea, sqrt(jetRadius *jetRadius+param *M_1_PI),)
 
 ISOAREA (Iso6To8, 0.8, bool inIsolationArea(double rap, double phi, const xAOD::IParticle *constit) const ;)
 
IsolationCalculatorcreateCalulator (const std::string &n, double parameter)
 

Typedef Documentation

◆ FourMom_t

using jet::JetIsolation::FourMom_t = typedef TLorentzVector

Definition at line 22 of file JetIsolationTool.cxx.

Function Documentation

◆ createCalulator()

IsolationCalculator* jet::JetIsolation::createCalulator ( const std::string &  n,
double  parameter 
)

Definition at line 227 of file JetIsolationTool.cxx.

227  {
228 
229  if( n == "IsoKR" ) return new IsolationCalculatorT<IsoKR>( parameter);
230  if( n == "IsoDelta" ) return new IsolationCalculatorT<IsoDelta>( parameter);
231  if( n == "IsoFixedCone" ) return new IsolationCalculatorT<IsoFixedCone>( parameter);
232  if( n == "IsoFixedArea" ) return new IsolationCalculatorT<IsoFixedArea>( parameter);
233  if( n == "Iso6To8" ) return new IsolationCalculatorT<Iso6To8>( parameter);
234 
235  return nullptr;
236  }

◆ ISOAREA() [1/5]

jet::JetIsolation::ISOAREA ( Iso6To8  ,
0.  8,
bool inIsolationArea(double rap, double phi, const xAOD::IParticle *constit) const  
)

◆ ISOAREA() [2/5]

jet::JetIsolation::ISOAREA ( IsoDelta  ,
jetRadius+  param 
)

◆ ISOAREA() [3/5]

jet::JetIsolation::ISOAREA ( IsoFixedArea  ,
sqrt(jetRadius *jetRadius+param *M_1_PI)   
)

◆ ISOAREA() [4/5]

jet::JetIsolation::ISOAREA ( IsoFixedCone  ,
param   
)

◆ ISOAREA() [5/5]

jet::JetIsolation::ISOAREA ( IsoKR  ,
jetRadius *  param 
)

◆ unitVector()

TVector3 jet::JetIsolation::unitVector ( const FourMom_t v)

Definition at line 24 of file JetIsolationTool.cxx.

24  {
25  TVector3 v3 = v.Vect();
26  return (1/v3.Mag())*v3;
27  }
jet::JetIsolation::IsolationCalculatorT
Definition: JetIsolationTool.cxx:140
beamspotman.n
n
Definition: beamspotman.py:731
python.PyAthena.v
v
Definition: PyAthena.py:154