ATLAS Offline Software
Loading...
Searching...
No Matches
TGCInnerTrackletSlotHolder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TGCInnerTrackletSlotHolder_hh
6#define TGCInnerTrackletSlotHolder_hh
7
10
11namespace LVL1TGCTrigger {
12 // class TGCInnerTrackletSlot;
13
15 public:
20
21 void clearTriggerBits();
22 bool setTriggerBit(const int sideId, const int slotId,
23 const unsigned int region, const unsigned int readout,
24 const unsigned int iBit, const bool triggerBit);
25 const TGCInnerTrackletSlot* getInnerTrackletSlot(const int sideId, const int slotId) const;
26 void getInnerTrackletSlots(const int sideId, const int octId, const int moduleId,
27 const TGCInnerTrackletSlot* innerTrackletSlots[]) const;
28
30
31 enum {
32 NUMBER_OF_SIDES = 2, // Side A and Side C
33 NUMBER_OF_SLOTS = 24, // Slot01 - Slot24
36 // slot23, slot24, slot01, slot02 go to A01 phi0/phi1 Endcap SL
37 };
38
39 void getInnerTrackletBits(const TGCInnerTrackletSlot* innerTrackletSlots[], std::array<int, NUMBER_OF_SLOTS_PER_TRIGGER_SECTOR> &eifi_bits) const;
40 const TGCArguments* tgcArgs() const { return m_tgcArgs; }
41
42 private:
45 };
46
47} //end of namespace bracket
48
49#endif // TGCInnerTrackletSlotHolder_hh
bool setTriggerBit(const int sideId, const int slotId, const unsigned int region, const unsigned int readout, const unsigned int iBit, const bool triggerBit)
TGCInnerTrackletSlot m_innerTrackletSlot[NUMBER_OF_SIDES][NUMBER_OF_SLOTS]
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 TGCInnerTrackletSlot * getInnerTrackletSlot(const int sideId, const int slotId) const