Rivet API documentation

Rivet 4.1.3
Rivet::ATLAS_RUN2_ELECTRON_ET_RES Class Reference

#include <ExptResolutionFunctions.hh>

Inheritance diagram for Rivet::ATLAS_RUN2_ELECTRON_ET_RES:
Rivet::ResolutionFunctor< Particle >

Public Member Functions

double resolution (const double et, const double e, const double abseta) const
double resolution (const Particle &e) const override
 Get electron pt/et resolution given a Particle (hopefully an electron).
const T2 & refData (const string &hname) const
LoggetLog () const

Detailed Description

Based on implementation (and data files adapted from) https://gitlab.cern.ch/atlas-sa/framework/-/blob/3c261d70940b42e216d7205af9f5d6882a88700d/src/ObjectResolutions.cxx In turn based on 2017 electron resolution files.

Member Function Documentation

◆ refData()

const T2 & Rivet::ResolutionFunctor< Particle >::refData ( const string & hname) const
inlineinherited

Get reference data for a named histo If the overwhelming majority of Functors end up not needing refdata, maybe we should factorise?

Todo
ensure that the type inherits from YODA::AnalysisObject?

◆ resolution() [1/2]

double Rivet::ATLAS_RUN2_ELECTRON_ET_RES::resolution ( const double et,
const double e,
const double abseta ) const
inline

Get electron pt resolution given et, e, abseta. See SA code for justification.

References Rivet::Kin::abseta(), Rivet::max(), and Rivet::min().

Referenced by resolution().

◆ resolution() [2/2]

double Rivet::ATLAS_RUN2_ELECTRON_ET_RES::resolution ( const Particle & e) const
inlineoverridevirtual

Get electron pt/et resolution given a Particle (hopefully an electron).

Implements Rivet::ResolutionFunctor< Particle >.

References Rivet::ParticleBase::abseta(), Rivet::ParticleBase::E(), Rivet::ParticleBase::Et(), and resolution().


The documentation for this class was generated from the following file: