45 ATH_MSG_ERROR(
"initialize() in " << name() <<
": unable to retrieve "
46 <<
"calibration interface tool!");
63 return StatusCode::SUCCESS;
73 EventContext& ctx = Gaudi::Hive::currentContext();
77 int njtag = (*jets).size();
79 <<
" found with " << njtag <<
" jets.");
81 for (
auto jetItr : jets) {
83 double weight = (*jetItr)->getFlavourTagWeight(
m_tagger);
93 std::pair<double, double> sfResult =
95 std::pair<double, double> effResult =
101 <<
"(" << sfResult.second <<
")");
102 ATH_MSG_DEBUG(
" eff (unc.): " << effResult.first <<
"(" << effResult.second <<
")");
106 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
void tolower(std::string &s)
std::string m_calibrationUncertainty
calibration uncertainty result
ToolHandle< ICalibrationDataInterfaceTool > m_calibrationInterface
pointer to the CalibrationDataInterfaceTool
Gaudi::Property m_tagger
tagger name
SG::ReadHandleKey< JetCollection > m_JetCollectionKey
I/O handlers.
Gaudi::Property m_operatingPoint
tagger operating point
CalibrationDataInterfaceTool::Uncertainty m_uncertaintyType
CalibrationDataInterfaceTester(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
StatusCode initialize() override
standard Athena-Algorithm method
Gaudi::Property m_jetCollection
jet collection name
StatusCode execute() override
standard Athena-Algorithm method
Class TruthInfo: Class to store more truth information about a JetTag (e.g.
const std::string & jetTruthLabel() const
return the truth label
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
std::string label(const std::string &format, int i)