#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 10 of file HcalTestBeamNumbering.h.
Enumerator | |
---|---|
HcalTBEmpty | |
HcalTBScintillator | |
HcalTBWireChamber |
Definition at line 25 of file HcalTestBeamNumbering.h.
|
inline |
Definition at line 27 of file HcalTestBeamNumbering.h.
References training_settings::idx, packIndex(), unpackIndex(), x, and y.
|
static |
Definition at line 6 of file HcalTestBeamNumbering.cc.
References gather_cfg::cout, TauDecayModes::dec, training_settings::idx, ixx, iyy, kHcalBeamLayerMask, kHcalBeamLayerOffset, kHcalBeamTypeMask, kHcalBeamTypeOffset, kHcalBeamXSignMask, kHcalBeamXSignOffset, kHcalBeamXValueMask, kHcalBeamXValueOffset, kHcalBeamYSignMask, kHcalBeamYSignOffset, kHcalBeamYValueMask, kHcalBeamYValueOffset, x, and y.
Referenced by HcalTestBeamNumbering(), and HcalTB06BeamSD::setDetUnitId().
|
static |
Definition at line 31 of file HcalTestBeamNumbering.cc.
References gather_cfg::cout, TauDecayModes::dec, kHcalBeamLayerMask, kHcalBeamLayerOffset, kHcalBeamTypeMask, kHcalBeamTypeOffset, kHcalBeamXSignMask, kHcalBeamXSignOffset, kHcalBeamXValueMask, kHcalBeamXValueOffset, kHcalBeamYSignMask, kHcalBeamYSignOffset, kHcalBeamYValueMask, kHcalBeamYValueOffset, x, and y.
Referenced by HcalTB06Analysis::analyze(), HGCalTimingAnalyzer::analyzeSimHits(), HGCalTBAnalyzer::analyzeSimHits(), and HcalTestBeamNumbering().
|
static |
Definition at line 21 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 20 of file HcalTestBeamNumbering.h.
Referenced by packIndex(), and unpackIndex().
|
static |
Definition at line 23 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 15 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 19 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().