group Generic 4-momentum filtering, efficiency and smearing utils
Generic 4-momentum filtering, efficiency and smearing utils
Module: Detector smearing & efficiency functions
Classes
Name | |
---|---|
struct | Rivet::P4_EFF_CONST Take a FourMomentum and return a constant number. |
struct | Rivet::P3_EFF_CONST Take a Vector3 and return a constant number. |
Types
Name | |
---|---|
typedef std::function< FourMomentum(const FourMomentum &)> | P4SmearFn Typedef for FourMomentum smearing functions/functors. |
typedef std::function< double(const FourMomentum &)> | P4EffFn Typedef for FourMomentum efficiency functions/functors. |
Functions
Name | |
---|---|
double | P4_EFF_ZERO(const FourMomentum & ) Take a FourMomentum and return 0. |
double | P4_FN0(const FourMomentum & ) |
double | P4_EFF_ONE(const FourMomentum & ) Take a FourMomentum and return 1. |
double | P4_FN1(const FourMomentum & ) |
FourMomentum | P4_SMEAR_IDENTITY(const FourMomentum & p) Take a FourMomentum and return it unmodified. |
FourMomentum | P4_SMEAR_PERFECT(const FourMomentum & p) Alias for P4_SMEAR_IDENTITY. |
FourMomentum | P4_SMEAR_E_GAUSS(const FourMomentum & p, double resolution) |
FourMomentum | P4_SMEAR_PT_GAUSS(const FourMomentum & p, double resolution) Smear a FourMomentum’s transverse momentum using a Gaussian of absolute width resolution. |
FourMomentum | P4_SMEAR_MASS_GAUSS(const FourMomentum & p, double resolution) Smear a FourMomentum’s mass using a Gaussian of absolute width resolution. |
double | P3_EFF_ZERO(const Vector3 & p) Take a Vector3 and return 0. |
double | P3_FN0(const Vector3 & p) |
double | P3_EFF_ONE(const Vector3 & p) Take a Vector3 and return 1. |
double | P3_FN1(const Vector3 & p) |
Vector3 | P3_SMEAR_IDENTITY(const Vector3 & p) Take a Vector3 and return it unmodified. |
Vector3 | P3_SMEAR_PERFECT(const Vector3 & p) Alias for P3_SMEAR_IDENTITY. |
Vector3 | P3_SMEAR_LEN_GAUSS(const Vector3 & p, double resolution) Smear a Vector3’s length using a Gaussian of absolute width resolution. |
Types Documentation
typedef P4SmearFn
typedef std::function<FourMomentum(const FourMomentum&)> Rivet::P4SmearFn;
Typedef for FourMomentum smearing functions/functors.
typedef P4EffFn
typedef std::function<double(const FourMomentum&)> Rivet::P4EffFn;
Typedef for FourMomentum efficiency functions/functors.
Functions Documentation
function P4_EFF_ZERO
inline double P4_EFF_ZERO(
const FourMomentum &
)
Take a FourMomentum and return 0.
function P4_FN0
inline double P4_FN0(
const FourMomentum &
)
Deprecated:
Alias for P4_EFF_ZERO
function P4_EFF_ONE
inline double P4_EFF_ONE(
const FourMomentum &
)
Take a FourMomentum and return 1.
function P4_FN1
inline double P4_FN1(
const FourMomentum &
)
Deprecated:
Alias for P4_EFF_ONE
function P4_SMEAR_IDENTITY
inline FourMomentum P4_SMEAR_IDENTITY(
const FourMomentum & p
)
Take a FourMomentum and return it unmodified.
function P4_SMEAR_PERFECT
inline FourMomentum P4_SMEAR_PERFECT(
const FourMomentum & p
)
Alias for P4_SMEAR_IDENTITY.
function P4_SMEAR_E_GAUSS
inline FourMomentum P4_SMEAR_E_GAUSS(
const FourMomentum & p,
double resolution
)
Todo: Also make jet versions that update/smear constituents?
Smear a FourMomentum’s energy using a Gaussian of absolute width resolution
function P4_SMEAR_PT_GAUSS
inline FourMomentum P4_SMEAR_PT_GAUSS(
const FourMomentum & p,
double resolution
)
Smear a FourMomentum’s transverse momentum using a Gaussian of absolute width resolution.
function P4_SMEAR_MASS_GAUSS
inline FourMomentum P4_SMEAR_MASS_GAUSS(
const FourMomentum & p,
double resolution
)
Smear a FourMomentum’s mass using a Gaussian of absolute width resolution.
function P3_EFF_ZERO
inline double P3_EFF_ZERO(
const Vector3 & p
)
Take a Vector3 and return 0.
function P3_FN0
inline double P3_FN0(
const Vector3 & p
)
Deprecated:
Alias for P3_EFF_ZERO
function P3_EFF_ONE
inline double P3_EFF_ONE(
const Vector3 & p
)
Take a Vector3 and return 1.
function P3_FN1
inline double P3_FN1(
const Vector3 & p
)
Deprecated:
Alias for P3_EFF_ONE
function P3_SMEAR_IDENTITY
inline Vector3 P3_SMEAR_IDENTITY(
const Vector3 & p
)
Take a Vector3 and return it unmodified.
function P3_SMEAR_PERFECT
inline Vector3 P3_SMEAR_PERFECT(
const Vector3 & p
)
Alias for P3_SMEAR_IDENTITY.
function P3_SMEAR_LEN_GAUSS
inline Vector3 P3_SMEAR_LEN_GAUSS(
const Vector3 & p,
double resolution
)
Smear a Vector3’s length using a Gaussian of absolute width resolution.
Updated on 2022-08-07 at 20:17:18 +0100