struct Rivet::ParticleEffSmearFn
Rivet::ParticleEffSmearFn
Module: Detector smearing & efficiency functions / Generic jet filtering, efficiency and smearing utils
Functor for simultaneous efficiency-filtering and smearing of Particles. More…
#include <ParticleSmearingFunctions.hh>
Public Functions
Name | |
---|---|
ParticleEffSmearFn(const ParticleSmearFn & s, const ParticleEffFn & e) | |
ParticleEffSmearFn(const ParticleEffFn & e, const ParticleSmearFn & s) | |
ParticleEffSmearFn(const ParticleSmearFn & s) | |
ParticleEffSmearFn(const ParticleEffFn & e) | |
ParticleEffSmearFn(double eff) | |
pair< Particle, double > | operator()(const Particle & p) const Smear and calculate an efficiency for the given particle. |
CmpState | cmp(const ParticleEffSmearFn & other) const Compare to another, for use in the projection system. |
operator ParticleSmearFn() Automatic conversion to a smearing function. | |
operator ParticleEffFn() Automatic conversion to an efficiency function. |
Public Attributes
Name | |
---|---|
const ParticleSmearFn | sfn |
const ParticleEffFn | efn |
Detailed Description
struct Rivet::ParticleEffSmearFn;
Functor for simultaneous efficiency-filtering and smearing of Particles.
A central element of the SmearedParticles system
Public Functions Documentation
function ParticleEffSmearFn
inline ParticleEffSmearFn(
const ParticleSmearFn & s,
const ParticleEffFn & e
)
function ParticleEffSmearFn
inline ParticleEffSmearFn(
const ParticleEffFn & e,
const ParticleSmearFn & s
)
function ParticleEffSmearFn
inline ParticleEffSmearFn(
const ParticleSmearFn & s
)
function ParticleEffSmearFn
inline ParticleEffSmearFn(
const ParticleEffFn & e
)
function ParticleEffSmearFn
inline ParticleEffSmearFn(
double eff
)
function operator()
inline pair< Particle, double > operator()(
const Particle & p
) const
Smear and calculate an efficiency for the given particle.
function cmp
inline CmpState cmp(
const ParticleEffSmearFn & other
) const
Compare to another, for use in the projection system.
function operator ParticleSmearFn
inline operator ParticleSmearFn()
Automatic conversion to a smearing function.
function operator ParticleEffFn
inline operator ParticleEffFn()
Automatic conversion to an efficiency function.
Public Attributes Documentation
variable sfn
const ParticleSmearFn sfn;
variable efn
const ParticleEffFn efn;
Updated on 2022-08-07 at 20:17:18 +0100