#include <EmTauRoI_v1.h>
Public Types | |
enum | RoIType { CPRoIWord = 0, EMRoIWord = 1, TauRoIWord = 2 } |
RoI word types. More... | |
Public Member Functions | |
EmTauRoI_v1 () | |
Default constructor. | |
void | initialize (uint32_t roiword, float eta, float phi) |
Initialise the object with its most important properties. | |
RoIType | roiType () const |
Get the type of the RoI word. | |
float | eta () const |
The pseudorapidity () of the em/tau candidate. | |
void | setEta (float v) |
Set the pseudorapidity of the em/tau candidate. | |
float | phi () const |
The azimuthal angle () of the em/tau candidate. | |
void | setPhi (float v) |
Set the azimuthal angle of the em/tau candidate. | |
uint32_t | roiWord () const |
The "raw" RoI word describing the em/tau candidate. | |
void | setRoIWord (uint32_t value) |
Set the "raw" RoI word, describing the em/tau candidate. | |
uint32_t | thrPattern () const |
The pattern describing which thresholds were passed by the jet. | |
Energies deposited in various areas around the RoI | |
float | core () const |
The ET of the RoI Core cluster (2x2 towers, EM+Had). | |
void | setCore (float value) |
Set the ET of the RoI Core cluster (2x2 towers, EM+Had). | |
float | emClus () const |
The deposited ET from the "EM cluster". | |
void | setEmClus (float value) |
Set the deposited ET from the "EM cluster". | |
float | tauClus () const |
The deposited ET from the "tau cluster". | |
void | setTauClus (float value) |
Set the deposited ET from the "tau cluster". | |
float | emIsol () const |
The EM calorimeter isolation (outer ring of EM towers). | |
void | setEmIsol (float value) |
Set the EM calorimeter isolation (outer ring of EM towers). | |
float | hadIsol () const |
The hadron calorimeter isolation (outer ring of had towers). | |
void | setHadIsol (float value) |
Set the hadron calorimeter isolation (outer ring of had towers). | |
float | hadCore () const |
void | setHadCore (float value) |
Set the ET deposited in the inner hadronic isolation region. | |
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 em/tau region of interest
This class describes the properties of an em/tau region of interest (RoI) in the xAOD format.
void xAOD::EmTauRoI_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::EmTauRoI_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.
float xAOD::EmTauRoI_v1::hadCore | ( | ) | const |
The ET deposited in the inner hadronic isolation region (2x2 core)
EmTauRoI_v1::RoIType xAOD::EmTauRoI_v1::roiType | ( | ) | const |
Get the type of the RoI word.
This function must be used by all analysers to check the type of the RoI before doing anything further with it. Since the way to use Run 1 and Run 2 L1Calo RoI words is quite different.