19 if ( pTau.
jet() ==
nullptr) {
21 return StatusCode::FAILURE;
27 <<
" pt=" << jetSeed->
pt()
28 <<
" eta=" << jetSeed->
eta()
29 <<
" phi=" << jetSeed->
phi());
34 ATH_MSG_DEBUG(
"TauJet eta/phi will be set in Level2 Trigger for negative energy jet");
38 if ( jetSeed->
pt() > 1e-7) {
39 pTau.
setP4(jetSeed->
pt(), jetSeed->
eta(), jetSeed->
phi(), 0.0);
42 pTau.
setP4(
static_cast<float>(1e-7), jetSeed->
eta(), jetSeed->
phi(), 0.0);
48 return StatusCode::SUCCESS;
JetSeedBuilder(const std::string &name)
Constructor.
virtual StatusCode execute(xAOD::TauJet &pTau) const override
Executation of this tool.
virtual ~JetSeedBuilder()
Destructor.
virtual double phi() const
The azimuthal angle ( ) of the particle.
virtual double pt() const
The transverse momentum ( ) of the particle.
virtual double m() const
The invariant mass of the particle.
virtual double eta() const
The pseudorapidity ( ) of the particle.
virtual double e() const
The total energy of the particle.
virtual double phi() const
The azimuthal angle ( ) of the particle.
void setP4(double pt, double eta, double phi, double m)
Set methods for IParticle values.
virtual double eta() const
The pseudorapidity ( ) of the particle.
Jet_v1 Jet
Definition of the current "jet version".
TauJet_v3 TauJet
Definition of the current "tau version".