ATLAS Offline Software
Loading...
Searching...
No Matches
TGCBIS78.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 TGC_BIS78_H
6#define TGC_BIS78_H
7
8#include <memory>
9
11
15
16namespace LVL1TGC {
17
18class BIS78TrigOut;
19
20class 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 const EventContext& ctx);
31
32 std::shared_ptr<const BIS78TrigOut> getOutput(int TGC_TriggerSector) const;
33
34 void print() const;
35
36 private:
37 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);
38 void eraseOutput();
39
40 private:
41 static constexpr int kNPadBoards = 8;
42
43 protected:
44 std::shared_ptr<BIS78TrigOut> m_buffer[kNPadBoards];//buffer[BIS78 Trigger Processor]
45};
46
47
48} // end of namespace
49
50#endif
Handle class for reading from StoreGate.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
const TGCBIS78 & operator=(const TGCBIS78 &right)=delete
bool operator!=(const TGCBIS78 &right) const =delete
bool operator==(const TGCBIS78 &right) const =delete
void print() const
Definition TGCBIS78.cxx:81
static constexpr int kNPadBoards
Definition TGCBIS78.h:41
std::shared_ptr< const BIS78TrigOut > getOutput(int TGC_TriggerSector) const
Definition TGCBIS78.cxx:48
TGCBIS78(const TGCBIS78 &right)=delete
std::shared_ptr< BIS78TrigOut > m_buffer[kNPadBoards]
Definition TGCBIS78.h:44
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:61
virtual ~TGCBIS78()=default
StatusCode retrieve(const SG::ReadHandleKey< Muon::RpcBis78_TrigRawDataContainer > &key, const EventContext &ctx)
Definition TGCBIS78.cxx:21
Property holding a SG store/key/clid from which a ReadHandle is made.