Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TowerInfoDefs.cc File Reference
#include "TowerInfoDefs.h"
#include "RawTowerDefs.h"
#include <bitset>
#include <climits>
#include <cstdlib>
#include <iostream>
#include <string>
+ Include dependency graph for TowerInfoDefs.cc:

Go to the source code of this file.

Variables

static const int emcadc [8][8]
 
static const int hcaladc [8][2]
 
static const int epdchnlmap [16][2]
 
static const int epd_phimap [31] = {0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1}
 
static const int epd_rmap [31] = {0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15}
 

Variable Documentation

const int emcadc[8][8]
static
Initial value:
= {
{62, 60, 46, 44, 30, 28, 14, 12},
{63, 61, 47, 45, 31, 29, 15, 13},
{58, 56, 42, 40, 26, 24, 10, 8},
{59, 57, 43, 41, 27, 25, 11, 9},
{54, 52, 38, 36, 22, 20, 6, 4},
{55, 53, 39, 37, 23, 21, 7, 5},
{50, 48, 34, 32, 18, 16, 2, 0},
{51, 49, 35, 33, 19, 17, 3, 1}}

Definition at line 12 of file TowerInfoDefs.cc.

View newest version in sPHENIX GitHub at line 12 of file TowerInfoDefs.cc

Referenced by TowerInfoDefs::decode_emcal(), and TowerInfoDefs::encode_emcal().

const int epd_phimap[31] = {0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1}
static

Definition at line 49 of file TowerInfoDefs.cc.

View newest version in sPHENIX GitHub at line 49 of file TowerInfoDefs.cc

Referenced by TowerInfoDefs::get_epd_phibin().

const int epd_rmap[31] = {0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15}
static

Definition at line 50 of file TowerInfoDefs.cc.

View newest version in sPHENIX GitHub at line 50 of file TowerInfoDefs.cc

Referenced by TowerInfoDefs::get_epd_rbin().

const int epdchnlmap[16][2]
static
Initial value:
= {
{0, 0},
{1, 2},
{3, 4},
{5, 6},
{7, 8},
{9, 10},
{11, 12},
{13, 14},
{15, 16},
{17, 18},
{19, 20},
{21, 22},
{23, 24},
{25, 26},
{27, 28},
{29, 30}}

Definition at line 31 of file TowerInfoDefs.cc.

View newest version in sPHENIX GitHub at line 31 of file TowerInfoDefs.cc

Referenced by TowerInfoDefs::encode_epd().

const int hcaladc[8][2]
static
Initial value:
= {
{0, 1},
{2, 3},
{4, 5},
{6, 7},
{8, 9},
{10, 11},
{12, 13},
{14, 15}}

Definition at line 22 of file TowerInfoDefs.cc.

View newest version in sPHENIX GitHub at line 22 of file TowerInfoDefs.cc

Referenced by TowerInfoDefs::decode_hcal(), and TowerInfoDefs::encode_hcal().