43 for (
unsigned int i = 0; i <
_inputs.size(); ++i)
delete _inputs[i];
45 for (
unsigned int i = 0; i <
_algos.size(); ++i)
delete _algos[i];
59 cout <<
"========================== JetReco::InitRun() =============================" << endl;
60 cout <<
" Input Selections:" << endl;
61 for (
unsigned int i = 0; i <
_inputs.size(); ++i)
_inputs[i]->identify();
62 cout <<
" Algorithms:" << endl;
63 for (
unsigned int i = 0; i <
_algos.size(); ++i)
_algos[i]->identify();
64 cout <<
"===========================================================================" << endl;
72 if (
Verbosity() > 1) cout <<
"JetReco::process_event -- entered" << endl;
78 std::vector<Jet *> inputs;
79 for (
unsigned int iselect = 0; iselect <
_inputs.size(); ++iselect)
81 std::vector<Jet *> parts =
_inputs[iselect]->get_input(topNode);
84 inputs.push_back(parts[
ipart]);
85 inputs.back()->set_id(inputs.size() - 1);
92 for (
unsigned int ialgo = 0; ialgo <
_algos.size(); ++ialgo)
94 std::vector<Jet *> jets =
_algos[ialgo]->get_jets(inputs);
101 for (
unsigned int i = 0; i < inputs.size(); ++i)
delete inputs[i];
104 if (
Verbosity() > 1) cout <<
"JetReco::process_event -- exited" << endl;
122 cout <<
PHWHERE <<
"DST Node missing, doing nothing." << endl;
142 for (
unsigned i = 0; i <
_outputs.size(); ++i)
149 InputNode->
addNode(JetMapNode);
163 cout <<
PHWHERE <<
" ERROR: Can't find JetMap: " <<
_outputs[ipos] << endl;
173 for (
unsigned int i = 0; i <
_inputs.size(); ++i)
178 for (
unsigned int i = 0; i < jets.size(); ++i)