ATLAS Offline Software
Loading...
Searching...
No Matches
TGCTMDB.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 TrigT1TGC_TGCTMDB_H
6#define TrigT1TGC_TGCTMDB_H
7
8#include <memory>
9
13
16
17namespace LVL1TGC {
18
19class TGCTMDB : public AthMessaging {
20 public:
21 TGCTMDB();
22 virtual ~TGCTMDB() = default;
23 TGCTMDB(const TGCTMDB& right) = delete;
24 TGCTMDB& operator = (const TGCTMDB& right) = delete;
25 int operator == (const TGCTMDB& right) const = delete;
26 int operator != (const TGCTMDB& right) const = delete;
27
28 StatusCode retrieve(const SG::ReadHandleKey<TileMuonReceiverContainer>& key, const EventContext& ctx);
29
30 std::shared_ptr<const TGCTMDBOut> getOutput(const TGCSide side, unsigned int moduleID) const;
31 std::shared_ptr<const TGCTMDBOut> getOutput(const TGCSide side, int sectorID, unsigned int mod) const;
32
33 int getInnerTileBits(const TGCSide side, int sectorID) const;
34
35 void print() const;
36
37 private:
38 static constexpr unsigned int kNTileModule = 64;
39
40 void setOutput(const TGCSide side, const unsigned int module,
42
43 void eraseOutput();
44
45 private:
46 std::array<std::array<std::shared_ptr<TGCTMDBOut>, kNTileModule>, TGCSide::kNSide> m_buffer;
47};
48
49
50} // end of namespace
51
52#endif
Handle class for reading from StoreGate.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
void print() const
Definition TGCTMDB.cxx:172
int operator!=(const TGCTMDB &right) const =delete
virtual ~TGCTMDB()=default
StatusCode retrieve(const SG::ReadHandleKey< TileMuonReceiverContainer > &key, const EventContext &ctx)
Definition TGCTMDB.cxx:22
std::shared_ptr< const TGCTMDBOut > getOutput(const TGCSide side, unsigned int moduleID) const
Definition TGCTMDB.cxx:113
std::array< std::array< std::shared_ptr< TGCTMDBOut >, kNTileModule >, TGCSide::kNSide > m_buffer
Definition TGCTMDB.h:46
int operator==(const TGCTMDB &right) const =delete
TGCTMDB(const TGCTMDB &right)=delete
int getInnerTileBits(const TGCSide side, int sectorID) const
Definition TGCTMDB.cxx:153
void setOutput(const TGCSide side, const unsigned int module, const TGCTMDBOut::TileModuleHit hit56, const TGCTMDBOut::TileModuleHit hit6)
Definition TGCTMDB.cxx:138
TGCTMDB & operator=(const TGCTMDB &right)=delete
static constexpr unsigned int kNTileModule
Definition TGCTMDB.h:38
Property holding a SG store/key/clid from which a ReadHandle is made.
TGCSide
The sides of TGC (A- or C-side)