9 const std::string&
type,
10 const std::string& name,
11 const IInterface* parent ) :
19 ATH_MSG_ERROR(
"c-jet fraction for b-tagger likelihood ratio calculation should be between 0 and 1!");
21 return StatusCode::FAILURE;
31 return StatusCode::SUCCESS;
36 float b =
m_acc->b(bjet);
37 float c =
m_acc->c(bjet);
38 float u =
m_acc->u(bjet);
#define ATH_CHECK
Evaluate an expression and check for errors.
Header file to be included by clients of the Monitored infrastructure.
Gaudi::Property< std::string > m_llrName
Gaudi::Property< std::string > m_bName
std::unique_ptr< Accessors > m_acc
virtual StatusCode initialize() override
BJetThreeValueCheck(const std::string &type, const std::string &name, const IInterface *parent)
virtual bool passThreshold(const xAOD::Jet &) const override
Gaudi::Property< std::string > m_cName
Gaudi::Property< std::string > m_uName
Gaudi::Property< float > m_threshold
ToolHandle< GenericMonitoringTool > m_monTool
Gaudi::Property< float > m_cFraction
Group of local monitoring quantities and retain correlation when filling histograms
Declare a monitored scalar variable.
Jet_v1 Jet
Definition of the current "jet version".
float safeLogRatio(float num, float denom)