TauAnalysisTools::CommonSmearingTool Class Reference

Inheritance diagram for TauAnalysisTools::CommonSmearingTool:
TauAnalysisTools::ITauSmearingTool asg::AsgMetadataTool asg::IAsgTool CP::ISystematicsTool asg::AsgTool asg::IAsgTool asg::IAsgTool TauAnalysisTools::TauSmearingRun1Tool

List of all members.

Public Member Functions

 CommonSmearingTool (std::string sName)
 Create a proper constructor for Athena.
virtual StatusCode initialize ()
virtual CP::CorrectionCode applyCorrection (xAOD::TauJet &xTau)
 Apply the correction on a modifyable object.
virtual CP::CorrectionCode correctedCopy (const xAOD::TauJet &xTau, xAOD::TauJet *&xTauCopy)
 Create a corrected copy from a constant tau.
virtual bool isAffectedBySystematic (const CP::SystematicVariation &systematic) const
 returns: whether this tool is affected by the given systematis
virtual CP::SystematicSet affectingSystematics () const
 returns: the list of all systematics this tool can be affected by
virtual CP::SystematicSet recommendedSystematics () const
 returns: the list of all systematics this tool recommends to use
virtual CP::SystematicCode applySystematicVariation (const CP::SystematicSet &sSystematicSet)

Protected Types

typedef std::map< std::string,
TH1F * > 
SFMAP

Protected Member Functions

std::string ConvertProngToString (const int &iProngness)
template<class T >
void ReadInputs (TFile *fFile, std::map< std::string, T > *mMap)
virtual CP::CorrectionCode getValue (const std::string &sHistName, const xAOD::TauJet &xTau, double &dEfficiencyScaleFactor) const
e_TruthMatchedParticleType checkTruthMatch (const xAOD::TauJet &xTau) const
void generateSystematicSets ()

Protected Attributes

SFMAP * m_mSF
std::unordered_map
< CP::SystematicSet,
std::string > 
m_mSystematicSets
const CP::SystematicSetm_sSystematicSet
std::map< std::string, int > m_mSystematics
std::map< std::string,
std::string > 
m_mSystematicsHistNames
double(* m_fX )(const xAOD::TauJet &xTau)
double(* m_fY )(const xAOD::TauJet &xTau)
std::string m_sInputFilePath
std::string m_sInputFileName
bool m_bIsData
bool m_bIsConfigured
bool m_bSkipTruthMatchCheck
bool m_bApplyFading
bool m_bApplyMVATES
bool m_bApplyCombinedTES
bool m_bApplyMVATESQualityCheck
asg::AnaToolHandle< ITauToolBasem_tMvaTESVariableDecorator
asg::AnaToolHandle< ITauToolBasem_tMvaTESEvaluator
asg::AnaToolHandle< ITauToolBasem_tCombinedP4FromRecoTaus
e_TruthMatchedParticleType m_eCheckTruth
bool m_bNoMultiprong
CP::SystematicSet m_sAffectingSystematics
CP::SystematicSet m_sRecommendedSystematics
bool m_bPtFinalCalibIsAvailable
bool m_bPtFinalCalibIsAvailableIsChecked
bool m_bPtTauEtaCalibIsAvailable
bool m_bPtTauEtaCalibIsAvailableIsChecked

Member Function Documentation

CP::SystematicCode CommonSmearingTool::applySystematicVariation ( const CP::SystematicSet sSystematicSet  )  [virtual]

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

Implements CP::ISystematicsTool.

StatusCode CommonSmearingTool::initialize ( void   )  [virtual]

Dummy implementation of the initialisation function

It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...

Reimplemented from asg::AsgTool.


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