Implements common aspects of analyses. More...
#include <AnalysisCommon.h>
Public Member Functions | |
AnalysisCommon (Options const &options, Dataset &dataset) | |
Static Public Member Functions | |
static boost::program_options::options_description | OptionsDescription () |
Constructs descriptions for common command line options. | |
Protected Member Functions | |
bool | ApplyCommonFilters () const |
Checks if event passes common event-level filters. | |
double | DPhiPtMiss (const std::initializer_list< CollectionBuilderBase const * > &builders) |
Protected Attributes | |
double | intLumi_ |
Integrated luminosity, 1/pb. | |
double | zMassWindow_ |
Selection cuts values. | |
double | minPtLL_ |
double | minDphiLLPtMiss_ |
double | minDphiJetsPtMiss_ |
double | minDphiLeptonsJetsPtMiss_ |
bool | isSim_ |
Indicates whether this is simulation or real data. | |
TabulatedRngEngine | tabulatedRngEngine_ |
Common random number generator engine. | |
RunSampler | runSampler_ |
BTagger | bTagger_ |
PileUpIdFilter | pileUpIdFilter_ |
ElectronBuilder | electronBuilder_ |
MuonBuilder | muonBuilder_ |
IsoTrackBuilder | isotrkBuilder_ |
std::optional< GenJetBuilder > | genJetBuilder_ |
JetBuilder | jetBuilder_ |
PtMissBuilder | ptMissBuilder_ |
LeptonWeight | leptonWeight_ |
std::optional< GenWeight > | genWeight_ |
std::optional< KFactorCorrection > | kFactorCorrection_ |
std::optional< EWCorrectionWeight > | ewCorrectionWeight_ |
std::optional< PileUpWeight > | pileUpWeight_ |
std::optional< L1TPrefiringWeight > | l1tPrefiringWeight_ |
BTagWeight | bTagWeight_ |
std::optional< PileUpIdWeight > | pileUpIdWeight_ |
WeightCollector | weightCollector_ |
Private Attributes | |
MeKinFilter | meKinFilter_ |
MetFilters | metFilters_ |
JetGeometricVeto | jetGeometricVeto_ |
Implements common aspects of analyses.
This class creates a number of blocks used in multiple analyses, thus avoiding code duplication. Provided blocks include
bool AnalysisCommon::ApplyCommonFilters | ( | ) | const [protected] |
Checks if event passes common event-level filters.
Method ProcessEvent of a derived class should normally call this.
double AnalysisCommon::DPhiPtMiss | ( | const std::initializer_list< CollectionBuilderBase const * > & | builders | ) | [protected] |
Computes the absolute value of phi between ptmiss and the system of leptons (or photon, for the CR) and jets.