ATLAS Offline Software
TGCNSW.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 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 
10 #include "TrigT1TGC/TGCNumbering.h"
11 
13 #include "StoreGate/ReadHandle.h"
14 
16 
17 namespace LVL1TGC {
18 
19 class NSWTrigOut;
20 
21 class 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 
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
LVL1TGC::TGCNSW::eraseOutput
void eraseOutput()
Definition: TGCNSW.cxx:155
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
LVL1TGC::TGCNSW::TGCNSW
TGCNSW(const TGCNSW &right)=delete
LVL1TGC::TGCNSW::operator=
const TGCNSW & operator=(const TGCNSW &right)=delete
SG::ReadHandleKey< Muon::NSW_TrigRawDataContainer >
LVL1TGC::TGCNSW
Definition: TGCNSW.h:21
TRT::Hit::side
@ side
Definition: HitInfo.h:83
LVL1TGC::TGCNSW::print
void print() const
Definition: TGCNSW.cxx:164
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::TGCNSW::retrieve
StatusCode retrieve(SG::ReadHandleKey< Muon::NSW_TrigRawDataContainer > key)
Definition: TGCNSW.cxx:22
LVL1TGC::TGCNSW::setOutput
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:141
TGCNumbering.h
LVL1TGC::TGCNSW::NumberOfNSWTriggerProcesser
@ NumberOfNSWTriggerProcesser
Definition: TGCNSW.h:34
LVL1TGC::TGCNSW::operator!=
bool operator!=(const TGCNSW &right) const =delete
LVL1TGCTrigger::TGCRegionType
TGCRegionType
Definition: TGCNumbering.h:49
NSW_TrigRawDataContainer.h
AthMessaging.h
LVL1TGC::TGCNSW::m_buffer
std::shared_ptr< NSWTrigOut > m_buffer[LVL1TGC::TGCSide::kNSide][NumberOfNSWTriggerProcesser]
Definition: TGCNSW.h:41
LVL1TGC::TGCNSW::~TGCNSW
virtual ~TGCNSW()=default
LVL1TGC::kNSide
@ kNSide
Definition: TGCNumbering.h:16
ReadHandle.h
Handle class for reading from StoreGate.
LVL1TGC::TGCNSW::getOutput
std::shared_ptr< const NSWTrigOut > getOutput(LVL1TGCTrigger::TGCRegionType region, int side, int TGC_TriggerSector) const
Definition: TGCNSW.cxx:53
LVL1TGC::TGCNSW::operator==
bool operator==(const TGCNSW &right) const =delete
LVL1TGC::TGCNSW::TGCNSW
TGCNSW()
Definition: TGCNSW.cxx:11
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37