15 const std::string& name,
16 const IInterface* parent) :
17 base_class(
type, name, parent) {
40 }
catch (
const std::exception& e) {
42 ATH_MSG_ERROR(
"Error initialising eEmEg1BDTSelector " << e.what());
43 return StatusCode::FAILURE;
46 return StatusCode::SUCCESS;
55 CHECK(tobs.isValid());
59 std::vector<bool> tob_pass(tobs->size(),
false);
62 tob_pass[tob_it] =
true;
63 if (++N_pass_tobs == m_maxtob){
74 ss <<
"\nRun " << ctx <<
'\n';
77 ss << tob->to_string() <<
' ' << std::boolalpha <<
" pass " << tob_pass[ind++] <<
'\n';
79 ss <<
"tob count " << N_pass_tobs <<
'\n';
81 std::ofstream out(name() +
".log", std::ios_base::app);
86 return StatusCode::SUCCESS;
92 <<
"eEmEg1BDTMultAlgTool read, select, count and report number of related eEmEg1BDTTOBS\n"
95 << m_TIP_position <<
' ' << m_TIP_width;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define CHECK(...)
Evaluate an expression and check for errors.
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.