ATLAS Offline Software
Loading...
Searching...
No Matches
TGCNSW.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_NSW_H
6#define TGC_NSW_H
7
8#include <memory>
9
11
14
16
17namespace LVL1TGC {
18
19class NSWTrigOut;
20
21class TGCNSW : public AthMessaging {
22 public:
23 TGCNSW();
24 virtual ~TGCNSW() = default;
25 TGCNSW(const TGCNSW& right) = delete;
26 const TGCNSW& operator = (const TGCNSW& right) = delete;
27 bool operator == (const TGCNSW& right) const = delete;
28 bool operator != (const TGCNSW& right) const = delete;
29
30 StatusCode retrieve(const SG::ReadHandleKey<Muon::NSW_TrigRawDataContainer>& key, const EventContext& ctx);
31 std::shared_ptr<const NSWTrigOut> getOutput(LVL1TGCTrigger::TGCRegionType region ,int side, int TGC_TriggerSector) const;
32
33 private:
35
36 void setOutput(int side, int NSWTriggerProcesser,uint8_t NSWeta_8bit,uint8_t NSWphi_6bit,uint8_t NSWDtheta_5bit, bool lowRes, bool phiRes, bool NSWmonitor); //eta:0.005 phi:10mrad Dtheta:1mrad
37 void eraseOutput();
38
39 void print() const;
40
41 std::shared_ptr<NSWTrigOut> m_buffer[LVL1TGC::TGCSide::kNSide][NumberOfNSWTriggerProcesser]; // buffer[Side][NSW TP]
42};
43
44
45} //end of namespace bracket
46
47#endif
Handle class for reading from StoreGate.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
StatusCode retrieve(const SG::ReadHandleKey< Muon::NSW_TrigRawDataContainer > &key, const EventContext &ctx)
Definition TGCNSW.cxx:23
std::shared_ptr< const NSWTrigOut > getOutput(LVL1TGCTrigger::TGCRegionType region, int side, int TGC_TriggerSector) const
Definition TGCNSW.cxx:52
std::shared_ptr< NSWTrigOut > m_buffer[LVL1TGC::TGCSide::kNSide][NumberOfNSWTriggerProcesser]
Definition TGCNSW.h:41
const TGCNSW & operator=(const TGCNSW &right)=delete
void print() const
Definition TGCNSW.cxx:161
@ NumberOfNSWTriggerProcesser
Definition TGCNSW.h:34
bool operator!=(const TGCNSW &right) const =delete
void setOutput(int side, int NSWTriggerProcesser, uint8_t NSWeta_8bit, uint8_t NSWphi_6bit, uint8_t NSWDtheta_5bit, bool lowRes, bool phiRes, bool NSWmonitor)
Definition TGCNSW.cxx:138
bool operator==(const TGCNSW &right) const =delete
TGCNSW(const TGCNSW &right)=delete
void eraseOutput()
Definition TGCNSW.cxx:152
virtual ~TGCNSW()=default
Property holding a SG store/key/clid from which a ReadHandle is made.