ATLAS Offline Software
BIS78TrigOut.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 BIS78_TRIGOUT_H
6 #define BIS78_TRIGOUT_H
7 
8 #include <vector>
9 
10 namespace LVL1TGCTrigger {
11 class TGCArguments;
12 }
13 
14 namespace LVL1TGC {
15 
16 class BIS78TrigOut {
17  protected:
18  std::vector<int> m_BIS78PadBoard; // 0 ~ 15 ??????????
19  std::vector<uint8_t> m_BIS78eta_6bit; //
20  std::vector<uint8_t> m_BIS78phi_6bit; //
21  std::vector<uint8_t> m_BIS78Deta_3bit; //
22  std::vector<uint8_t> m_BIS78Dphi_3bit; //
23  std::vector<uint8_t> m_BIS78flag3over3eta_1bit;
24  std::vector<uint8_t> m_BIS78flag3over3phi_1bit;
25 
26  public:
27  BIS78TrigOut() = default;
28  BIS78TrigOut(const std::vector<int>& BIS78Trigger,
29  const std::vector<uint8_t>& BIS78eta,
30  const std::vector<uint8_t>& BIS78phi,
31  const std::vector<uint8_t>& BIS78Deta,
32  const std::vector<uint8_t>& BIS78Dphi,
33  const std::vector<uint8_t>& BIS78flag3over3over3Eta,
34  const std::vector<uint8_t>& BIS78flag3over3Phi,
35  LVL1TGCTrigger::TGCArguments* tgcargs=nullptr);
36  BIS78TrigOut(const std::vector<int>& BIS78Trigger, LVL1TGCTrigger::TGCArguments* tgcargs=nullptr);
37 
38  BIS78TrigOut& operator+=(const BIS78TrigOut& right);
39  bool operator==(const BIS78TrigOut& right) const
40  {
41  return (this==&right);
42  }
43 
44  bool operator!=(const BIS78TrigOut& right) const
45  {
46  return (this!=&right);
47  }
48 
49 
50  // set functons
51  void setBIS78PadBoard(int BIS78PB){ m_BIS78PadBoard.push_back(BIS78PB); }
52  void setEta(uint8_t BIS78eta){ m_BIS78eta_6bit.push_back(BIS78eta); }
53  void setPhi(uint8_t BIS78phi){ m_BIS78phi_6bit.push_back(BIS78phi); }
54  void setDeta(uint8_t BIS78Deta){ m_BIS78Deta_3bit.push_back(BIS78Deta); }
55  void setDphi(uint8_t BIS78Dphi){ m_BIS78Dphi_3bit.push_back(BIS78Dphi); }
56  void setflag3over3eta(uint8_t BIS78flag3over3eta){ m_BIS78flag3over3eta_1bit.push_back(BIS78flag3over3eta); }
57  void setflag3over3phi(uint8_t BIS78flag3over3phi){ m_BIS78flag3over3phi_1bit.push_back(BIS78flag3over3phi); }
59 
60  // get functions
61  const std::vector<int>& getBIS78PadBoard() const {return m_BIS78PadBoard; }
62  const std::vector<uint8_t>& getBIS78eta() const {return m_BIS78eta_6bit; }
63  const std::vector<uint8_t>& getBIS78phi() const {return m_BIS78phi_6bit; }
64  const std::vector<uint8_t>& getBIS78Deta() const {return m_BIS78Deta_3bit; }
65  const std::vector<uint8_t>& getBIS78Dphi() const {return m_BIS78Dphi_3bit; }
66  const std::vector<uint8_t>& getBIS78flag3over3eta() const {return m_BIS78flag3over3eta_1bit; }
67  const std::vector<uint8_t>& getBIS78flag3over3phi() const {return m_BIS78flag3over3phi_1bit; }
68 
69  // print methods
70  void print() const;
71 
72  private:
74 };
75 
76 } //end of namespace bracket
77 
78 #endif
LVL1TGC::BIS78TrigOut::BIS78TrigOut
BIS78TrigOut()=default
LVL1TGC::BIS78TrigOut::m_BIS78flag3over3phi_1bit
std::vector< uint8_t > m_BIS78flag3over3phi_1bit
Definition: BIS78TrigOut.h:24
LVL1TGC::BIS78TrigOut::m_tgcArgs
LVL1TGCTrigger::TGCArguments * m_tgcArgs
Definition: BIS78TrigOut.h:73
LVL1TGC::BIS78TrigOut::getBIS78Deta
const std::vector< uint8_t > & getBIS78Deta() const
Definition: BIS78TrigOut.h:64
LVL1TGC::BIS78TrigOut::m_BIS78phi_6bit
std::vector< uint8_t > m_BIS78phi_6bit
Definition: BIS78TrigOut.h:20
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
LVL1TGC::BIS78TrigOut::m_BIS78flag3over3eta_1bit
std::vector< uint8_t > m_BIS78flag3over3eta_1bit
Definition: BIS78TrigOut.h:23
LVL1TGC::BIS78TrigOut::m_BIS78Deta_3bit
std::vector< uint8_t > m_BIS78Deta_3bit
Definition: BIS78TrigOut.h:21
LVL1TGC::BIS78TrigOut::setflag3over3eta
void setflag3over3eta(uint8_t BIS78flag3over3eta)
Definition: BIS78TrigOut.h:56
LVL1TGC::BIS78TrigOut::operator!=
bool operator!=(const BIS78TrigOut &right) const
Definition: BIS78TrigOut.h:44
LVL1TGC::BIS78TrigOut::getBIS78eta
const std::vector< uint8_t > & getBIS78eta() const
Definition: BIS78TrigOut.h:62
LVL1TGC::BIS78TrigOut
Definition: BIS78TrigOut.h:16
LVL1TGC::BIS78TrigOut::operator+=
BIS78TrigOut & operator+=(const BIS78TrigOut &right)
Definition: BIS78TrigOut.cxx:28
LVL1TGC::BIS78TrigOut::getBIS78Dphi
const std::vector< uint8_t > & getBIS78Dphi() const
Definition: BIS78TrigOut.h:65
LVL1TGC::BIS78TrigOut::setPhi
void setPhi(uint8_t BIS78phi)
Definition: BIS78TrigOut.h:53
LVL1TGC::BIS78TrigOut::m_BIS78PadBoard
std::vector< int > m_BIS78PadBoard
Definition: BIS78TrigOut.h:18
LVL1TGC
Definition: BigWheelCoincidenceLUT.cxx:20
LVL1TGC::BIS78TrigOut::getBIS78flag3over3eta
const std::vector< uint8_t > & getBIS78flag3over3eta() const
Definition: BIS78TrigOut.h:66
LVL1TGCTrigger
Definition: LVL1TGCTrigger.cxx:47
LVL1TGC::BIS78TrigOut::print
void print() const
Definition: BIS78TrigOut.cxx:42
LVL1TGC::BIS78TrigOut::setDphi
void setDphi(uint8_t BIS78Dphi)
Definition: BIS78TrigOut.h:55
LVL1TGC::BIS78TrigOut::getBIS78phi
const std::vector< uint8_t > & getBIS78phi() const
Definition: BIS78TrigOut.h:63
LVL1TGCTrigger::TGCArguments
Definition: TGCArguments.h:12
LVL1TGC::BIS78TrigOut::getBIS78flag3over3phi
const std::vector< uint8_t > & getBIS78flag3over3phi() const
Definition: BIS78TrigOut.h:67
LVL1TGC::BIS78TrigOut::getBIS78PadBoard
const std::vector< int > & getBIS78PadBoard() const
Definition: BIS78TrigOut.h:61
LVL1TGC::BIS78TrigOut::setDeta
void setDeta(uint8_t BIS78Deta)
Definition: BIS78TrigOut.h:54
LVL1TGC::BIS78TrigOut::setflag3over3phi
void setflag3over3phi(uint8_t BIS78flag3over3phi)
Definition: BIS78TrigOut.h:57
LVL1TGC::BIS78TrigOut::clear
void clear()
Definition: BIS78TrigOut.h:58
LVL1TGC::BIS78TrigOut::m_BIS78Dphi_3bit
std::vector< uint8_t > m_BIS78Dphi_3bit
Definition: BIS78TrigOut.h:22
LVL1TGC::BIS78TrigOut::setEta
void setEta(uint8_t BIS78eta)
Definition: BIS78TrigOut.h:52
LVL1TGC::BIS78TrigOut::m_BIS78eta_6bit
std::vector< uint8_t > m_BIS78eta_6bit
Definition: BIS78TrigOut.h:19
LVL1TGC::BIS78TrigOut::setBIS78PadBoard
void setBIS78PadBoard(int BIS78PB)
Definition: BIS78TrigOut.h:51
LVL1TGC::BIS78TrigOut::operator==
bool operator==(const BIS78TrigOut &right) const
Definition: BIS78TrigOut.h:39