ATLAS Offline Software
|
Static class providing utility functions. More...
#include <CaloCondUtils.h>
Public Types | |
enum | SYSTEM { EMECZNEG = 0, EMBZNEG = 1, EMBZPOS = 2, EMECZPOS = 3, HEC =16, FCAL =32, TILE =48 } |
Static Public Member Functions | |
static unsigned int | getCoolChannelId (const SYSTEM sys) |
Returns the cool channel id associated with a given system. More... | |
static unsigned int | getNCells (const SYSTEM sys) |
Returns the number of cells for a given system. More... | |
static std::string | getFullTag (const std::string &folder, const std::string &tag) |
Returns the full tag string, composed of camelized folder name and tag part. More... | |
static unsigned int | getDbCaloGain (int caloGain) |
Returns the non-negative gainId to be used with the COOL DB. More... | |
Static class providing utility functions.
Definition at line 16 of file CaloCondUtils.h.
Returns the cool channel id associated with a given system.
sys | The SYSTEM id |
Definition at line 18 of file CaloCondUtils.cxx.
|
static |
Returns the non-negative gainId to be used with the COOL DB.
The CaloGain enumertor is negative for Tile Cells. Negative gains can not be used as an index. This function provides a non-negative index for each CaloGain
caloGain | Input caloGain |
Definition at line 86 of file CaloCondUtils.cxx.
|
static |
Returns the full tag string, composed of camelized folder name and tag part.
The tag name conventions are outline at https://twiki.cern.ch/twiki/bin/view/Atlas/CoolTagging.
folder | The full COOL folder path capitalized, eg. "/CALO/V01/NOISE" |
tag | The tag part, eg. "XX-YYY" |
Definition at line 71 of file CaloCondUtils.cxx.
Returns the number of cells for a given system.
sys | The SYSTEM id |
Definition at line 26 of file CaloCondUtils.cxx.