Class to build tauRec seeds from topojets. More...
#include <JetSeedBuilder.h>
Public Member Functions | |
JetSeedBuilder (const std::string &name) | |
Constructor. | |
virtual | ~JetSeedBuilder () |
Destructor. | |
virtual StatusCode | initialize () |
Tool initializer. | |
virtual StatusCode | finalize () |
Finalizer. | |
virtual void | print () const |
Print the state of the tool. | |
virtual StatusCode | execute (xAOD::TauJet &pTau) |
Execute - called for each tau candidate. | |
virtual StatusCode | eventFinalize () |
Event finalizer - called at the end of each event. | |
virtual StatusCode | eventInitialize () |
Event initializer - called at the beginning of each event. |
Class to build tauRec seeds from topojets.
Sets the jet ElementLink and basic kinematic variables in TauJet by searching a matching jet to the tau direction. Also the mass of the tau is set to 0. With tauRec4 the JetSeedBuilder method is the only one to search for a tau candidates. The author of the tau candidate is set 1 (former calo-only seeded) and 3 (former calo+track-seeded) to keep backwards compatibility.
StatusCode JetSeedBuilder::execute | ( | xAOD::TauJet & | pTau | ) | [virtual] |
Execute - called for each tau candidate.
XXX need to decide whether to remove this, because there's no author flag in xAOD::TauJet
Reimplemented from TauRecToolBase.