#include <HcalTestBeamNumbering.h>
|
static uint32_t | packIndex (int det, int lay, int x, int y) |
|
static void | unpackIndex (const uint32_t &idx, int &det, int &lay, int &x, int &y) |
|
Definition at line 9 of file HcalTestBeamNumbering.h.
◆ HcalTestBeamDetector
◆ HcalTestBeamNumbering()
HcalTestBeamNumbering::HcalTestBeamNumbering |
( |
| ) |
|
|
inline |
◆ packIndex()
uint32_t HcalTestBeamNumbering::packIndex |
( |
int |
det, |
|
|
int |
lay, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
|
static |
Definition at line 6 of file HcalTestBeamNumbering.cc.
25 std::cout <<
"HcalTestBeamNumbering: Detector " << det <<
" Layer " << lay <<
" x " <<
x <<
" " << ix <<
" " <<
ixx
26 <<
" y " <<
y <<
" " << iy <<
" " <<
iyy <<
" ID " << std::hex <<
idx <<
std::dec << std::endl;
References gather_cfg::cout, TauDecayModes::dec, heavyIonCSV_trainingSettings::idx, ixx, iyy, kHcalBeamLayerMask, kHcalBeamLayerOffset, kHcalBeamTypeMask, kHcalBeamTypeOffset, kHcalBeamXSignMask, kHcalBeamXSignOffset, kHcalBeamXValueMask, kHcalBeamXValueOffset, kHcalBeamYSignMask, kHcalBeamYSignOffset, kHcalBeamYValueMask, kHcalBeamYValueOffset, x, and y.
Referenced by HcalTB06BeamSD::setDetUnitId().
◆ unpackIndex()
void HcalTestBeamNumbering::unpackIndex |
( |
const uint32_t & |
idx, |
|
|
int & |
det, |
|
|
int & |
lay, |
|
|
int & |
x, |
|
|
int & |
y |
|
) |
| |
|
static |
Definition at line 31 of file HcalTestBeamNumbering.cc.
42 std::cout <<
"HcalTestBeamNumbering: ID " << std::hex <<
idx <<
std::dec <<
" Detector " << det <<
" Layer " << lay
43 <<
" x " <<
x <<
" y " <<
y << std::endl;
References gather_cfg::cout, TauDecayModes::dec, heavyIonCSV_trainingSettings::idx, kHcalBeamLayerMask, kHcalBeamLayerOffset, kHcalBeamTypeMask, kHcalBeamTypeOffset, kHcalBeamXSignMask, kHcalBeamXSignOffset, kHcalBeamXValueMask, kHcalBeamXValueOffset, kHcalBeamYSignMask, kHcalBeamYSignOffset, kHcalBeamYValueMask, kHcalBeamYValueOffset, x, and y.
Referenced by HcalTB06Analysis::analyze(), HGCalTimingAnalyzer::analyzeSimHits(), and HGCalTBAnalyzer::analyzeSimHits().
◆ kHcalBeamLayerMask
const int HcalTestBeamNumbering::kHcalBeamLayerMask = 0x7F |
|
static |
◆ kHcalBeamLayerOffset
const int HcalTestBeamNumbering::kHcalBeamLayerOffset = 21 |
|
static |
◆ kHcalBeamTypeMask
const int HcalTestBeamNumbering::kHcalBeamTypeMask = 0xF |
|
static |
◆ kHcalBeamTypeOffset
const int HcalTestBeamNumbering::kHcalBeamTypeOffset = 28 |
|
static |
◆ kHcalBeamXSignMask
const int HcalTestBeamNumbering::kHcalBeamXSignMask = 0x1 |
|
static |
◆ kHcalBeamXSignOffset
const int HcalTestBeamNumbering::kHcalBeamXSignOffset = 9 |
|
static |
◆ kHcalBeamXValueMask
const int HcalTestBeamNumbering::kHcalBeamXValueMask = 0x1FF |
|
static |
◆ kHcalBeamXValueOffset
const int HcalTestBeamNumbering::kHcalBeamXValueOffset = 0 |
|
static |
◆ kHcalBeamYSignMask
const int HcalTestBeamNumbering::kHcalBeamYSignMask = 0x1 |
|
static |
◆ kHcalBeamYSignOffset
const int HcalTestBeamNumbering::kHcalBeamYSignOffset = 19 |
|
static |
◆ kHcalBeamYValueMask
const int HcalTestBeamNumbering::kHcalBeamYValueMask = 0x1FF |
|
static |
◆ kHcalBeamYValueOffset
const int HcalTestBeamNumbering::kHcalBeamYValueOffset = 10 |
|
static |