DAS
3.0
Das Analysis System
|
Modifies the weights of the reconstructed muons to apply the efficiency correction.
Note: tuned for Run 2 UL
Public Member Functions | |
TriggerApplier (const fs::path &filePath, string &histname, int year, bool correction, bool uncertainties) | |
bool | passes (const RecEvent &, const Trigger &trigger, const vector< RecMuon > &muons) const override |
int | binIndex (const RecEvent &, const Trigger &, const vector< RecMuon > &muons, const unique_ptr< TH1 > &hist) const override |
Public Member Functions inherited from GenericSFApplier< RecEvent, Trigger, vector< RecMuon > > | |
GenericSFApplier (const std::filesystem::path &filePath, bool correction, bool uncertainties) | |
virtual | ~GenericSFApplier () noexcept=default |
void | operator() (RecEvent &object, const Context &... ctx) const |
void | operator() (std::vector< RecEvent > &objects, const Context &... ctx) const |
std::vector< std::string > | weightNames () const |
Private Attributes | |
int | m_year |
Additional Inherited Members | |
Protected Types inherited from GenericSFApplier< RecEvent, Trigger, vector< RecMuon > > | |
enum | Interpretation |
Protected Member Functions inherited from GenericSFApplier< RecEvent, Trigger, vector< RecMuon > > | |
void | loadNominal (const std::string &histPath) |
void | loadBinWiseUnc (const std::string &name, const std::string &histPath, Interpretation intp=UseBinContent) |
void | loadGlobalUnc (const std::string &name, const std::string &histPath, Interpretation intp=UseBinContent) |
virtual bool | passes (const RecEvent &obj, const Context &... ctx) const=0 |
virtual int | binIndex (const RecEvent &obj, const Context &... ctx, const std::unique_ptr< TH1 > &hist) const=0 |
|
inline |
|
inlineoverride |
|
private |