DAS
3.0
Das Analysis System
|
Applies the photon ID selection and corrections (scale factors)
In addition, vetoes photons in the barrel-endcap transition region (1.44 < |scEta| < 1.57).
This class modifies the weights of the reconstructed photons to apply the efficiency correction. Scale factors are taken from a ROOT file in the format provided by Egamma for UL scale factors.
The scale factors are retrieved from a histogram called EGamma_SF2D assumed to contain the scale factors in bins of supercluster eta and pT.
Public Member Functions | |
IDApplier (const fs::path &filePath, const string &ID, bool correction, bool uncertainties) | |
Public Member Functions inherited from GenericSFApplier< DAS::RecPhoton > | |
GenericSFApplier (const std::filesystem::path &filePath, bool correction, bool uncertainties) | |
virtual | ~GenericSFApplier () noexcept=default |
void | operator() (DAS::RecPhoton &object, const Context &... ctx) const |
void | operator() (std::vector< DAS::RecPhoton > &objects, const Context &... ctx) const |
std::vector< std::string > | weightNames () const |
Protected Member Functions | |
bool | passes (const RecPhoton &photon) const override |
int | binIndex (const RecPhoton &photon, const std::unique_ptr< TH1 > &hist) const override |
Protected Member Functions inherited from GenericSFApplier< DAS::RecPhoton > | |
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 DAS::RecPhoton &obj, const Context &... ctx) const=0 |
virtual int | binIndex (const DAS::RecPhoton &obj, const Context &... ctx, const std::unique_ptr< TH1 > &hist) const=0 |
Static Private Member Functions | |
static RecPhoton::Identification | getMask (const string &ID) |
Private Attributes | |
unsigned | m_mask |
Additional Inherited Members | |
Protected Types inherited from GenericSFApplier< DAS::RecPhoton > | |
enum | Interpretation |
|
inline |
|
inlineoverrideprotected |
|
inlinestaticprivate |
Gets the enum value for a photon ID name.
|
inlineoverrideprotected |
|
private |
Mask to apply to the photon's selectors.