ATLAS Offline Software
Namespaces | Enumerations | Functions
GTowerHelpers.h File Reference
#include <cmath>
#include <string>
#include <ostream>
Include dependency graph for GTowerHelpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 LVL1
 eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) inputs.
 
 LVL1::gFEX
 

Enumerations

enum  LVL1::gFEX::FPGA { LVL1::gFEX::FPGA::A, LVL1::gFEX::FPGA::B, LVL1::gFEX::FPGA::C, LVL1::gFEX::FPGA::N_FPGAS }
 

Functions

FPGA LVL1::gFEX::getFPGA (float eta)
 Get the FPGA code from the tower eta. More...
 
std::string LVL1::gFEX::FPGAToString (FPGA fpga)
 Get the name of an FPGA. More...
 
FPGA LVL1::gFEX::FPGAFromString (std::string name)
 Get the enum from the name of an FPGA. Returning N_FPGA means that the string wasn't correct. More...
 
float LVL1::gFEX::towerArea (float eta)
 Get the GCaloTower areas from their eta bins. More...
 
std::ostream & operator<< (std::ostream &os, LVL1::gFEX::FPGA fpga)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
LVL1::gFEX::FPGA  fpga 
)

Definition at line 74 of file GTowerHelpers.cxx.

75 {
76  return os << LVL1::gFEX::FPGAToString(fpga);
77 }
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
LVL1::gFEX::FPGAToString
std::string FPGAToString(FPGA fpga)
Get the name of an FPGA.
Definition: GTowerHelpers.cxx:29