ATLAS Offline Software
|
The gTower class is an interface object for gFEX trigger algorithms The purposes are twofold: More...
#include <gTower.h>
Public Member Functions | |
gTower () | |
Constructors. More... | |
gTower (int eta, int phi, int nphi, int id_modifier, int posneg) | |
constructs a tower and sets the coordinates and identifier More... | |
~gTower () | |
Destructor. More... | |
void | clearET () |
Clear supercell ET values. More... | |
void | clear_scIDs () |
Clear and resize Identifier value vector. More... | |
void | addET (float et, int layer) |
Add ET in MeV, layer refers to EM or HAD (Tile) More... | |
int | getID () const |
Add to ET More... | |
int | iEta () const |
Get coordinates of tower. More... | |
int | iPhi () const |
float | eta () const |
float | phi () const |
void | setEta (const float thiseta) |
int | id () const |
float | constid () const |
int | getET () const |
Get ET (total) in MeV. More... | |
float | getET_float () const |
Get ET (total) in MeV FLOAT VERSION. More... | |
int | getET_EM_float () const |
Get ET in MeV from EM calo FLOAT VERSION. More... | |
int | getET_HAD_float () const |
Get ET in MeV from HAD calo FLOAT VERSION. More... | |
void | setET () |
void | setTotalEt (int totEt) |
void | setSCID (Identifier ID) |
Set supercell position ID. More... | |
const std::vector< Identifier > & | getSCIDs () const |
bool | noiseCut (int et) const |
Apply supercell noise cut. More... | |
void | setPosNeg (int posneg) |
int | getPosNeg () const |
int | getFWID (int &iPhiFW, int &iEtaFW) const |
Calculates and returns the firmware ID, as well as iPhi and iEta in FT/global scheme. More... | |
int | getFWID () const |
Calculates and returns the firmware ID. More... | |
void | getEtaPhi (float &Eta, float &Phi, int iEta, int iPhi) const |
Calculates eta and phi from ieta and iphi. More... | |
void | setIsSaturated (char isSaturated) |
Sets saturation flag. More... | |
char | isSaturated () const |
Returns true if is saturated. More... | |
Private Attributes | |
int | m_eta |
Internal data. More... | |
int | m_phi |
int | m_et |
float | m_eta_float |
float | m_phi_float |
float | m_et_float |
std::vector< float > | m_et_float_perlayer |
std::vector< Identifier > | m_scID |
int | m_tower_id |
int | m_posneg = 0 |
int | m_noisecut = -100000 |
char | m_saturated |
The gTower class is an interface object for gFEX trigger algorithms The purposes are twofold:
LVL1::gTower::gTower | ( | ) |
LVL1::gTower::gTower | ( | int | eta, |
int | phi, | ||
int | nphi, | ||
int | id_modifier, | ||
int | posneg | ||
) |
constructs a tower and sets the coordinates and identifier
Definition at line 29 of file gTower.cxx.
void LVL1::gTower::addET | ( | float | et, |
int | layer | ||
) |
void LVL1::gTower::clear_scIDs | ( | ) |
Clear and resize Identifier value vector.
Definition at line 50 of file gTower.cxx.
void LVL1::gTower::clearET | ( | ) |
Clear supercell ET values.
Clear and resize ET value vector.
Definition at line 42 of file gTower.cxx.
int LVL1::gTower::getET | ( | ) | const |
int LVL1::gTower::getET_EM_float | ( | ) | const |
Get ET in MeV from EM calo FLOAT VERSION.
Return ET for EM.
Definition at line 162 of file gTower.cxx.
float LVL1::gTower::getET_float | ( | ) | const |
Get ET (total) in MeV FLOAT VERSION.
Return ET (total) FLOAT VERSION.
Definition at line 154 of file gTower.cxx.
int LVL1::gTower::getET_HAD_float | ( | ) | const |
Get ET in MeV from HAD calo FLOAT VERSION.
Return ET for HAD.
Definition at line 169 of file gTower.cxx.
void LVL1::gTower::getEtaPhi | ( | float & | Eta, |
float & | Phi, | ||
int | iEta, | ||
int | iPhi | ||
) | const |
Calculates eta and phi from ieta and iphi.
Definition at line 295 of file gTower.cxx.
int LVL1::gTower::getFWID | ( | ) | const |
Calculates and returns the firmware ID.
Definition at line 184 of file gTower.cxx.
int LVL1::gTower::getFWID | ( | int & | iPhiFW, |
int & | iEtaFW | ||
) | const |
Calculates and returns the firmware ID, as well as iPhi and iEta in FT/global scheme.
Return the firmware ID from the software ID.
Definition at line 202 of file gTower.cxx.
int LVL1::gTower::getID | ( | ) | const |
Add to ET
Return unique identifier.
Get unique ID of tower
Definition at line 124 of file gTower.cxx.
|
inline |
|
inline |
int LVL1::gTower::iEta | ( | ) | const |
int LVL1::gTower::iPhi | ( | ) | const |
Definition at line 142 of file gTower.cxx.
char LVL1::gTower::isSaturated | ( | ) | const |
Returns true if is saturated.
Definition at line 179 of file gTower.cxx.
bool LVL1::gTower::noiseCut | ( | int | et | ) | const |
void LVL1::gTower::setET | ( | ) |
Definition at line 75 of file gTower.cxx.
|
inline |
void LVL1::gTower::setIsSaturated | ( | char | isSaturated | ) |
Sets saturation flag.
Definition at line 175 of file gTower.cxx.
void LVL1::gTower::setPosNeg | ( | int | posneg | ) |
Definition at line 55 of file gTower.cxx.
void LVL1::gTower::setSCID | ( | Identifier | ID | ) |
Set supercell position ID.
Definition at line 102 of file gTower.cxx.
void LVL1::gTower::setTotalEt | ( | int | totEt | ) |
Definition at line 93 of file gTower.cxx.
|
private |
|
private |