|
ATLAS Offline Software
|
Go to the documentation of this file.
63 double PT = (
pt() > 0) ? 1000. *
static_cast<double>(
pt()) : 0.01;
75 return accSeedTower(*
this);
81 return link.
isValid() ? *link :
nullptr;
86 return accTowers(*
this);
97 decSeedTower(*
this) = link;
103 decTowers(*
this) =
links;
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
Description of JGTower_v1.
const std::vector< ElementLink< JGTowerContainer > > & towerLinks() const
Element links to the towers making up this gBlock (including the seed)
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
virtual Type::ObjectType type() const final
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
Extra patterns decribing particle interation process.
virtual double e() const final
The total energy of the particle.
virtual double phi() const final
The azimuthal angle ( ) of the particle.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
void setSeedTowerLink(const ElementLink< JGTowerContainer > &link)
Set the seed link.
Helper class to provide constant type-safe access to aux data.
Class providing the definition of the 4-vector interface.
virtual double m() const final
The invariant mass of the particle.
bool isValid() const
Test to see if the link can be dereferenced.
virtual FourMom_t p4() const final
The full 4-momentum of the particle as a TLoretzVector.
Amg::RotationMatrix3D setPhi(Amg::RotationMatrix3D mat, double angle, int convention=0)
virtual double eta() const final
The pseudorapidity ( ) of the particle.
TLorentzVector FourMom_t
Definition of the 4-momentum type.
const ElementLink< JGTowerContainer > & seedTowerLink() const
The element link to the seed tower of this gBlock.
AUXSTORE_PRIMITIVE_SETTER_WITH_CAST(CompositeParticle_v1, float, double, px, setPx) AUXSTORE_PRIMITIVE_SETTER_WITH_CAST(CompositeParticle_v1
Helper class to provide type-safe access to aux data.
virtual ~GBlock_v1() override
Default destructor.
AUXSTORE_PRIMITIVE_GETTER_WITH_CAST(Muon_v1, uint8_t, Muon_v1::EnergyLossType, energyLossType) AUXSTORE_PRIMITIVE_SETTER_WITH_CAST(Muon_v1
void setTowerLinks(const std::vector< ElementLink< JGTowerContainer >> &links)
set the tower links
virtual double pt() const final
The transverse momentum of the particle.
ElementLink implementation for ROOT usage.
void makePrivateStore()
Create a new (empty) private store for this object.
GBlock_v1 & operator=(const GBlock_v1 &other)
Assignment operator.
bool hasStore() const
Return true if this object has an associated store.
const JGTower * getTower(std::size_t idx) const
Get a link by number.
const JGTower * seedTower() const
The seed tower for this gBlock.
virtual double rapidity() const final
The true rapidity (y) of the particle.
const SG::AuxVectorData * container() const
Return the container holding this element.
ObjectType
Type of objects that have a representation in the xAOD EDM.
GBlock_v1()=default
Default constructor.
IParticle & operator=(const IParticle &)=default