|
ATLAS Offline Software
|
Go to the documentation of this file.
39 m_tower_id(id_modifier + phi + (64 * eta)),
53 for (
unsigned int i=0;
i<
m_et.size();
i++){
73 for (
unsigned int i=0;
i<
m_scID.size();
i++){
92 if (cell < 0 || cell > 13){
return; }
101 if (cell < 0 || cell > 13){
return; }
114 if (cell < 0 || cell > 13){
return; }
128 float et_half =
et*0.5;
196 for (
unsigned int i=0;
i<
m_et.size();
i++){
220 std::vector<int>
cells;
236 std::vector<float>
cells;
254 else if (
layer == 1){
257 else if (
layer == 2){
260 else if (
layer == 3){
263 else if (
layer == 4){
278 else if (
layer == 1){
281 else if (
layer == 2){
284 else if (
layer == 3){
287 else if (
layer == 4){
298 std::vector<Identifier> cells_in_layer;
301 cells_in_layer.push_back(
m_scID[0]);
303 else if (
layer == 1){
304 cells_in_layer.push_back(
m_scID[1]);
305 cells_in_layer.push_back(
m_scID[2]);
306 cells_in_layer.push_back(
m_scID[3]);
307 cells_in_layer.push_back(
m_scID[4]);
309 else if (
layer == 2){
310 cells_in_layer.push_back(
m_scID[5]);
311 cells_in_layer.push_back(
m_scID[6]);
312 cells_in_layer.push_back(
m_scID[7]);
313 cells_in_layer.push_back(
m_scID[8]);
315 else if (
layer == 3){
316 cells_in_layer.push_back(
m_scID[9]);
318 else if (
layer == 4){
319 cells_in_layer.push_back(
m_scID[10]);
320 cells_in_layer.push_back(
m_scID[11]);
323 return cells_in_layer;
int iPhi() const
Return global phi index.
Extra patterns decribing particle interation process.
float getLayerTotalET_float(unsigned int layer) const
Get total ET sum of all cells in a given layer in MeV FLOAT VERSION.
int getTotalET() const
Get ET sum of all cells in the eTower in MeV.
std::vector< float > getLayerETvec_float(unsigned int layer) const
Get vector of ET values for a given layer in MeV FLOAT VERSION.
std::vector< Identifier > ID
void clearET()
Clear supercell ET values.
void setPosNeg(int posneg)
float round(const float toRound, const unsigned int decimals)
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
const int s_cells[s_nLayers]
void setSCID(Identifier ID, int cell, float et, int layer, bool doenergysplit)
Set supercell position ID.
const int s_offsets[s_nLayers]
std::vector< Identifier > getLayerSCIDs(unsigned int layer) const
static int decode(int EtVal, int layer, bool ignoreDisable=false)
Full sequence.
std::vector< float > m_et_float
int getET(unsigned int layer, int cell=0) const
Get ET of a specified cell in MeV.
int getLayerTotalET(unsigned int layer) const
Get total ET sum of all cells in a given layer in MeV.
void clear_scIDs()
Clear and resize Identifier value vector.
void addET(float et, int cell)
Add to ET of a specified cell in MeV.
std::vector< Identifier > m_scID
std::vector< int > getLayerETvec(unsigned int layer) const
Get vector of ET values for a given layer in MeV.
std::vector< unsigned int > m_etSplits
float getET_float(unsigned int layer, int cell=0) const
Get ET of a specified cell in MeV FLOAT VERSION.
float m_eta
Internal data.
float getTotalET_float() const
Get ET sum of all cells in the eTower in MeV FLOAT VERSION.
void setET(int cell, float et, int layer, bool ignoreDisable=false)
int iEta() const
Get coordinates of tower.
std::vector< Identifier > m_scID_split