148 return static_cast< double >(
et() );
163 return p4().Rapidity();
169 double PT = (
pt() > 0) ? 1000. *
static_cast< double >(
pt() ) : 0.01;
170 p4.SetPtEtaPhiM( PT ,
eta() ,
phi() ,
m() );
#define AUXSTORE_OBJECT_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of complex auxiliary properties.
void makePrivateStore()
Create a new (empty) private store for this object.
SG::ConstAccessor< T, ALLOC > ConstAccessor
bool hasStore() const
Return true if this object has an associated store.
const SG::AuxVectorData * container() const
Return the container holding this element.
IParticle & operator=(const IParticle &)=default
SG::Accessor< T, ALLOC > Accessor
Description of JGTower_v1.
virtual double e() const final
The total energy of the particle.
virtual double phi() const final
The azimuthal angle ( ) of the particle.
JGTower_v1 & operator=(const JGTower_v1 &other)
Assignment operator.
virtual double et() const final
virtual double dphi() const final
The azimuthal angle ( ) of the particle.
virtual double pt() const final
The transverse momentum ( ) of the particle.
virtual int sampling() const final
virtual double rapidity() const final
The true rapidity (y) of the particle.
virtual double deta() const final
The pseudorapidity ( ) of the particle.
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
JGTower_v1()
Default constructor.
virtual FourMom_t p4() const final
The full 4-momentum of the particle as a TLoretzVector.
virtual double m() const final
The invariant mass of the particle.
virtual int Id() const final
get coolId
virtual double eta() const final
The pseudorapidity ( ) of the particle.
virtual void initialize(const int Id, const float Eta, const float Phi, const float Et)
virtual Type::ObjectType type() const final
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.