Lazily builds collections of reconstructed electrons. More...
#include <ElectronBuilder.h>
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_ |
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.