#include <JetRoI_v1.h>
Public Member Functions | |
JetRoI_v1 () | |
Default constructor. | |
void | initialize (uint32_t roiword, float eta, float phi) |
Initialise the object with its most important properties. | |
float | eta () const |
The pseudorapidity () of the jet candidate. | |
void | setEta (float v) |
Set the pseudorapidity of the jet candidate. | |
float | phi () const |
The azimuthal angle () of the jet candidate. | |
void | setPhi (float v) |
Set the azimuthal angle of the jet candidate. | |
uint32_t | roiWord () const |
The "raw" RoI word describing the jet candidate. | |
void | setRoIWord (uint32_t value) |
Set the "raw" RoI word, describing the jet candidate. | |
uint32_t | thrPattern () const |
The pattern describing which thresholds were passed by the jet. | |
Energies deposited in various areas around the RoI | |
float | et4x4 () const |
The energy deposited in a 0.4x0.4 area around the RoI. | |
void | setEt4x4 (float value) |
Set the energy deposited in a 0.4x0.4 area around the RoI. | |
float | et6x6 () const |
The energy deposited in a 0.6x0.6 area around the RoI. | |
void | setEt6x6 (float value) |
Set the energy deposited in a 0.6x0.6 area around the RoI. | |
float | et8x8 () const |
The energy deposited in a 0.8x0.8 area around the RoI. | |
void | setEt8x8 (float value) |
Set the energy deposited in a 0.8x0.8 area around the RoI. | |
Thresholds passed by the RoI | |
void | addThreshold (const std::string &name, float value) |
Add a new threshold that was passed by the RoI. | |
void | clearThresholds () |
Remove all the passed thresholds from the RoI. | |
const std::vector< std::string > & | thrNames () const |
The names of the thresholds passed by jet candidate. | |
const std::vector< float > & | thrValues () const |
The values of the thresholds (in MeV) passed by the jet candidate. |
Class describing a LVL1 jet region of interest
This class describes the properties of a jet region of interest (RoI) in the xAOD format.
void xAOD::JetRoI_v1::addThreshold | ( | const std::string & | name, | |
float | value | |||
) |
Add a new threshold that was passed by the RoI.
name | The name of the passed threshold | |
value | The value (in MeV) of the passed threshold |
void xAOD::JetRoI_v1::clearThresholds | ( | ) |
Remove all the passed thresholds from the RoI.
This function can be used to clear the thresholds that are currently held by the object.