final Class Reference

Implements an analysis in the dilepton channel. More...

#include <DileptonTrees.h>

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

List of all members.

Public Member Functions

 DileptonTrees (Options const &options, Dataset &dataset)
bool ProcessEvent ()
 Performs the event selection and fills the output tree.
 PhotonTrees (Options const &options, Dataset &dataset)
bool ProcessEvent ()
 Performs the event selection and fills the output tree.

Static Public Member Functions

static
boost::program_options::options_description 
OptionsDescription ()
 Constructs descriptions for command line options.
static
boost::program_options::options_description 
OptionsDescription ()
 Constructs descriptions for command line options.

Private Types

enum  LeptonCat { kEE = 0, kMuMu = 1, kEMu = 2 }
enum  JetCat {
  kEq0J, kGEq1J, kVbf, kEq0J,
  kGEq1J, kVbf
}
enum  JetCat {
  kEq0J, kGEq1J, kVbf, kEq0J,
  kGEq1J, kVbf
}

Private Member Functions

std::optional< std::tuple
< LeptonCat, Lepton const
*, Lepton const * > > 
CheckLeptons () const
 Performs selection on leptons.
void FillMoreVariables (std::array< Lepton, 2 > const &leptons, std::vector< Jet > const &jets)
 Fills additional variables, mostly lepton and jet momenta.
Photon const * CheckPhotons () const
void FillMoreVariables (std::vector< Jet > const &jets)

Private Attributes

bool storeMoreVariables_
 Indicates that additional variables should be stored.
double ptMissCut_
 Specifies the cut on ptmiss. Default is 80.
std::optional< GenZZBuildergenZZBuilder_
 An object to reconstruct generator-level ZZ system.
TTreeReaderValue< ULong64_t > srcEvent_
Int_t leptonCat_
Int_t jetCat_
Int_t numPVGood_
Float_t llPt_
Float_t llEta_
Float_t llPhi_
Float_t llMass_
Float_t missPt_
Float_t missPhi_
Float_t mT_
TTreeReaderValue< int > srcNumPVGood_
ULong64_t event_
Float_t genMZZ_
Int_t leptonCharge_ [2]
Float_t leptonPt_ [2]
Float_t leptonEta_ [2]
Float_t leptonPhi_ [2]
Float_t leptonMass_ [2]
Int_t jetSize_
Float_t jetPt_ [maxSize_]
Float_t jetEta_ [maxSize_]
Float_t jetPhi_ [maxSize_]
Float_t jetMass_ [maxSize_]
std::optional< GenPhotonBuildergenPhotonBuilder_
PhotonBuilder photonBuilder_
PhotonPrescales photonPrescales_
std::vector< PhotonTriggerphotonTriggers_
PhotonWeight photonWeight_
GJetsWeight gJetsWeight_
std::string labelWGamma_ = ""
std::string labelZGamma_ = ""
Float_t photonPt_
Float_t photonEta_
Float_t photonPhi_
Float_t photonMass_
Float_t triggerWeight_
Float_t photonReweighting_
Float_t photonNvtxReweighting_
Float_t meanWeight_
bool isQCD_
std::vector< std::string > v_jetCat_
bool applyNvtxWeights_
bool applyPtWeights_
bool applyMassLineshape_
bool applyMeanWeights_
std::map< TString, std::map
< double, std::pair< double,
double > > > 
nVtxWeight_map_
std::map< TString, std::map
< double, std::pair< double,
double > > > 
ptWeight_map_
std::map< TString, std::map
< double, double > > 
meanWeight_map_
std::map< TString, TH1 * > lineshapeMassWeight_map_

Static Private Attributes

static double constexpr kNominalMZ_ = 91.1876
static int const maxSize_ = 32

Detailed Description

Implements an analysis in the dilepton channel.

This class applies a slightly looser version of the standard analysis selection in the dilepton channel: the leptons are not required to be of the same flavour, and the cut on ptmiss is loosened. For each selected event, a few observables, together with the event weight, are stored in a ROOT tree. In addition, momenta and other properties of jets and leptons can be stored if flag --more-vars is provided.

Event weights are saved with the help of the base class EventTrees.


Member Function Documentation

std::optional<std::tuple<LeptonCat, Lepton const *, Lepton const *> > final::CheckLeptons (  )  const [private]

Performs selection on leptons.

Returns:
If the current event does not pass the selection, the returned optional is empty. Otherwise it contains a tuple of the determined lepton category and pointers to the two leptons, which are ordered by pt.

Member Data Documentation

std::optional<GenZZBuilder> final::genZZBuilder_ [private]

An object to reconstruct generator-level ZZ system.

Only created for datasets for ZZ production with decays to 2l2nu.


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