 |
ATLAS Offline Software
|
Go to the documentation of this file.
15 const std::string&
name,
16 const IInterface*
parent) :
24 return StatusCode::SUCCESS;
39 ATH_MSG_DEBUG(
"read in " << (*in).size() <<
" neighborhoods");
42 for (
const auto nbhd : *in) {
44 if (c_phi.empty()) {
continue;}
47 assert(input.size() == n_features);
53 bdt.decision_function(c_input, scores);
57 for (
const auto&
i : input) {
ss <<
i <<
' ';}
63 ss <<
"C BDT output: ";
64 for (
const auto&
i : scores) {
ss <<
i <<
' ';}
71 return StatusCode::SUCCESS;
77 auto result = std::vector<double>();
79 const auto& phi_low = nbhd->
phi_low();
86 const auto& phi_high = nbhd->
phi_high();
93 result.at(0) = phi_center.at(
c).m_e;
101 phi_center.at(
c+
diff).m_e});
105 phi_low.at(
c+
diff).m_e,
106 phi_high.at(
c-
diff).m_e,
107 phi_high.at(
c+
diff).m_e});
117 std::stringstream
ss;
118 ss <<
"Egamma1BDTAlgTool. name: " <<
name() <<
'\n'
const StripDataVector & phi_center() const
static std::vector< ap_int< 10 > > digitize10(const std::vector< double > &v)
AlgTool to obtain a selection of eFex RoIs read in from the event store.
::StatusCode StatusCode
StatusCode definition for legacy code.
constexpr int fn_classes(int n_classes)
#define CHECK(...)
Evaluate an expression and check for errors.
Header file to be included by clients of the Monitored infrastructure.
const StripDataVector & phi_low() const
const StripDataVector & phi_high() const