![]() |
ATLAS Offline Software
|
#include <GBlock_v1.h>
Public Types | |
| typedef IParticle::FourMom_t | FourMom_t |
| Definition of the 4-momentum type. | |
Public Member Functions | |
| GBlock_v1 ()=default | |
| Default constructor. | |
| GBlock_v1 (const GBlock_v1 &other) | |
| Copy constructor. | |
| GBlock_v1 & | operator= (const GBlock_v1 &other) |
| Assignment operator. | |
| virtual | ~GBlock_v1 () override |
| Default destructor. | |
| virtual double | pt () const final |
| The transverse momentum of the particle. | |
| virtual double | eta () const final |
| The pseudorapidity ( \(\eta\)) of the particle. | |
| void | setEta (double) |
| virtual double | phi () const final |
| The azimuthal angle ( \(\phi\)) of the particle. | |
| void | setPhi (double) |
| float | deta () const |
| The pseudorapidity ( \(\eta\)) of the particle. | |
| void | setdEta (float) |
| float | dphi () const |
| The azimuthal angle ( \(\phi\)) of the particle. | |
| void | setdPhi (float) |
| float | et () const |
| void | setEt (float) |
| virtual double | m () const final |
| The invariant mass of the particle. | |
| virtual double | e () const final |
| The total energy of the particle. | |
| virtual double | rapidity () const final |
| The true rapidity (y) of the particle. | |
| virtual FourMom_t | p4 () const final |
| The full 4-momentum of the particle as a TLoretzVector. | |
| virtual Type::ObjectType | type () const final |
| The type of the object as a simple enumeration, remains pure virtual in e/gamma. | |
| const ElementLink< JGTowerContainer > & | seedTowerLink () const |
| The element link to the seed tower of this gBlock. | |
| const JGTower * | seedTower () const |
| The seed tower for this gBlock. | |
| std::size_t | nTowers () const |
| The number of towers that make up this gBlock (including the seed). | |
| const std::vector< ElementLink< JGTowerContainer > > & | towerLinks () const |
| Element links to the towers making up this gBlock (including the seed). | |
| const JGTower * | getTower (std::size_t idx) const |
| Get a link by number. | |
| float | area () const |
| The area of the gBlock. | |
| void | setArea (float) |
| Set the area. | |
| void | setSeedTowerLink (const ElementLink< JGTowerContainer > &link) |
| Set the seed link. | |
| void | setTowerLinks (const std::vector< ElementLink< JGTowerContainer > > &links) |
| set the tower links | |
Functions for getting and setting user properties | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
| Fetch an aux data variable, as a non-const reference. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
| Fetch an aux data variable, as a const reference. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
| Check if a user property is available for reading or not. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
| Check if a user property is available for writing or not. | |
Definition at line 16 of file GBlock_v1.h.
Definition of the 4-momentum type.
Definition at line 60 of file GBlock_v1.h.
|
default |
Default constructor.
| xAOD::GBlock_v1::GBlock_v1 | ( | const GBlock_v1 & | other | ) |
|
overridevirtual |
| float xAOD::GBlock_v1::area | ( | ) | const |
The area of the gBlock.
|
inlineinherited |
Fetch an aux data variable, as a non-const reference.
This function provides an easy way for users to decorate objects with auxiliary data.
Take note that this function is slow. Should not be used inside time-critical code.
Definition at line 98 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Fetch an aux data variable, as a const reference.
This function provides an easy way for users to retrieve auxiliary decorations from an object.
Take note that this function is slow. Should not be used inside time-critical code.
Definition at line 118 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
| float xAOD::GBlock_v1::deta | ( | ) | const |
The pseudorapidity ( \(\eta\)) of the particle.
| float xAOD::GBlock_v1::dphi | ( | ) | const |
The azimuthal angle ( \(\phi\)) of the particle.
|
finalvirtual |
The total energy of the particle.
Implements xAOD::IParticle.
Definition at line 56 of file GBlock_v1.cxx.
| float xAOD::GBlock_v1::et | ( | ) | const |
|
finalvirtual |
The pseudorapidity ( \(\eta\)) of the particle.
Implements xAOD::IParticle.
Get a link by number.
Definition at line 89 of file GBlock_v1.cxx.
|
inlineinherited |
Check if a user property is available for reading or not.
This function should be used to check if a user property which may or may not exist, is set on the object.
Definition at line 135 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Check if a user property is available for writing or not.
This function can be used to check whether it will be possible to set a user property on the object.
Definition at line 152 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
finalvirtual |
The invariant mass of the particle.
Implements xAOD::IParticle.
Definition at line 54 of file GBlock_v1.cxx.
| std::size_t xAOD::GBlock_v1::nTowers | ( | ) | const |
The number of towers that make up this gBlock (including the seed).
Assignment operator.
Definition at line 23 of file GBlock_v1.cxx.
|
finalvirtual |
The full 4-momentum of the particle as a TLoretzVector.
Implements xAOD::IParticle.
Definition at line 60 of file GBlock_v1.cxx.
|
finalvirtual |
The azimuthal angle ( \(\phi\)) of the particle.
Implements xAOD::IParticle.
|
finalvirtual |
The transverse momentum of the particle.
Implements xAOD::IParticle.
Definition at line 38 of file GBlock_v1.cxx.
|
finalvirtual |
The true rapidity (y) of the particle.
Implements xAOD::IParticle.
Definition at line 58 of file GBlock_v1.cxx.
The seed tower for this gBlock.
Definition at line 78 of file GBlock_v1.cxx.
| const ElementLink< JGTowerContainer > & xAOD::GBlock_v1::seedTowerLink | ( | ) | const |
The element link to the seed tower of this gBlock.
Definition at line 73 of file GBlock_v1.cxx.
| void xAOD::GBlock_v1::setdEta | ( | float | ) |
| void xAOD::GBlock_v1::setdPhi | ( | float | ) |
| void xAOD::GBlock_v1::setEt | ( | float | ) |
| void xAOD::GBlock_v1::setEta | ( | double | ) |
| void xAOD::GBlock_v1::setPhi | ( | double | ) |
| void xAOD::GBlock_v1::setSeedTowerLink | ( | const ElementLink< JGTowerContainer > & | link | ) |
Set the seed link.
Definition at line 95 of file GBlock_v1.cxx.
| void xAOD::GBlock_v1::setTowerLinks | ( | const std::vector< ElementLink< JGTowerContainer > > & | links | ) |
set the tower links
Definition at line 101 of file GBlock_v1.cxx.
| const std::vector< ElementLink< JGTowerContainer > > & xAOD::GBlock_v1::towerLinks | ( | ) | const |
Element links to the towers making up this gBlock (including the seed).
Definition at line 84 of file GBlock_v1.cxx.
|
finalvirtual |
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
Implements xAOD::IParticle.
Definition at line 68 of file GBlock_v1.cxx.