ATLAS Offline Software
IBTaggingEigenVectorRecompositionTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
16 #ifndef CPIBTAGGINGEIGENVECTORRECOMPOSITIONTOOL_H
17 #define CPIBTAGGINGEIGENVECTORRECOMPOSITIONTOOL_H
18 
19 #include "AsgTools/IAsgTool.h"
24 
25 #include <vector>
26 #include <map>
27 
29 
31  ASG_TOOL_INTERFACE( IBTagEigenVectorRecompositionTool )
32 
33  public:
39  virtual std::vector<std::string> getListOfOriginalNuisanceParameters(const std::string& label) const = 0;
45  virtual std::map<std::string, std::map<std::string, float>> getCoefficientMap(const std::string& label, const std::vector<unsigned int>& eigenIdxList = std::vector<unsigned int>()) const = 0;
52  virtual std::vector<float> getCoefficients(const std::string & label, const unsigned int evIdx) const = 0;
53  // Return number of eigenvectors used for the chosen label.
54  virtual int getNumEigenVectors(const std::string & label) const = 0;
55 
56 };
57 
58 #endif // CPIBTAGGINGEIGENVECTORRECOMPOSITIONTOOL_H
PlotCalibFromCool.label
label
Definition: PlotCalibFromCool.py:78
IBTaggingEigenVectorRecompositionTool::getCoefficientMap
virtual std::map< std::string, std::map< std::string, float > > getCoefficientMap(const std::string &label, const std::vector< unsigned int > &eigenIdxList=std::vector< unsigned int >()) const =0
Produce a coefficient map contains only eigenvectors that is showing in eigenIdxList and return it to...
SystematicSet.h
ISystematicsTool.h
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
StatusCode.h
IBTaggingEigenVectorRecompositionTool::getListOfOriginalNuisanceParameters
virtual std::vector< std::string > getListOfOriginalNuisanceParameters(const std::string &label) const =0
Declare the interface that the class provides.
CP::ISystematicsTool
Interface for all CP tools supporting systematic variations.
Definition: ISystematicsTool.h:32
IBTaggingEigenVectorRecompositionTool::getNumEigenVectors
virtual int getNumEigenVectors(const std::string &label) const =0
CorrectionCode.h
IBTaggingEigenVectorRecompositionTool::getCoefficients
virtual std::vector< float > getCoefficients(const std::string &label, const unsigned int evIdx) const =0
Returns a vector contains the coefficients value of the chosen label and the chosen eigenvector.
IBTaggingEigenVectorRecompositionTool
Definition: IBTaggingEigenVectorRecompositionTool.h:28