ATLAS Offline Software
Loading...
Searching...
No Matches
PMGTools::IPMGTruthWeightTool Class Referenceabstract

Interface for xAOD Truth Weight Tool which retrieves Meta Data from a truth record to interface the event weights. More...

#include <IPMGTruthWeightTool.h>

Inheritance diagram for PMGTools::IPMGTruthWeightTool:
Collaboration diagram for PMGTools::IPMGTruthWeightTool:

Public Member Functions

virtual const std::vector< std::string > & getWeightNames () const =0
 Declare the interface that the class provides.
virtual float getWeight (const xAOD::EventInfo *evtInfo, const std::string &weightName) const =0
 Return the weight corresponding to weightName for this event.
virtual bool hasWeight (const std::string &weightName) const =0
 Check if a weight called weightName exists.
virtual float getSysWeight (const xAOD::EventInfo *evtInfo, const CP::SystematicSet &sys) const =0
 Return the weight corresponding to the current systematics.
virtual size_t getSysWeightIndex (const CP::SystematicSet &sys) const =0
 Return the weight index corresponding to the current systematics.
virtual SystematicSet affectingSystematics () const =0
 the list of all systematics this tool can be affected by
virtual SystematicSet recommendedSystematics () const =0
 the list of all systematics this tool recommends to use
virtual void print () const =0
 Print the state of the tool.

Detailed Description

Interface for xAOD Truth Weight Tool which retrieves Meta Data from a truth record to interface the event weights.

Author
James Robinson james.nosp@m..rob.nosp@m.inson.nosp@m.@cer.nosp@m.n.ch

Definition at line 24 of file IPMGTruthWeightTool.h.

Member Function Documentation

◆ affectingSystematics()

virtual SystematicSet CP::IReentrantSystematicsTool::affectingSystematics ( ) const
pure virtualinherited

the list of all systematics this tool can be affected by

Implemented in AsgElectronEfficiencyCorrectionTool, AsgPhotonEfficiencyCorrectionTool, BaseFakeBkgTool, BTaggingEfficiencyJsonTool, BTaggingEfficiencyTool, BTaggingEigenVectorRecompositionTool, BTaggingTruthTaggingTool, CP::BaseFakeBkgTool, CP::EgammaCalibrationAndSmearingTool, CP::ElectronChargeEfficiencyCorrectionTool, CP::FFJetSmearingTool, CP::IIsolationCorrectionTool, CP::IsolationCorrectionTool, CP::JetQGTagger, CP::JetTileCorrectionTool, CP::MuonCalibIntHighpTSmearTool, CP::MuonCalibIntSagittaTool, CP::MuonCalibIntScaleSmearTool, CP::MuonCalibTool, CP::MuonEfficiencyScaleFactors, CP::MuonTriggerScaleFactors, CP::PileupReweightingTool, CP::SystematicsTool, InDet::IInDetTrackBiasingTool, InDet::IInDetTrackSmearingTool, InDet::IInDetTrackTruthFilterTool, InDet::IJetTrackFilterTool, InDet::InclusiveTrackFilterTool, InDet::InDetTrackBiasingTool, InDet::InDetTrackSmearingTool, InDet::InDetTrackSystematicsTool, InDet::InDetTrackTruthFilterTool, InDet::JetTrackFilterTool, JetUncertaintiesTool, met::METSystematicsTool, ParticleScaleFactorTool, PMGTools::PMGHFProductionFractionTool, PMGTools::PMGTruthWeightTool, SimpleElectronEfficiencyCorrectionTool, SimpleMuonTriggerScaleFactors, SimplePhotonEfficiencyCorrectionTool, TauAnalysisTools::CommonEfficiencyTool, TauAnalysisTools::CommonSmearingTool, TauAnalysisTools::DiTauEfficiencyCorrectionsTool, TauAnalysisTools::DiTauSmearingTool, TauAnalysisTools::TauEfficiencyCorrectionsTool, TauAnalysisTools::TauSmearingTool, and TrigGlobalEfficiencyCorrectionTool.

◆ getSysWeight()

virtual float PMGTools::IPMGTruthWeightTool::getSysWeight ( const xAOD::EventInfo * evtInfo,
const CP::SystematicSet & sys ) const
pure virtual

Return the weight corresponding to the current systematics.

Implemented in PMGTools::PMGTruthWeightTool.

◆ getSysWeightIndex()

virtual size_t PMGTools::IPMGTruthWeightTool::getSysWeightIndex ( const CP::SystematicSet & sys) const
pure virtual

Return the weight index corresponding to the current systematics.

Implemented in PMGTools::PMGTruthWeightTool.

◆ getWeight()

virtual float PMGTools::IPMGTruthWeightTool::getWeight ( const xAOD::EventInfo * evtInfo,
const std::string & weightName ) const
pure virtual

Return the weight corresponding to weightName for this event.

Implemented in PMGTools::PMGTruthWeightTool.

◆ getWeightNames()

virtual const std::vector< std::string > & PMGTools::IPMGTruthWeightTool::getWeightNames ( ) const
pure virtual

Declare the interface that the class provides.

Return vector of weight names (descriptions) from meta data

Implemented in PMGTools::PMGTruthWeightTool.

◆ hasWeight()

virtual bool PMGTools::IPMGTruthWeightTool::hasWeight ( const std::string & weightName) const
pure virtual

Check if a weight called weightName exists.

Implemented in PMGTools::PMGTruthWeightTool.

◆ print()

◆ recommendedSystematics()

virtual SystematicSet CP::IReentrantSystematicsTool::recommendedSystematics ( ) const
pure virtualinherited

the list of all systematics this tool recommends to use

Implemented in AsgElectronEfficiencyCorrectionTool, AsgPhotonEfficiencyCorrectionTool, BaseFakeBkgTool, BTaggingEfficiencyJsonTool, BTaggingEfficiencyTool, BTaggingEigenVectorRecompositionTool, BTaggingTruthTaggingTool, CP::BaseFakeBkgTool, CP::EgammaCalibrationAndSmearingTool, CP::ElectronChargeEfficiencyCorrectionTool, CP::FFJetSmearingTool, CP::IIsolationCorrectionTool, CP::IsolationCorrectionTool, CP::JetQGTagger, CP::JetTileCorrectionTool, CP::MuonCalibIntHighpTSmearTool, CP::MuonCalibIntSagittaTool, CP::MuonCalibIntScaleSmearTool, CP::MuonCalibTool, CP::MuonEfficiencyScaleFactors, CP::MuonTriggerScaleFactors, CP::PileupReweightingTool, CP::SystematicsTool, InDet::IInDetTrackBiasingTool, InDet::IInDetTrackSmearingTool, InDet::IInDetTrackTruthFilterTool, InDet::IJetTrackFilterTool, InDet::InclusiveTrackFilterTool, InDet::InDetTrackBiasingTool, InDet::InDetTrackSmearingTool, InDet::InDetTrackSystematicsTool, InDet::InDetTrackTruthFilterTool, InDet::JetTrackFilterTool, JetUncertaintiesTool, met::METSystematicsTool, ParticleScaleFactorTool, PMGTools::PMGHFProductionFractionTool, PMGTools::PMGTruthWeightTool, SimpleElectronEfficiencyCorrectionTool, SimpleMuonTriggerScaleFactors, SimplePhotonEfficiencyCorrectionTool, TauAnalysisTools::CommonEfficiencyTool, TauAnalysisTools::CommonSmearingTool, TauAnalysisTools::DiTauEfficiencyCorrectionsTool, TauAnalysisTools::DiTauSmearingTool, TauAnalysisTools::TauEfficiencyCorrectionsTool, TauAnalysisTools::TauSmearingTool, and TrigGlobalEfficiencyCorrectionTool.


The documentation for this class was generated from the following file: