Implements an analysis in the dilepton channel. More...
#include <DileptonTrees.h>
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< GenZZBuilder > | genZZBuilder_ |
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< GenPhotonBuilder > | genPhotonBuilder_ |
PhotonBuilder | photonBuilder_ |
PhotonPrescales | photonPrescales_ |
std::vector< PhotonTrigger > | photonTriggers_ |
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 |
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.
std::optional<std::tuple<LeptonCat, Lepton const *, Lepton const *> > final::CheckLeptons | ( | ) | const [private] |
Performs selection on leptons.
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.