ElectronBuilder Class Reference

Lazily builds collections of reconstructed electrons. More...

#include <ElectronBuilder.h>

Collaboration diagram for ElectronBuilder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ElectronBuilder (Dataset &dataset, Options const &)
 Constructor.
std::vector< Electron > const & Get () const override
 Alias for GetTight.
std::vector< Electron > const & GetLoose () const
 Returns collection of loose electrons.
std::vector< Electron > const & GetTight () const
 Returns collection of tight electrons.

Private Member Functions

void Build () const override
 Constructs electrons for the current event.

Private Attributes

double minPtLoose_
 Minimal pt for loose electrons, GeV.
double minPtTight_
 Minimal pt for tight electrons, GeV.
double maxRelIsoLoose_
 Maximal rel iso for loose muons.
double maxRelIsoTight_
 Maximal rel iso for tight muons.
std::vector< Electron > looseElectrons_
 Collection of electrons passing loose selection.
std::vector< Electron > tightElectrons_
 Collection of electrons passing tight selection.
TTreeReaderArray< float > srcPt_
TTreeReaderArray< float > srcEta_
TTreeReaderArray< float > srcPhi_
TTreeReaderArray< float > srcMass_
TTreeReaderArray< float > srcDeltaEtaSc_
TTreeReaderArray< float > srcIsolation_
TTreeReaderArray< int > srcCharge_
TTreeReaderArray< bool > srcId_
TTreeReaderArray< float > srcECorr_

Detailed Description

Lazily builds collections of reconstructed electrons.

For each event two collections of electrons are constructed: tight and loose. They differ in the minimal pt cut as well as identification requirements. The tight collection is a subset of the loose one.

Residual scale corrections in momenta of loose electrons are aggregated for GetSumMomentumShift.


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