14 const std::string& name,
15 const IInterface* parent) :
16 base_class(
type, name, parent) {
44 }
catch (
const std::exception& e) {
47 return StatusCode::FAILURE;
50 return StatusCode::SUCCESS;
60 CHECK(tobs.isValid());
64 std::vector<bool> tob_pass(tobs->size(),
false);
67 tob_pass[tob_it] =
true;
68 if (++N_pass_tobs == m_maxtob){
79 ss <<
"\nRun " << ctx <<
'\n';
82 ss << tob->to_string() <<
' ' << std::boolalpha <<
" pass " << tob_pass[ind++] <<
'\n';
84 ss <<
"tob count " << N_pass_tobs <<
'\n';
86 std::ofstream out(name() +
".log", std::ios_base::app);
91 return StatusCode::SUCCESS;
97 <<
"eEmMultAlgTool read, select, count and report number of related eEmTOBS\n"
100 << 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 eRatio Algorithm.