5#ifndef XAODTRIGL1CALO_VERSIONS_GBLOCK_V1_H
6#define XAODTRIGL1CALO_VERSIONS_GBLOCK_V1_H
9#include "AthLinks/ElementLink.h"
29 virtual double pt()
const final;
51 virtual
double m()
const final;
54 virtual
double e()
const final;
97#include "AthContainers/DataVector.h"
Base class for elements of a container that can have aux data.
#define DATAVECTOR_BASE(T, BASE)
Declare base class info to DataVector.
ElementLink implementation for ROOT usage.
float deta() const
The pseudorapidity ( ) of the particle.
const JGTower * getTower(std::size_t idx) const
Get a link by number.
const std::vector< ElementLink< JGTowerContainer > > & towerLinks() const
Element links to the towers making up this gBlock (including the seed)
const ElementLink< JGTowerContainer > & seedTowerLink() const
The element link to the seed tower of this gBlock.
virtual Type::ObjectType type() const final
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
void setArea(float)
Set the area.
virtual double m() const final
The invariant mass of the particle.
virtual double e() const final
The total energy of the particle.
std::size_t nTowers() const
The number of towers that make up this gBlock (including the seed)
void setTowerLinks(const std::vector< ElementLink< JGTowerContainer > > &links)
set the tower links
virtual ~GBlock_v1() override
Default destructor.
virtual FourMom_t p4() const final
The full 4-momentum of the particle as a TLoretzVector.
virtual double rapidity() const final
The true rapidity (y) of the particle.
virtual double eta() const final
The pseudorapidity ( ) of the particle.
float dphi() const
The azimuthal angle ( ) of the particle.
virtual double pt() const final
The transverse momentum of the particle.
float area() const
The area of the gBlock.
void setSeedTowerLink(const ElementLink< JGTowerContainer > &link)
Set the seed link.
virtual double phi() const final
The azimuthal angle ( ) of the particle.
GBlock_v1 & operator=(const GBlock_v1 &other)
Assignment operator.
const JGTower * seedTower() const
The seed tower for this gBlock.
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
GBlock_v1()=default
Default constructor.
Class providing the definition of the 4-vector interface.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
JGTower_v1 JGTower
Define the latest version of the JGTower class.
JGTowerContainer_v1 JGTowerContainer
Define the latest version of the JGTower container.