Rivet API documentation
![]() |
Rivet 4.1.3
|
Generic 4-momentum filtering, efficiency and smearing utils
Topics | |
| Experiment-specific missing-ET smearing functions | |
Classes | |
| struct | Rivet::P4SmearParams |
| Struct for holding momentum-smearing parameters. More... | |
| struct | Rivet::P4_EFF_CONST |
| Take a FourMomentum and return a constant number. More... | |
| struct | Rivet::P3_EFF_CONST |
| Take a Vector3 and return a constant number. More... | |
Functions | |
| double | Rivet::P3_EFF_ZERO (const Vector3 &) |
| Take a Vector3 and return 0. | |
| double | Rivet::P3_EFF_ONE (const Vector3 &) |
| Take a Vector3 and return 1. | |
| Vector3 | Rivet::P3_SMEAR_IDENTITY (const Vector3 &p) |
| Take a Vector3 and return it unmodified. | |
| Vector3 | Rivet::P3_SMEAR_PERFECT (const Vector3 &p) |
| Alias for P3_SMEAR_IDENTITY. | |
| Vector3 | Rivet::P3_SMEAR_LEN_GAUSS (const Vector3 &p, double resolution) |
| Smear a Vector3's length using a Gaussian of absolute width resolution. | |
| typedef std::function< FourMomentum(const FourMomentum &)> | Rivet::P4SmearFn |
| Typedef for FourMomentum smearing functions/functors. | |
| typedef std::function< double(const FourMomentum &)> | Rivet::P4EffFn |
| Typedef for FourMomentum efficiency functions/functors. | |
| double | Rivet::P4_EFF_ZERO (const FourMomentum &) |
| Take a FourMomentum and return 0. | |
| double | Rivet::P4_EFF_ONE (const FourMomentum &) |
| Take a FourMomentum and return 1. | |
| FourMomentum | Rivet::P4_SMEAR_IDENTITY (const FourMomentum &p) |
| Take a FourMomentum and return it unmodified. | |
| FourMomentum | Rivet::P4_SMEAR_PERFECT (const FourMomentum &p) |
| Alias for P4_SMEAR_IDENTITY. | |
| FourMomentum | Rivet::P4_SMEAR_E_GAUSS (const FourMomentum &p, double resolution) |
| FourMomentum | Rivet::P4_SMEAR_PT_GAUSS (const FourMomentum &p, double resolution) |
| Smear a FourMomentum's transverse momentum using a Gaussian of absolute width resolution. | |
| FourMomentum | Rivet::P4_SMEAR_MASS_GAUSS (const FourMomentum &p, double resolution) |
| Smear a FourMomentum's mass using a Gaussian of absolute width resolution. | |
Detailed Description
Function Documentation
◆ P4_SMEAR_E_GAUSS()
|
inline |
Smear a FourMomentum's energy using a Gaussian of absolute width resolution
- Todo
- Also make jet versions that update/smear constituents?
References mass(), max(), Rivet::FourMomentum::mkEtaPhiME(), Rivet::Kin::p(), and randnorm().
Referenced by ELECTRON_SMEAR_ATLAS_RUN1(), and ELECTRON_SMEAR_CMS_RUN1().
Generated on for Rivet by
