ATLAS Offline Software
TGCBIS78.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TGC_BIS78_H
6 #define TGC_BIS78_H
7 
8 #include <memory>
9 
10 #include "TrigT1TGC/TGCNumbering.h"
11 
13 #include "StoreGate/ReadHandle.h"
15 
16 namespace LVL1TGC {
17 
18 class BIS78TrigOut;
19 
20 class TGCBIS78 : public AthMessaging {
21  public:
22  TGCBIS78();
23  virtual ~TGCBIS78() = default;
24  TGCBIS78(const TGCBIS78& right) = delete;
25  const TGCBIS78& operator = (const TGCBIS78& right) = delete;
26  bool operator == (const TGCBIS78& right) const = delete;
27  bool operator != (const TGCBIS78& right) const = delete;
28 
30 
31  std::shared_ptr<const BIS78TrigOut> getOutput(int TGC_TriggerSector) const;
32 
33  void print() const;
34 
35  private:
36  void setOutput(unsigned int BIS78PadBoard,uint8_t BIS78eta_6bit,uint8_t BIS78phi_6bit,uint8_t BIS78Deta_3bit,uint8_t BIS78Dphi_3bit,uint8_t BIS78flag3over3eta_1bit,uint8_t BIS78flag3over3phi_1bit);
37  void eraseOutput();
38 
39  private:
40  static constexpr unsigned int kNPadBoards = 8;
41 
42  protected:
43  std::shared_ptr<BIS78TrigOut> m_buffer[kNPadBoards];//buffer[BIS78 Trigger Processor]
44 };
45 
46 
47 } // end of namespace
48 
49 #endif
LVL1TGC::TGCBIS78::m_buffer
std::shared_ptr< BIS78TrigOut > m_buffer[kNPadBoards]
Definition: TGCBIS78.h:43
RpcBis78_TrigRawDataContainer.h
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
LVL1TGC::TGCBIS78
Definition: TGCBIS78.h:20
LVL1TGC::TGCBIS78::print
void print() const
Definition: TGCBIS78.cxx:86
SG::ReadHandleKey< Muon::RpcBis78_TrigRawDataContainer >
LVL1TGC::TGCBIS78::operator==
bool operator==(const TGCBIS78 &right) const =delete
LVL1TGC::TGCBIS78::setOutput
void setOutput(unsigned int BIS78PadBoard, uint8_t BIS78eta_6bit, uint8_t BIS78phi_6bit, uint8_t BIS78Deta_3bit, uint8_t BIS78Dphi_3bit, uint8_t BIS78flag3over3eta_1bit, uint8_t BIS78flag3over3phi_1bit)
Definition: TGCBIS78.cxx:66
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1TGC
Definition: BigWheelCoincidenceLUT.cxx:20
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
LVL1TGC::TGCBIS78::~TGCBIS78
virtual ~TGCBIS78()=default
TGCNumbering.h
LVL1TGC::TGCBIS78::TGCBIS78
TGCBIS78(const TGCBIS78 &right)=delete
AthMessaging.h
LVL1TGC::TGCBIS78::eraseOutput
void eraseOutput()
Definition: TGCBIS78.cxx:79
ReadHandle.h
Handle class for reading from StoreGate.
LVL1TGC::TGCBIS78::operator!=
bool operator!=(const TGCBIS78 &right) const =delete
LVL1TGC::TGCBIS78::kNPadBoards
static constexpr unsigned int kNPadBoards
Definition: TGCBIS78.h:40
LVL1TGC::TGCBIS78::retrieve
StatusCode retrieve(SG::ReadHandleKey< Muon::RpcBis78_TrigRawDataContainer > key)
Definition: TGCBIS78.cxx:22
LVL1TGC::TGCBIS78::operator=
const TGCBIS78 & operator=(const TGCBIS78 &right)=delete
LVL1TGC::TGCBIS78::getOutput
std::shared_ptr< const BIS78TrigOut > getOutput(int TGC_TriggerSector) const
Definition: TGCBIS78.cxx:51
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37
LVL1TGC::TGCBIS78::TGCBIS78
TGCBIS78()
Definition: TGCBIS78.cxx:12