#include <HcalTestBeamNumbering.h>
Public Types | |
enum | HcalTestBeamDetector { HcalTBEmpty = 0, HcalTBScintillator = 1, HcalTBWireChamber = 2 } |
Public Member Functions | |
HcalTestBeamNumbering () | |
Static Public Member Functions | |
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) |
Static Public Attributes | |
static const int | kHcalBeamLayerMask = 0x7F |
static const int | kHcalBeamLayerOffset = 21 |
static const int | kHcalBeamTypeMask = 0xF |
static const int | kHcalBeamTypeOffset = 28 |
static const int | kHcalBeamXSignMask = 0x1 |
static const int | kHcalBeamXSignOffset = 9 |
static const int | kHcalBeamXValueMask = 0x1FF |
static const int | kHcalBeamXValueOffset = 0 |
static const int | kHcalBeamYSignMask = 0x1 |
static const int | kHcalBeamYSignOffset = 19 |
static const int | kHcalBeamYValueMask = 0x1FF |
static const int | kHcalBeamYValueOffset = 10 |
Definition at line 9 of file HcalTestBeamNumbering.h.
Enumerator | |
---|---|
HcalTBEmpty | |
HcalTBScintillator | |
HcalTBWireChamber |
Definition at line 24 of file HcalTestBeamNumbering.h.
|
inline |
Definition at line 26 of file HcalTestBeamNumbering.h.
|
static |
Definition at line 6 of file HcalTestBeamNumbering.cc.
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().
|
static |
Definition at line 31 of file HcalTestBeamNumbering.cc.
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().
|
static |
Definition at line 20 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 19 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 22 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 21 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 14 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 13 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 12 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 11 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 18 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 17 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 16 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 15 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().