#include <TGCInnerTrackletSlotHolder.h>
|
| TGCInnerTrackletSlotHolder (TGCArguments *) |
| Constructor. More...
|
|
| ~TGCInnerTrackletSlotHolder () |
| Destructor. More...
|
|
void | clearTriggerBits () |
|
bool | setTriggerBit (const int sideId, const int slotId, const unsigned int region, const unsigned int readout, const unsigned int iBit, const bool triggerBit) |
|
const TGCInnerTrackletSlot * | getInnerTrackletSlot (const int sideId, const int slotId) const |
|
void | getInnerTrackletSlots (const int sideId, const int octId, const int moduleId, const TGCInnerTrackletSlot *innerTrackletSlots[]) const |
|
void | getInnerTrackletBits (const TGCInnerTrackletSlot *innerTrackletSlots[], std::array< int, NUMBER_OF_SLOTS_PER_TRIGGER_SECTOR > &eifi_bits) const |
|
const TGCArguments * | tgcArgs () const |
|
◆ anonymous enum
returns SL readout trigger bits FI2|EI2|FI1|EI1|FI0|EI0
Enumerator |
---|
NUMBER_OF_SIDES | |
NUMBER_OF_SLOTS | |
FIRST_SLOT | |
NUMBER_OF_SLOTS_PER_TRIGGER_SECTOR | |
Definition at line 31 of file TGCInnerTrackletSlotHolder.h.
◆ TGCInnerTrackletSlotHolder()
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::TGCInnerTrackletSlotHolder |
( |
TGCArguments * |
tgcargs | ) |
|
◆ ~TGCInnerTrackletSlotHolder()
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::~TGCInnerTrackletSlotHolder |
( |
| ) |
|
|
inline |
◆ clearTriggerBits()
void LVL1TGCTrigger::TGCInnerTrackletSlotHolder::clearTriggerBits |
( |
| ) |
|
◆ getInnerTrackletBits()
Definition at line 80 of file TGCInnerTrackletSlotHolder.cxx.
88 for (
int iSlot = 0; iSlot < n_slots; iSlot++) {
90 for (
int iRegion = 0; iRegion < n_regions; iRegion++) {
91 for (
int iReadouts = 0; iReadouts < n_readouts; iReadouts++) {
92 for (
int iBits = 0; iBits < n_bits; iBits++) {
93 tmp_bits &= innerTrackletSlots[iSlot]->getTriggerBit(iRegion, iReadouts, iBits) << (iBits+iReadouts*4+iRegion*8);
97 eifi_bits[iSlot] = tmp_bits;
◆ getInnerTrackletSlot()
◆ getInnerTrackletSlots()
Definition at line 44 of file TGCInnerTrackletSlotHolder.cxx.
48 innerTrackletSlots[iSlot] = 0;
51 if(octId<0 || octId>=8)
return;
57 if(!(moduleId==0 || moduleId==1 ||
58 moduleId==3 || moduleId==4 ||
59 moduleId==6 || moduleId==7))
return;
60 int secId = (moduleId/3)*2+moduleId%3;
61 int phi = (secId+46+octId*6)%48+1;
67 int slotId = (
static_cast<int>(iSlot) + (phi-1)/2 + 23)%24 + 1;
◆ setTriggerBit()
bool LVL1TGCTrigger::TGCInnerTrackletSlotHolder::setTriggerBit |
( |
const int |
sideId, |
|
|
const int |
slotId, |
|
|
const unsigned int |
region, |
|
|
const unsigned int |
readout, |
|
|
const unsigned int |
iBit, |
|
|
const bool |
triggerBit |
|
) |
| |
◆ tgcArgs()
◆ m_innerTrackletSlot
◆ m_tgcArgs
TGCArguments* LVL1TGCTrigger::TGCInnerTrackletSlotHolder::m_tgcArgs |
|
private |
The documentation for this class was generated from the following files: