ATLAS Offline Software
Loading...
Searching...
No Matches
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
10namespace LVL1TGCTrigger {
11class TGCArguments;
12}
13
14namespace LVL1TGC {
15
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
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
void setDphi(uint8_t BIS78Dphi)
void setflag3over3phi(uint8_t BIS78flag3over3phi)
std::vector< uint8_t > m_BIS78flag3over3eta_1bit
std::vector< uint8_t > m_BIS78phi_6bit
void setBIS78PadBoard(int BIS78PB)
const std::vector< uint8_t > & getBIS78Deta() const
BIS78TrigOut & operator+=(const BIS78TrigOut &right)
void setEta(uint8_t BIS78eta)
void setDeta(uint8_t BIS78Deta)
LVL1TGCTrigger::TGCArguments * m_tgcArgs
const std::vector< uint8_t > & getBIS78phi() const
bool operator!=(const BIS78TrigOut &right) const
std::vector< uint8_t > m_BIS78Dphi_3bit
const std::vector< uint8_t > & getBIS78flag3over3phi() const
std::vector< uint8_t > m_BIS78eta_6bit
void setPhi(uint8_t BIS78phi)
void setflag3over3eta(uint8_t BIS78flag3over3eta)
const std::vector< uint8_t > & getBIS78Dphi() const
const std::vector< uint8_t > & getBIS78eta() const
const std::vector< uint8_t > & getBIS78flag3over3eta() const
std::vector< uint8_t > m_BIS78flag3over3phi_1bit
std::vector< int > m_BIS78PadBoard
const std::vector< int > & getBIS78PadBoard() const
bool operator==(const BIS78TrigOut &right) const
std::vector< uint8_t > m_BIS78Deta_3bit