CP::MuonEfficiencyScaleFactors Class Reference

Inheritance diagram for CP::MuonEfficiencyScaleFactors:
CP::IMuonEfficiencyScaleFactors asg::AsgTool asg::IAsgTool CP::ISystematicsTool asg::IAsgTool asg::IAsgTool

List of all members.

Public Member Functions

 MuonEfficiencyScaleFactors (const std::string &name)
virtual StatusCode initialize ()
 initialize the tool once all settings are in place!
virtual CorrectionCode getEfficiencyScaleFactor (const xAOD::Muon &mu, float &sf, const xAOD::EventInfo *info=0) const
 Retrieve the Scale factor and decorate the muon.
virtual CorrectionCode applyEfficiencyScaleFactor (const xAOD::Muon &mu, const xAOD::EventInfo *info=0) const
 decorate the muon with scale factor information
virtual CorrectionCode getEfficiencyScaleFactorReplicas (const xAOD::Muon &mu, std::vector< float > &sf_err, const xAOD::EventInfo *info=0) const
 replica generation
virtual CorrectionCode applyEfficiencyScaleFactorReplicas (const xAOD::Muon &mu, int nreplicas=50, const xAOD::EventInfo *info=0) const
 decorate the muon with a set of SF replica weights.
virtual bool isAffectedBySystematic (const SystematicVariation &systematic) const
 returns: whether this tool is affected by the given systematis
virtual SystematicSet affectingSystematics () const
 returns: the list of all systematics this tool can be affected by
virtual SystematicSet recommendedSystematics () const
 returns: the list of al l systematics this tool recommends to use
virtual SystematicCode applySystematicVariation (const SystematicSet &systConfig)
virtual CorrectionCode getDataEfficiency (const xAOD::Muon &mu, float &eff, const xAOD::EventInfo *info=0) const
 Obtain the muon efficiency measured using the data.
virtual CorrectionCode applyDataEfficiency (const xAOD::Muon &mu, const xAOD::EventInfo *info=0) const
 decorate a muon with the efficiency information
virtual CorrectionCode getDataEfficiencyReplicas (const xAOD::Muon &mu, std::vector< float > &sf_err, const xAOD::EventInfo *info=0) const
virtual CorrectionCode applyDataEfficiencyReplicas (const xAOD::Muon &mu, int nreplicas=50, const xAOD::EventInfo *info=0) const
virtual CorrectionCode getMCEfficiency (const xAOD::Muon &mu, float &eff, const xAOD::EventInfo *info=0) const
 Obtain the muon efficiency measured using the MC.
virtual CorrectionCode applyMCEfficiency (const xAOD::Muon &mu, const xAOD::EventInfo *info=0) const
virtual CorrectionCode getMCEfficiencyReplicas (const xAOD::Muon &mu, std::vector< float > &sf_err, const xAOD::EventInfo *info=0) const
virtual CorrectionCode applyMCEfficiencyReplicas (const xAOD::Muon &mu, int nreplicas=50, const xAOD::EventInfo *info=0) const
 MuonEfficiencyScaleFactors (const MuonEfficiencyScaleFactors &tocopy)
MuonEfficiencyScaleFactorsoperator= (const MuonEfficiencyScaleFactors &tocopy)

Member Function Documentation

SystematicCode CP::MuonEfficiencyScaleFactors::applySystematicVariation ( const SystematicSet systConfig  )  [virtual]

effects: configure this tool for the given list of systematic variations. any requested systematics that are not affecting this tool will be silently ignored (unless they cause other errors). failures: systematic unknown failures: requesting multiple variations on the same systematic (e.g. up & down) failures: requesting an unsupported variation on an otherwise supported systematic (e.g. a 2 sigma variation and the tool only supports 1 sigma variations) failures: unsupported combination of supported systematic failures: other tool specific errors

Implements CP::ISystematicsTool.

StatusCode CP::MuonEfficiencyScaleFactors::initialize ( void   )  [virtual]

initialize the tool once all settings are in place!

for isolation efficiencies, we don't use a low pt component for now - set the low pt threshold to -1 same holds for TTVA SF, and for the HighPt WP

other

continue with the orignal code

Reimplemented from asg::AsgTool.

SystematicSet CP::MuonEfficiencyScaleFactors::recommendedSystematics (  )  const [virtual]

returns: the list of al l systematics this tool recommends to use

returns: the list of all systematics this tool recommends to use

Implements CP::ISystematicsTool.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1