ATLAS Offline Software
BIS78_triggerSimulation.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef BIS78_triggerSimulation_h
6 #define BIS78_triggerSimulation_h
7 
9 #include "GaudiKernel/ServiceHandle.h"
10 #include "GaudiKernel/ToolHandle.h"
11 
13 
14 #include <vector>
15 
16 
17 /*
18  This class is for BIS78 trigger simulation.
19  BIS78 trigger goes to TGC sector logic.
20  This is different from other BIS chambers of phase 2, in this case the
21  trigger is in the barrel logic. A different class may be needed.
22 */
23 
25 
27 
28  public:
31 
32  StatusCode clear();
33  void build_trigRawData(Muon::RpcBis78_TrigRawDataContainer* trgContainer, uint8_t dstrip_phi, uint8_t dstrip_eta, uint16_t bcid);
34 
35  unsigned int AddStrip(int sectoreta, int sectorphi, int igap, int mphi, int strip);
36 
37  private:
38 
39  // These are to collect all the strip data
40  // 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)
41  std::vector<int> m_strip_eta[2][8][3]; // side, sector, gasgap
42  std::vector<int> m_strip_phi[2][8][3]; // side, sector, gasgap
43 
44  std::unique_ptr<Muon::RpcBis78_TrigRawDataContainer> m_bisTrgContainer;
45 };
46 
47 
48 #endif
BIS78_triggerSimulation::m_strip_eta
std::vector< int > m_strip_eta[2][8][3]
Definition: BIS78_triggerSimulation.h:41
RpcBis78_TrigRawDataContainer.h
BIS78_triggerSimulation::BIS78_triggerSimulation
BIS78_triggerSimulation()
Definition: BIS78_triggerSimulation.cxx:15
SiliconTech::strip
@ strip
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
BIS78_triggerSimulation::~BIS78_triggerSimulation
~BIS78_triggerSimulation()=default
AthAlgorithm.h
BIS78_triggerSimulation::m_bisTrgContainer
std::unique_ptr< Muon::RpcBis78_TrigRawDataContainer > m_bisTrgContainer
Definition: BIS78_triggerSimulation.h:44
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
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:18
BIS78_triggerSimulation::build_trigRawData
void build_trigRawData(Muon::RpcBis78_TrigRawDataContainer *trgContainer, uint8_t dstrip_phi, uint8_t dstrip_eta, uint16_t bcid)
Definition: BIS78_triggerSimulation.cxx:46
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
BIS78_triggerSimulation::clear
StatusCode clear()
Definition: BIS78_triggerSimulation.cxx:31
BIS78_triggerSimulation::m_strip_phi
std::vector< int > m_strip_phi[2][8][3]
Definition: BIS78_triggerSimulation.h:42
BIS78_triggerSimulation
Definition: BIS78_triggerSimulation.h:26