Rivet API documentation
![]() |
Rivet 4.1.5
|
Topics | |
| Experiment-specific photon efficiency and smearing functions | |
| Experiment-specific muon efficiency and smearing functions | |
| Experiment-specific tau efficiency and smearing functions | |
| Experiment-specific jet efficiency and smearing functions | |
| Experiment-specific missing-ET smearing functions | |
| Experiment-specific tracking efficiency and smearing functions | |
| double | Rivet::ELECTRON_RECOEFF_ATLAS_RUN1 (const Particle &e) |
| double | Rivet::ELECTRON_RECOEFF_ATLAS_RUN2 (const Particle &e) |
| double | Rivet::ELECTRON_EFF_ATLAS_RUN2_LOOSE (const Particle &e) |
| ATLAS Run 2 'loose' electron reco+identification efficiency. | |
| double | Rivet::ELECTRON_EFF_ATLAS_RUN1_LOOSE (const Particle &e) |
| Pretend that ATLAS Run 1 loose was the same as in Run 2. | |
| double | Rivet::ELECTRON_EFF_ATLAS_RUN1_MEDIUM (const Particle &e) |
| ATLAS Run 1 'medium' electron reco+identification efficiency. | |
| double | Rivet::ELECTRON_EFF_ATLAS_RUN2_MEDIUM (const Particle &e) |
| ATLAS Run 2 'medium' electron reco+identification efficiency. | |
| double | Rivet::ELECTRON_EFF_ATLAS_RUN1_TIGHT (const Particle &e) |
| ATLAS Run 1 'tight' electron reco+identification efficiency. | |
| double | Rivet::ELECTRON_EFF_ATLAS_RUN2_TIGHT (const Particle &e) |
| ATLAS Run 2 'tight' electron reco+identification efficiency. | |
| double | Rivet::ELECTRON_IDEFF_ATLAS_RUN2_LOOSE (const Particle &e) |
| ATLAS Run 2 electron identification efficiency, Loose likelihood working point. | |
| double | Rivet::ELECTRON_IDEFF_ATLAS_RUN2_MEDIUM (const Particle &e) |
| ATLAS Run 2 electron identification efficiency, Medium likelihood working point. | |
| double | Rivet::ELECTRON_IDEFF_ATLAS_RUN2_TIGHT (const Particle &e) |
| ATLAS Run 2 electron identification efficiency, Tight likelihood working point. | |
| double | Rivet::ELECTRON_ISOEFF_ATLAS_RUN2_FCLOOSE (const Particle &e) |
| ATLAS Run 2 electron isolation efficiency, FCLoose working point. | |
| double | Rivet::ELECTRON_ISOEFF_ATLAS_RUN2_FCTIGHT (const Particle &e) |
| ATLAS Run 2 electron isolation efficiency, FCTight working point. | |
| double | Rivet::ELECTRON_ISOEFF_ATLAS_RUN2_GRADIENT (const Particle &e) |
| ATLAS Run 2 electron isolation efficiency, "Gradient" working point. | |
| double | Rivet::ELECTRON_ISOEFF_ATLAS_RUN2_HIGHPTCALOONLY (const Particle &e) |
| ATLAS Run 2 electron isolation efficiency, HighPtCaloOnly working point. | |
| Particle | Rivet::ELECTRON_SMEAR_ATLAS_RUN1 (const Particle &e) |
| ATLAS Run 1 electron reco smearing. | |
| Particle | Rivet::ELECTRON_SMEAR_ATLAS_RUN2 (const Particle &e) |
| double | Rivet::ELECTRON_EFF_CMS_RUN1 (const Particle &e) |
| CMS Run 1 electron reconstruction efficiency. | |
| double | Rivet::ELECTRON_EFF_CMS_RUN1_LOOSE (const Particle &e) |
| double | Rivet::ELECTRON_EFF_CMS_RUN1_MEDIUM (const Particle &e) |
| double | Rivet::ELECTRON_EFF_CMS_RUN1_TIGHT (const Particle &e) |
| double | Rivet::ELECTRON_EFF_CMS_RUN2 (const Particle &e) |
| double | Rivet::ELECTRON_EFF_CMS_RUN2_LOOSE (const Particle &e) |
| double | Rivet::ELECTRON_EFF_CMS_RUN2_MEDIUM (const Particle &e) |
| double | Rivet::ELECTRON_EFF_CMS_RUN2_TIGHT (const Particle &e) |
| Particle | Rivet::ELECTRON_SMEAR_CMS_RUN1 (const Particle &e) |
| CMS electron energy smearing, preserving direction. | |
| Particle | Rivet::ELECTRON_SMEAR_CMS_RUN2 (const Particle &e) |
Combining per-period efficiency functions | |
| template<typename T> | |
| function< double(const T &)> | Rivet::lumiWeightedEff (const vector< pair< function< double(const T &)>, double > > &effs) |
| Luminosity-weighted average of per-period efficiency functions, sum_i L_i eff_i / sum_i L_i. | |
A full family of identity smearing functions | |
| double | Rivet::ELECTRON_EFF_IDENTITY_LOOSE (const Particle &e) |
| double | Rivet::ELECTRON_EFF_IDENTITY_MEDIUM (const Particle &e) |
| double | Rivet::ELECTRON_EFF_IDENTITY_TIGHT (const Particle &e) |
| double | Rivet::MUON_EFF_IDENTITY_LOOSE (const Particle &m) |
| double | Rivet::MUON_EFF_IDENTITY_MEDIUM (const Particle &m) |
| double | Rivet::MUON_EFF_IDENTITY_TIGHT (const Particle &m) |
| double | Rivet::PHOTON_EFF_IDENTITY_LOOSE (const Particle &y) |
| double | Rivet::PHOTON_EFF_IDENTITY_MEDIUM (const Particle &y) |
| double | Rivet::PHOTON_EFF_IDENTITY_TIGHT (const Particle &y) |
| double | Rivet::TAU_EFF_IDENTITY_LOOSE (const Particle &t) |
| double | Rivet::TAU_EFF_IDENTITY_MEDIUM (const Particle &t) |
| double | Rivet::TAU_EFF_IDENTITY_TIGHT (const Particle &t) |
| Particle | Rivet::ELECTRON_SMEAR_IDENTITY (const Particle &e) |
| Particle | Rivet::MUON_SMEAR_IDENTITY (const Particle &m) |
| Particle | Rivet::PHOTON_SMEAR_IDENTITY (const Particle &y) |
| Particle | Rivet::TAU_SMEAR_IDENTITY (const Particle &t) |
| double | Rivet::TRK_EFF_IDENTITY_TIGHT (const Particle &trk) |
| Particle | Rivet::TRK_SMEAR_IDENTITY (const Particle &trk) |
| double | Rivet::JET_BTAG_IDENTITY_IDENTITY (const Jet &j) |
Detailed Description
alias/wrapper functions and/or the predefined eff/smearing IDENTITY functions. You may need to multiply functions to build an efficiency, e.g. with PARTICLE_EFF_PRODUCT.
Function Documentation
◆ ELECTRON_EFF_ATLAS_RUN2_LOOSE()
|
inline |
ATLAS Run 2 'loose' electron reco+identification efficiency.
Values read from Fig 3 of ATL-PHYS-PUB-2015-041
- Todo
- What about faking by jets or non-electrons?
References Rivet::ParticleBase::abseta(), Rivet::Particle::abspid(), binIndex(), ELECTRON_RECOEFF_ATLAS_RUN2(), Rivet::ParticleBase::Et(), and min().
Referenced by ELECTRON_EFF_ATLAS_RUN1_LOOSE().
◆ ELECTRON_EFF_ATLAS_RUN2_MEDIUM()
|
inline |
ATLAS Run 2 'medium' electron reco+identification efficiency.
~1% increase over Run 1 informed by Fig 1 in https://cds.cern.ch/record/2157687/files/ATLAS-CONF-2016-024.pdf
References Rivet::Particle::abspid(), and ELECTRON_EFF_ATLAS_RUN1_MEDIUM().
◆ ELECTRON_EFF_ATLAS_RUN2_TIGHT()
|
inline |
ATLAS Run 2 'tight' electron reco+identification efficiency.
~1% increase over Run 1 informed by Fig 1 in https://cds.cern.ch/record/2157687/files/ATLAS-CONF-2016-024.pdf
References Rivet::ParticleBase::abseta(), Rivet::Particle::abspid(), binIndex(), ELECTRON_RECOEFF_ATLAS_RUN2(), and Rivet::ParticleBase::Et().
◆ ELECTRON_EFF_CMS_RUN1()
|
inline |
CMS Run 1 electron reconstruction efficiency.
- Todo
- Add charge-flip efficiency?
References Rivet::ParticleBase::abseta(), Rivet::Particle::abspid(), and Rivet::ParticleBase::pT().
Referenced by ELECTRON_EFF_CMS_RUN1_LOOSE(), ELECTRON_EFF_CMS_RUN1_MEDIUM(), ELECTRON_EFF_CMS_RUN1_TIGHT(), and ELECTRON_EFF_CMS_RUN2().
◆ ELECTRON_EFF_CMS_RUN1_LOOSE()
|
inline |
CMS Run 1 loose electron reconstruction efficiency
- Todo
- Just an alias to generic: improve!
References ELECTRON_EFF_CMS_RUN1().
◆ ELECTRON_EFF_CMS_RUN1_MEDIUM()
|
inline |
CMS Run 1 medium electron reconstruction efficiency
- Todo
- Just an alias to generic: improve!
References ELECTRON_EFF_CMS_RUN1().
◆ ELECTRON_EFF_CMS_RUN1_TIGHT()
|
inline |
CMS Run 1 tight electron reconstruction efficiency
- Todo
- Just an alias to generic: improve!
References ELECTRON_EFF_CMS_RUN1().
◆ ELECTRON_EFF_CMS_RUN2()
|
inline |
CMS Run 2 electron reco efficiency
References Rivet::Particle::abspid(), and ELECTRON_EFF_CMS_RUN1().
Referenced by ELECTRON_EFF_CMS_RUN2_LOOSE(), ELECTRON_EFF_CMS_RUN2_MEDIUM(), and ELECTRON_EFF_CMS_RUN2_TIGHT().
◆ ELECTRON_EFF_CMS_RUN2_LOOSE()
|
inline |
CMS Run 2 loose electron reconstruction efficiency
- Todo
- Just an alias to generic: improve!
References ELECTRON_EFF_CMS_RUN2().
◆ ELECTRON_EFF_CMS_RUN2_MEDIUM()
|
inline |
CMS Run 2 medium electron reconstruction efficiency
- Todo
- Just an alias to generic: improve!
References ELECTRON_EFF_CMS_RUN2().
◆ ELECTRON_EFF_CMS_RUN2_TIGHT()
|
inline |
CMS Run 2 tight electron reconstruction efficiency
- Todo
- Just an alias to generic: improve!
References ELECTRON_EFF_CMS_RUN2().
◆ ELECTRON_IDEFF_ATLAS_RUN2_LOOSE()
|
inline |
ATLAS Run 2 electron identification efficiency, Loose likelihood working point.
Identification efficiency only, depending on analysis details may need to becombined with a RECO and/or ISO efficiency too.
Source: arXiv:1908.00005, Fig 17a/b (for E_T/|eta| bins). Using data efficiencies, from 2015-2017 data, 81 fb^-1, 13 TeV.
As in previous cases where we have independent pT/eta plots, factorised as eff(E_T) x shape(|eta|). Returns 0 for E_T < 4.5 GeV or |eta| > 2.47; the overflow value (150GeV+) is fixed to the final bin (reasonable extrapolation)
References Rivet::ParticleBase::abseta(), Rivet::Particle::abspid(), binIndex(), Rivet::ParticleBase::Et(), and min().
◆ ELECTRON_IDEFF_ATLAS_RUN2_MEDIUM()
|
inline |
ATLAS Run 2 electron identification efficiency, Medium likelihood working point.
Identification efficiency only, depending on analysis details may need to becombined with a RECO and/or ISO efficiency too.
Source: arXiv:1908.00005, Fig 17a/b (for E_T/|eta| bins). Using data efficiencies, from 2015-2017 data, 81 fb^-1, 13 TeV.
As in previous cases where we have independent pT/eta plots, factorised as eff(E_T) x shape(|eta|). Returns 0 for E_T < 4.5 GeV or |eta| > 2.47; the overflow value (150GeV+) is fixed to the final bin (reasonable extrapolation)
References Rivet::ParticleBase::abseta(), Rivet::Particle::abspid(), binIndex(), Rivet::ParticleBase::Et(), and min().
◆ ELECTRON_IDEFF_ATLAS_RUN2_TIGHT()
|
inline |
ATLAS Run 2 electron identification efficiency, Tight likelihood working point.
Identification efficiency only, depending on analysis details may need to becombined with a RECO and/or ISO efficiency too.
Source: arXiv:1908.00005, Fig 17a/b (for E_T/|eta| bins). Using data efficiencies, from 2015-2017 data, 81 fb^-1, 13 TeV.
As in previous cases where we have independent pT/eta plots, factorised as eff(E_T) x shape(|eta|). Returns 0 for E_T < 4.5 GeV or |eta| > 2.47; the overflow value (150GeV+) is fixed to the final bin (reasonable extrapolation)
References Rivet::ParticleBase::abseta(), Rivet::Particle::abspid(), binIndex(), Rivet::ParticleBase::Et(), and min().
◆ ELECTRON_ISOEFF_ATLAS_RUN2_FCLOOSE()
|
inline |
ATLAS Run 2 electron isolation efficiency, FCLoose working point.
Isolation efficiency only, measured for electrons passing Medium identification. Depending on analysis details may need to be combined with a RECO and/or ID efficiency too.
Source: arXiv:1908.00005, Fig 23a/b (for E_T/eta bins), where FCLoose is labelled "Loose". Using data efficiencies, from 2017 data, 44.3 fb^-1, 13 TeV.
As in previous cases where we have independent pT/eta plots, factorised as eff(E_T) x shape(|eta|). Returns 0 for E_T < 4.5 GeV or |eta| > 2.47; the overflow value (500GeV+) is fixed to the final bin (reasonable extrapolation)
References Rivet::ParticleBase::abseta(), Rivet::Particle::abspid(), binIndex(), Rivet::ParticleBase::Et(), and min().
◆ ELECTRON_ISOEFF_ATLAS_RUN2_FCTIGHT()
|
inline |
ATLAS Run 2 electron isolation efficiency, FCTight working point.
Isolation efficiency only, measured for electrons passing Medium identification. Depending on analysis details may need to be combined with a RECO and/or ID efficiency too.
Source: arXiv:1908.00005, Fig 23a/b (for E_T/eta bins), where FCTight is labelled "Tight". Using data efficiencies, from 2017 data, 44.3 fb^-1, 13 TeV.
As in previous cases where we have independent pT/eta plots, factorised as eff(E_T) x shape(|eta|). Returns 0 for E_T < 4.5 GeV or |eta| > 2.47; the overflow value (500GeV+) is fixed to the final bin (reasonable extrapolation)
References Rivet::ParticleBase::abseta(), Rivet::Particle::abspid(), binIndex(), Rivet::ParticleBase::Et(), and min().
◆ ELECTRON_ISOEFF_ATLAS_RUN2_GRADIENT()
|
inline |
ATLAS Run 2 electron isolation efficiency, "Gradient" working point.
Isolation efficiency only, measured for electrons passing Medium identification. Depending on analysis details may need to be combined with a RECO and/or ID efficiency too.
Source: arXiv:1908.00005, Fig 23a/b (for E_T/eta bins). Using data efficiencies, from 2017 data, 44.3 fb^-1, 13 TeV.
As in previous cases where we have independent pT/eta plots, factorised as eff(E_T) x shape(|eta|). Returns 0 for E_T < 4.5 GeV or |eta| > 2.47; the overflow value (500GeV+) is fixed to the final bin (reasonable extrapolation)
References Rivet::ParticleBase::abseta(), Rivet::Particle::abspid(), binIndex(), Rivet::ParticleBase::Et(), and min().
◆ ELECTRON_ISOEFF_ATLAS_RUN2_HIGHPTCALOONLY()
|
inline |
ATLAS Run 2 electron isolation efficiency, HighPtCaloOnly working point.
Isolation efficiency only, measured for electrons passing Medium identification. Depending on analysis details may need to be combined with a RECO and/or ID efficiency too.
Source: arXiv:1908.00005, Fig 23a/b (for E_T/eta bins). Using data efficiencies, from 2017 data, 44.3 fb^-1, 13 TeV.
As in previous cases where we have independent pT/eta plots, factorised as eff(E_T) x shape(|eta|). Returns 0 for E_T < 4.5 GeV or |eta| > 2.47; the overflow value (500GeV+) is fixed to the final bin (reasonable extrapolation)
References Rivet::ParticleBase::abseta(), Rivet::Particle::abspid(), binIndex(), Rivet::ParticleBase::Et(), and min().
◆ ELECTRON_RECOEFF_ATLAS_RUN1()
|
inline |
ATLAS Run 1 electron reconstruction efficiency
- Todo
- Include reco eff (but no e/y discrimination) in forward region
References Rivet::ParticleBase::abseta(), Rivet::Particle::abspid(), and Rivet::ParticleBase::pT().
Referenced by ELECTRON_EFF_ATLAS_RUN1_MEDIUM(), and ELECTRON_EFF_ATLAS_RUN1_TIGHT().
◆ ELECTRON_RECOEFF_ATLAS_RUN2()
|
inline |
ATLAS Run 2 electron reco efficiency
Based on https://arxiv.org/pdf/1902.04655.pdf Fig 2
References Rivet::ParticleBase::abseta(), Rivet::Particle::abspid(), and Rivet::ParticleBase::Et().
Referenced by ELECTRON_EFF_ATLAS_RUN2_LOOSE(), and ELECTRON_EFF_ATLAS_RUN2_TIGHT().
◆ ELECTRON_SMEAR_ATLAS_RUN2()
ATLAS Run 2 electron reco smearing
References ELECTRON_SMEAR_ATLAS_RUN1().
◆ ELECTRON_SMEAR_CMS_RUN1()
CMS electron energy smearing, preserving direction.
Calculate resolution for pT > 0.1 GeV, E resolution = |eta| < 0.5 -> sqrt(0.06^2 + pt^2 * 1.3e-3^2) |eta| < 1.5 -> sqrt(0.10^2 + pt^2 * 1.7e-3^2) |eta| < 2.5 -> sqrt(0.25^2 + pt^2 * 3.1e-3^2)
References Rivet::Kin::abseta(), Rivet::ParticleBase::abseta(), add_quad(), P4_SMEAR_E_GAUSS(), Rivet::Particle::pid(), and Rivet::ParticleBase::pT().
Referenced by ELECTRON_SMEAR_CMS_RUN2().
◆ ELECTRON_SMEAR_CMS_RUN2()
CMS Run 2 electron reco smearing
References ELECTRON_SMEAR_CMS_RUN1().
◆ lumiWeightedEff()
|
inline |
Luminosity-weighted average of per-period efficiency functions, sum_i L_i eff_i / sum_i L_i.
The object type must be explicit, e.g. lumiWeightedEff<Particle>({{fn2022, 29.0}, {fn2023, 28.0}}).
References sum().
Generated on for Rivet by
