ATLAS Offline Software
Public Member Functions | List of all members
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. More...
 
virtual float getWeight (const xAOD::EventInfo *evtInfo, const std::string &weightName) const =0
 Return the weight corresponding to weightName for this event. More...
 
virtual bool hasWeight (const std::string &weightName) const =0
 Check if a weight called weightName exists. More...
 
virtual float getSysWeight (const xAOD::EventInfo *evtInfo, const CP::SystematicSet &sys) const =0
 Return the weight corresponding to the current systematics. More...
 
virtual size_t getSysWeightIndex (const CP::SystematicSet &sys) const =0
 Return the weight index corresponding to the current systematics. More...
 
virtual SystematicSet affectingSystematics () const =0
 the list of all systematics this tool can be affected by More...
 
virtual SystematicSet recommendedSystematics () const =0
 the list of all systematics this tool recommends to use More...
 
virtual void print () const =0
 Print the state of the tool. More...
 

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

◆ 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()

virtual void asg::IAsgTool::print ( ) const
pure virtualinherited

◆ recommendedSystematics()

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

the list of all systematics this tool recommends to use

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


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