|
ATLAS Offline Software
|
Go to the documentation of this file.
27 if ( pTau.
jet() ==
nullptr) {
29 return StatusCode::FAILURE;
35 <<
" pt=" << jetSeed->
pt()
36 <<
" eta=" << jetSeed->
eta()
37 <<
" phi=" << jetSeed->
phi());
42 ATH_MSG_DEBUG(
"TauJet eta/phi will be set in Level2 Trigger for negative energy jet");
46 if ( jetSeed->
pt() > 1
e-7) {
47 pTau.
setP4(jetSeed->
pt(), jetSeed->
eta(), jetSeed->
phi(), 0.0);
50 pTau.
setP4(
static_cast<float>(1
e-7), jetSeed->
eta(), jetSeed->
phi(), 0.0);
56 return StatusCode::SUCCESS;
virtual double eta() const
The pseudorapidity ( ) 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 phi() const
The azimuthal angle ( ) of the particle.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a tau jet.
virtual ~JetSeedBuilder()
Destructor.
JetSeedBuilder(const std::string &name)
Constructor.
virtual double eta() const
The pseudorapidity ( ) of the particle.
virtual StatusCode execute(xAOD::TauJet &pTau) const override
Executation of this tool.
virtual double m() const
The invariant mass of the particle.
virtual double e() const
The total energy of the particle.
virtual double pt() const
The transverse momentum ( ) of the particle.