LeptonWeight Class Reference

Applies lepton identification efficiency scale factors. More...

#include <LeptonWeight.h>

Inheritance diagram for LeptonWeight:
Inheritance graph
[legend]
Collaboration diagram for LeptonWeight:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LeptonWeight (Dataset &dataset, Options const &options, ElectronBuilder const *electronBuilder, MuonBuilder const *muonBuilder)
 Constructor.
double NominalWeight () const override
 Computes the total lepton efficiency weight for the current event.
double ElectronSF (Electron const &electron) const
 Gives scale factor for an electron.
double MuonSF (Muon const &muon) const
 Gives scale factor for a muon.

Private Attributes

std::vector< PtEtaHistogrammuonScaleFactors_
 Individual scale factors for muons and electrons.
std::vector< PtEtaHistogramelectronScaleFactors_
ElectronBuilder const * electronBuilder_
 Non-owning pointer to object that provides collection of electrons.
MuonBuilder const * muonBuilder_
 Non-owning pointer to object that provides collection of muons.

Detailed Description

Applies lepton identification efficiency scale factors.

The computation is done using tight leptons provided by the builders given to the constructor. The scale factors are read from files specified in the master configuration. Multiple scale factors for the same lepton flavour are multiplied together. See documentation for class PtEtaHistogram for a description of the configuration for individual scale factors.

Trigger scale factors are missing.

Systematic variations are not provided.


Member Function Documentation

double LeptonWeight::ElectronSF ( Electron const &  electron  )  const

Gives scale factor for an electron.

Uses pseudorapidity of the ECAL supercluster to look up the scale factor.

double LeptonWeight::MuonSF ( Muon const &  muon  )  const

Gives scale factor for a muon.

Uses uncorrected momentum to look up the scale factor.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Enumerations Enumerator

Generated on 30 Oct 2020 for H→ZZ→2ℓ2ν analysis by  doxygen 1.6.1