ATLAS Offline Software
BIS78_triggerSimulation.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef BIS78_triggerSimulation_h
6 #define BIS78_triggerSimulation_h
7 
9 
10 #include <vector>
11 
12 
13 /*
14  This class is for BIS78 trigger simulation.
15  BIS78 trigger goes to TGC sector logic.
16  This is different from other BIS chambers of phase 2, in this case the
17  trigger is in the barrel logic. A different class may be needed.
18 */
19 
21 
23 
24  public:
27 
28  void build_trigRawData(Muon::RpcBis78_TrigRawDataContainer* trgContainer, uint8_t dstrip_phi, uint8_t dstrip_eta, uint16_t bcid) const;
29 
30  unsigned int AddStrip(int sectoreta, int sectorphi, int igap, int mphi, int strip);
31 
32  private:
33 
34  // These are to collect all the strip data
35  // The first index is the side (0 or 1) because it is just for BIS78 (otherwise, for full BIS, it should be the eta sector)
36  std::vector<int> m_strip_eta[2][8][3]; // side, sector, gasgap
37  std::vector<int> m_strip_phi[2][8][3]; // side, sector, gasgap
38 };
39 
40 
41 #endif
BIS78_triggerSimulation::m_strip_eta
std::vector< int > m_strip_eta[2][8][3]
Definition: BIS78_triggerSimulation.h:36
RpcBis78_TrigRawDataContainer.h
SiliconTech::strip
@ strip
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:558
BIS78_triggerSimulation::~BIS78_triggerSimulation
~BIS78_triggerSimulation()=default
BIS78_triggerSimulation::BIS78_triggerSimulation
BIS78_triggerSimulation()=default
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
Muon::RpcBis78_TrigRawDataContainer
Definition: RpcBis78_TrigRawDataContainer.h:21
BIS78_triggerSimulation::AddStrip
unsigned int AddStrip(int sectoreta, int sectorphi, int igap, int mphi, int strip)
Definition: BIS78_triggerSimulation.cxx:15
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
BIS78_triggerSimulation::build_trigRawData
void build_trigRawData(Muon::RpcBis78_TrigRawDataContainer *trgContainer, uint8_t dstrip_phi, uint8_t dstrip_eta, uint16_t bcid) const
Definition: BIS78_triggerSimulation.cxx:29
BIS78_triggerSimulation::m_strip_phi
std::vector< int > m_strip_phi[2][8][3]
Definition: BIS78_triggerSimulation.h:37
BIS78_triggerSimulation
Definition: BIS78_triggerSimulation.h:22