PhotonBuilder Class Reference

Lazily builds a collection of reconstructed photons. More...

#include <PhotonBuilder.h>

Collaboration diagram for PhotonBuilder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PhotonBuilder (Dataset &dataset, Options const &)
std::vector< Photon > const & Get () const override
 Returns collection of photons.

Private Member Functions

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

Private Attributes

double minPt_
 Minimal pt for photons to select, GeV.
bool isSim_
 Indicates whether running on simulation or data.
std::string idBranchName_
 Name of the photon ID branch (changes between 2016 and 2017, for NanoAODv6).
bool isIdBitmap_
std::vector< Photon > photons_
 Collection of photons.
std::unique_ptr
< TTreeReaderArray< float > > 
srcGenPt_
std::unique_ptr
< TTreeReaderArray< float > > 
srcGenEta_
std::unique_ptr
< TTreeReaderArray< float > > 
srcGenPhi_
std::unique_ptr
< TTreeReaderArray< int > > 
srcPhotonGenPartIndex_
std::unique_ptr
< TTreeReaderArray< UChar_t > > 
srcFlavour_
TTreeReaderArray< float > srcPt_
TTreeReaderArray< float > srcEta_
TTreeReaderArray< float > srcPhi_
std::unique_ptr
< TTreeReaderArray< int > > 
srcId_
TTreeReaderArray< bool > srcIsEtaScEb_

Detailed Description

Lazily builds a collection of reconstructed photons.

The photons are subjected to a tight kinematical selection.


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