#include <HOTPDigiTwinMux.h>
Public Types | |
typedef HcalDetId | key_type |
Public Member Functions | |
int | bx () const |
int | bx_abs () const |
get the bx() More... | |
int | bx_sign () const |
get the bx sign More... | |
HOTPDigiTwinMux () | |
For the sorted collection. More... | |
HOTPDigiTwinMux (uint64_t data) | |
HOTPDigiTwinMux (int ieta, int iphi, int bx, int mip, int validbit, int wheel, int sector, int index, int link) | |
const HcalDetId | id () const |
int | ieta () const |
get the signed ieta value More... | |
int | ieta_abs () const |
get the absolute value of ieta More... | |
int | ieta_sign () const |
get the sign of ieta (int: +/- 1) More... | |
int | index () const |
get the index More... | |
int | iphi () const |
get the raw iphi value More... | |
int | link () const |
get the link value More... | |
int | mip () const |
get the mip value More... | |
uint64_t | raw () const |
get raw packed HO More... | |
int | raw_ieta () const |
get the raw ieta value More... | |
int | raw_wheel () const |
get the raw wheel value More... | |
int | sector () const |
get the sector value More... | |
int | validbit () const |
get the valid bit More... | |
int | wheel () const |
get the signed wheel value More... | |
int | wheel_abs () const |
get the absolute value of wheel More... | |
int | wheel_sign () const |
get the sign of wheel (int: +/- 1) More... | |
Static Public Attributes | |
static const int | HO_SECTOR_MAX = 12 |
Private Attributes | |
uint64_t | theTP_HO |
Simple container packer/unpacker for HO TriggerPrimittive in TwinMUX Trigger Primitive from HO HTR
Definition at line 15 of file HOTPDigiTwinMux.h.
typedef HcalDetId HOTPDigiTwinMux::key_type |
Definition at line 17 of file HOTPDigiTwinMux.h.
|
inline |
|
inline |
HOTPDigiTwinMux::HOTPDigiTwinMux | ( | int | ieta, |
int | iphi, | ||
int | bx, | ||
int | mip, | ||
int | validbit, | ||
int | wheel, | ||
int | sector, | ||
int | index, | ||
int | link | ||
) |
//////////////////////////// Summary of the bits //////////////////////////// raw ieta value = theTP_HO &0 0x1F sign of ieta (int: +/- 1) = (theTP_HO &0 0x10)?(-1):(+1)) absolute value of ieta = (theTP_HO &0 0x000F) raw iphi value = (theTP_HO>>5) &0 0x007F; bx() = (theTP_HO>>12) &0 0x1; bx signn = ( ( (theTP_HO>>13) &0 0x1) ?(-1):(+1)); mip value = (theTP_HO>>14) &0 0x1; valid bit = (theTP_HO>>15) &0 0x1; raw wheel value = (theTP_HO>>16) &0 0x7; sign of wheel (int: +/- 1) = ( ( (theTP_HO>>18) &0 0x1) ?(-1):(+1)); absolute value of wheel = (theTP_HO>>16) &0 0x03; sector value = (theTP_HO>>19) &0 0xF; index = (theTP_HO>>23) &0 0x1F; link value = (theTP_HO>>28) &0 0x3;
Definition at line 7 of file HOTPDigiTwinMux.cc.
References funct::abs(), simKBmtfDigis_cfi::bx, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, and makeMuonMisalignmentScenario::wheel.
|
inline |
|
inline |
get the bx()
Definition at line 63 of file HOTPDigiTwinMux.h.
References theTP_HO.
Referenced by bx().
|
inline |
get the bx sign
Definition at line 67 of file HOTPDigiTwinMux.h.
References theTP_HO, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by bx().
|
inline |
Definition at line 42 of file HOTPDigiTwinMux.h.
References HcalOuter, ieta(), and iphi().
|
inline |
get the signed ieta value
Definition at line 57 of file HOTPDigiTwinMux.h.
References ieta_abs(), and ieta_sign().
Referenced by id(), and operator<<().
|
inline |
get the absolute value of ieta
Definition at line 54 of file HOTPDigiTwinMux.h.
References theTP_HO.
Referenced by ieta().
|
inline |
get the sign of ieta (int: +/- 1)
Definition at line 51 of file HOTPDigiTwinMux.h.
References theTP_HO.
Referenced by ieta().
|
inline |
get the index
Definition at line 94 of file HOTPDigiTwinMux.h.
References theTP_HO.
Referenced by operator<<().
|
inline |
get the raw iphi value
Definition at line 60 of file HOTPDigiTwinMux.h.
References theTP_HO.
Referenced by id(), and operator<<().
|
inline |
get the link value
Definition at line 97 of file HOTPDigiTwinMux.h.
References theTP_HO.
Referenced by operator<<().
|
inline |
get the mip value
Definition at line 73 of file HOTPDigiTwinMux.h.
References theTP_HO.
Referenced by operator<<().
|
inline |
|
inline |
|
inline |
|
inline |
get the sector value
Definition at line 91 of file HOTPDigiTwinMux.h.
References theTP_HO.
Referenced by geometryXMLparser.DTAlignable::index(), and operator<<().
|
inline |
get the valid bit
Definition at line 76 of file HOTPDigiTwinMux.h.
References theTP_HO.
Referenced by operator<<().
|
inline |
get the signed wheel value
Definition at line 88 of file HOTPDigiTwinMux.h.
References wheel_abs(), and wheel_sign().
Referenced by geometryXMLparser.DTAlignable::index(), and operator<<().
|
inline |
get the absolute value of wheel
Definition at line 85 of file HOTPDigiTwinMux.h.
References theTP_HO.
Referenced by wheel().
|
inline |
get the sign of wheel (int: +/- 1)
Definition at line 82 of file HOTPDigiTwinMux.h.
References theTP_HO, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by wheel().
|
static |
Definition at line 99 of file HOTPDigiTwinMux.h.
|
private |
Definition at line 102 of file HOTPDigiTwinMux.h.
Referenced by bx_abs(), bx_sign(), HOTPDigiTwinMux(), ieta_abs(), ieta_sign(), index(), iphi(), link(), mip(), raw(), raw_ieta(), raw_wheel(), sector(), validbit(), wheel_abs(), and wheel_sign().