![]() |
ATLAS Offline Software
|
Interface for xAOD Truth Weight Tool which retrieves Meta Data from a truth record to interface the event weights. More...
#include <IPMGTruthWeightTool.h>
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. | |
Interface for xAOD Truth Weight Tool which retrieves Meta Data from a truth record to interface the event weights.
Definition at line 24 of file IPMGTruthWeightTool.h.
|
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.
|
pure virtual |
Return the weight corresponding to the current systematics.
Implemented in PMGTools::PMGTruthWeightTool.
|
pure virtual |
Return the weight index corresponding to the current systematics.
Implemented in PMGTools::PMGTruthWeightTool.
|
pure virtual |
Return the weight corresponding to weightName for this event.
Implemented in PMGTools::PMGTruthWeightTool.
|
pure virtual |
Declare the interface that the class provides.
Return vector of weight names (descriptions) from meta data
Implemented in PMGTools::PMGTruthWeightTool.
|
pure virtual |
Check if a weight called weightName exists.
Implemented in PMGTools::PMGTruthWeightTool.
|
pure virtualinherited |
Print the state of the tool.
Implemented in asg::AsgTool, AsgHelloTool, HI::HIPileupTool, JetBottomUpSoftDrop, JetConstituentsRetriever, JetDumper, JetFinder, JetFromPseudojet, JetModifiedMassDrop, JetPileupLabelingTool, JetPruner, JetPseudojetRetriever, JetReclusterer, JetReclusteringTool, JetRecTool, JetRecursiveSoftDrop, JetSoftDrop, JetSplitter, JetSubStructureMomentToolsBase, JetToolRunner, JetTrimmer, JetTruthLabelingTool, KtDeltaRTool, and LundVariablesTool.
|
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.