#include <JetByVertexFinder.h>
Public Member Functions | |
JetByVertexFinder (std::string name) | |
StatusCode | initialize () |
int | find (const PseudoJetVector &inps, xAOD::JetContainer &jets, xAOD::JetInput::Type contype, const NameList &ghostlabs) const |
void | print () const |
Print the state of the tool. |
Tool to find jets by vertex. A JetFinder is called separately with the input pseudojets associated with each vertex. The full set of ghosts is used for each jet. Jets from different vertices may overlap and may share ghosts.
Tool parameters: JetFinder: Tool called to find jets. Vertex: >=0 selects that vertex (0 for the primary primary vertex) <0 to add jets from all vertices Output jet attributes: OriginIndex (int): Index for the vertex corresponding to this jet.
int JetByVertexFinder::find | ( | const PseudoJetVector & | inps, | |
xAOD::JetContainer & | jets, | |||
xAOD::JetInput::Type | contype, | |||
const NameList & | ghostlabs | |||
) | const [virtual] |
Method to find jets from a vector of pseudojet inputs. The last arguments are the input type for the found jets and the list of ghost constituent labels. Returns 0 for success.
Implements IJetFinder.
StatusCode JetByVertexFinder::initialize | ( | void | ) | [virtual] |
Dummy implementation of the initialisation function
It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...
Reimplemented from asg::AsgTool.