ATLAS Offline Software
Loading...
Searching...
No Matches
TGCInnerTrackletSlot.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TGCInnerTrackletSlot_hh
6#define TGCInnerTrackletSlot_hh
7
9
10namespace LVL1TGCTrigger {
12 public:
17
18 void setSideId(const int sideId);
19 int getSideId() const;
20
21 void setSlotId(const int slotId);
22 int getSlotId() const;
23
24 bool setTriggerBit(const unsigned int region, const unsigned int readout, const unsigned int iBit, const bool triggerBit);
25 bool getTriggerBit(const unsigned int region, const unsigned int readout, const unsigned int iBit) const;
26 bool setTriggerBits(const bool val);
27 void clearTriggerBits();
28
29 void setTriggerWord(unsigned int word);
30 unsigned short getTriggerWord() const;
31
32 enum {
33 FI = 0,
34 EI = 1,
36 WIRE = 0,
37 STRIP = 1,
40 };
41
42 const TGCArguments* tgcArgs() const;
43 void setTgcArguments( const TGCArguments* );
44
45 private:
46 int m_sideId; // Side A or Side C
47 // slot01 - slot24
48 // https://twiki.cern.ch/twiki/pub/Main/TgcDocument/EIFI_PSB_SSW_ConnectionTable_v20080808.pdf
50 // Trigger bits from EI/FI, TRIG0-TRIG3
51 // https://twiki.cern.ch/twiki/pub/Main/TgcDocument/celladdress2_asic_rev2.pdf
53
55 };
56
58 return m_tgcArgs;
59 }
60} //end of namespace bracket
61
62#endif // TGCInnerTrackletSlot_hh
const TGCArguments * tgcArgs() const
bool getTriggerBit(const unsigned int region, const unsigned int readout, const unsigned int iBit) const
~TGCInnerTrackletSlot()=default
Destructor.
bool m_triggerBit[NUMBER_OF_REGIONS][NUMBER_OF_READOUTS][NUMBER_OF_TRIGGER_BITS]
bool setTriggerBit(const unsigned int region, const unsigned int readout, const unsigned int iBit, const bool triggerBit)