ATLAS Offline Software
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 
11 namespace 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 
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
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::FIRST_SLOT
@ FIRST_SLOT
Definition: TGCInnerTrackletSlotHolder.h:34
TGCInnerTrackletSlot.h
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::~TGCInnerTrackletSlotHolder
~TGCInnerTrackletSlotHolder()
Destructor.
Definition: TGCInnerTrackletSlotHolder.h:19
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::getInnerTrackletSlot
const TGCInnerTrackletSlot * getInnerTrackletSlot(const int sideId, const int slotId) const
Definition: TGCInnerTrackletSlotHolder.cxx:38
LVL1TGCTrigger::TGCInnerTrackletSlotHolder
Definition: TGCInnerTrackletSlotHolder.h:14
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::m_innerTrackletSlot
TGCInnerTrackletSlot m_innerTrackletSlot[NUMBER_OF_SIDES][NUMBER_OF_SLOTS]
Definition: TGCInnerTrackletSlotHolder.h:43
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::tgcArgs
const TGCArguments * tgcArgs() const
Definition: TGCInnerTrackletSlotHolder.h:40
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::NUMBER_OF_SIDES
@ NUMBER_OF_SIDES
Definition: TGCInnerTrackletSlotHolder.h:32
LVL1TGCTrigger
Definition: LVL1TGCTrigger.cxx:47
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::TGCInnerTrackletSlotHolder
TGCInnerTrackletSlotHolder(TGCArguments *)
Constructor.
Definition: TGCInnerTrackletSlotHolder.cxx:9
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::getInnerTrackletBits
void getInnerTrackletBits(const TGCInnerTrackletSlot *innerTrackletSlots[], std::array< int, NUMBER_OF_SLOTS_PER_TRIGGER_SECTOR > &eifi_bits) const
Definition: TGCInnerTrackletSlotHolder.cxx:80
LVL1TGCTrigger::TGCArguments
Definition: TGCArguments.h:12
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::setTriggerBit
bool setTriggerBit(const int sideId, const int slotId, const unsigned int region, const unsigned int readout, const unsigned int iBit, const bool triggerBit)
Definition: TGCInnerTrackletSlotHolder.cxx:30
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::m_tgcArgs
TGCArguments * m_tgcArgs
Definition: TGCInnerTrackletSlotHolder.h:44
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::getInnerTrackletSlots
void getInnerTrackletSlots(const int sideId, const int octId, const int moduleId, const TGCInnerTrackletSlot *innerTrackletSlots[]) const
Definition: TGCInnerTrackletSlotHolder.cxx:44
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::NUMBER_OF_SLOTS_PER_TRIGGER_SECTOR
@ NUMBER_OF_SLOTS_PER_TRIGGER_SECTOR
Definition: TGCInnerTrackletSlotHolder.h:35
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::NUMBER_OF_SLOTS
@ NUMBER_OF_SLOTS
Definition: TGCInnerTrackletSlotHolder.h:33
TGCArguments.h
LVL1TGCTrigger::TGCInnerTrackletSlotHolder::clearTriggerBits
void clearTriggerBits()
Definition: TGCInnerTrackletSlotHolder.cxx:22
LVL1TGCTrigger::TGCInnerTrackletSlot
Definition: TGCInnerTrackletSlot.h:11