|
ATLAS Offline Software
|
#include <TGCWireTripletSB.h>
|
static constexpr int | s_LengthOfWTSBCoincidenceOut = 100 |
|
static constexpr int | s_NChAdjInWTSB = 2 |
|
static constexpr int | s_NumberOfWireTripletSBData = 3 |
|
static constexpr int | s_pOffset [6] = {0,0,2,2,2,2} |
|
static constexpr int | s_iOffset [6] = {4,0,6,6,6,6} |
|
static constexpr int | s_pLength [6] = {36,36,32,32,32,32} |
|
static constexpr int | s_iLength [6] = {36,44,32,32,32,32} |
|
Definition at line 12 of file TGCWireTripletSB.h.
◆ TGCWireTripletSB() [1/2]
◆ TGCWireTripletSB() [2/2]
LVL1TGCTrigger::TGCWireTripletSB::TGCWireTripletSB |
( |
| ) |
|
◆ ~TGCWireTripletSB()
virtual LVL1TGCTrigger::TGCWireTripletSB::~TGCWireTripletSB |
( |
| ) |
|
|
inlinevirtual |
◆ clockIn()
void LVL1TGCTrigger::TGCSlaveBoard::clockIn |
( |
int |
bidIn | ) |
|
|
inherited |
Definition at line 37 of file TGCSlaveBoard.cxx.
46 std::cout <<
"#SB: BID= " <<
m_bid;
49 std::cout <<
" ID= " <<
m_id << std::endl;
53 std::cout<<
"#SB I: BID= "<<
m_bid;
58 std::cout <<
" port= "<<
i;
59 std::cout <<
"" <<
m_id;
65 std::cout <<
"NO PP IN" << std::endl;
82 #ifdef TGCDEBUG_VISUAL
83 std::cout <<
"TGCSlaveBoard::clockIn: after doCoincidence()\n";
87 std::cout <<
"#SB C: BID= " <<
m_bid <<
":";
92 #ifdef TGCDEBUG_VISUAL
94 std::cout <<
"TGCSlaveBoard::clockIn: after doDecluster()\n";
◆ collectInput()
void LVL1TGCTrigger::TGCSlaveBoard::collectInput |
( |
| ) |
|
|
protectedinherited |
◆ createSlaveBoardOut()
void LVL1TGCTrigger::TGCWireTripletSB::createSlaveBoardOut |
( |
| ) |
|
|
protectedvirtual |
◆ deletePatchPanelOut()
void LVL1TGCTrigger::TGCSlaveBoard::deletePatchPanelOut |
( |
| ) |
|
|
protectedinherited |
◆ doCoincidence()
void LVL1TGCTrigger::TGCWireTripletSB::doCoincidence |
( |
| ) |
|
|
protectedvirtual |
Implements LVL1TGCTrigger::TGCSlaveBoard.
Definition at line 48 of file TGCWireTripletSB.cxx.
50 const TGCHitPattern*
pattern[2];
57 const int unitLength =
pattern[1]->getLength() / 2;
58 const int totalLength = 3 * unitLength;
65 std::vector<bool>
b(totalLength);
66 for (
int i=0;
i < unitLength;
i++) {
74 b[3*
i+2] =
pattern[1]->getChannel(
i+unitLength);
82 std::vector<bool>
output(totalLength);
83 for (
int i=0;
i < totalLength-8;
i++) {
85 (
b[
i+3] &&
b[
i+4] && !
b[
i+2]) ||
86 (
b[
i+4] &&
b[
i+5] && !
b[
i+6]) ||
87 (
b[
i+6] &&
b[
i+2] &&
b[
i+4] && !
b[
i+3] && !
b[
i+5] && !
b[
i+1] && !
b[
i+7]);
◆ doDecluster()
void LVL1TGCTrigger::TGCSlaveBoard::doDecluster |
( |
| ) |
|
|
protectedinherited |
Definition at line 190 of file TGCSlaveBoard.cxx.
203 out->setChannel(
i,( !B & C & !D )|( !
A & B & C ));
210 out->setChannel(0,( !B & C & !D )|( !
A & B & C ));
216 out->setChannel(1,( !B & C & !D )|( !
A & B & C ));
222 out->setChannel(
length-1,( !B & C & !D )|( !
A & B & C ));
◆ doMaskOperation()
void LVL1TGCTrigger::TGCSlaveBoard::doMaskOperation |
( |
| ) |
|
|
inlineprotectedinherited |
◆ eraseOutput()
void LVL1TGCTrigger::TGCSlaveBoard::eraseOutput |
( |
| ) |
|
|
inherited |
◆ getId()
int LVL1TGCTrigger::TGCSlaveBoard::getId |
( |
| ) |
const |
|
inlineinherited |
◆ getIdHighPtBoard()
int LVL1TGCTrigger::TGCSlaveBoard::getIdHighPtBoard |
( |
| ) |
const |
|
inherited |
◆ getOutput()
◆ getRegion()
◆ GetSlbIn()
const std::bitset<200>& LVL1TGCTrigger::TGCSlaveBoard::GetSlbIn |
( |
void |
| ) |
const |
|
inlineinherited |
◆ getType()
int LVL1TGCTrigger::TGCSlaveBoard::getType |
( |
| ) |
const |
|
inlineinherited |
◆ getTypeName()
std::string LVL1TGCTrigger::TGCSlaveBoard::getTypeName |
( |
int |
typeIn | ) |
const |
|
inherited |
◆ operator=()
◆ setId()
void LVL1TGCTrigger::TGCSlaveBoard::setId |
( |
int |
idIn | ) |
|
|
inlineinherited |
◆ setIdHighPtBoard()
void LVL1TGCTrigger::TGCSlaveBoard::setIdHighPtBoard |
( |
int |
m_id | ) |
|
|
inherited |
◆ setPatchPanel()
void LVL1TGCTrigger::TGCSlaveBoard::setPatchPanel |
( |
TGCPatchPanel * |
PPIn | ) |
|
|
inherited |
◆ setPatchPanelOut()
void LVL1TGCTrigger::TGCSlaveBoard::setPatchPanelOut |
( |
TGCPatchPanelOut * |
PPOut | ) |
|
|
inlineinherited |
◆ setRegion()
void LVL1TGCTrigger::TGCSlaveBoard::setRegion |
( |
TGCRegionType |
regionIn | ) |
|
|
inlineinherited |
◆ setType()
void LVL1TGCTrigger::TGCSlaveBoard::setType |
( |
int |
typeIn | ) |
|
|
inlineinherited |
◆ showResult()
void LVL1TGCTrigger::TGCSlaveBoard::showResult |
( |
| ) |
const |
|
inherited |
Definition at line 133 of file TGCSlaveBoard.cxx.
140 std::cout<<
"#SB I: BID= "<<
m_bid;
145 std::cout <<
" port= "<<
i;
146 std::cout <<
"" <<
m_id;
155 std::cout <<
"#SB O: BID= " <<
m_bid;
158 std::cout <<
" ID= " <<
m_id <<
":";
161 std::cout <<
" i= " <<
i;
167 std::cout<<std::endl;
◆ storeSlbIn()
void LVL1TGCTrigger::TGCSlaveBoard::storeSlbIn |
( |
| ) |
|
|
inherited |
◆ m_bid
int LVL1TGCTrigger::TGCSlaveBoard::m_bid |
|
protectedinherited |
◆ m_coincidenceOut
◆ m_id
int LVL1TGCTrigger::TGCSlaveBoard::m_id |
|
protectedinherited |
◆ m_idHighPtBoard
int LVL1TGCTrigger::TGCSlaveBoard::m_idHighPtBoard |
|
protectedinherited |
◆ m_lengthOfCoincidenceOut
int LVL1TGCTrigger::TGCSlaveBoard::m_lengthOfCoincidenceOut |
|
protectedinherited |
◆ m_patchPanel
◆ m_patchPanelOut
◆ m_region
◆ m_slaveBoardOut
◆ m_slbin
std::bitset<200> LVL1TGCTrigger::TGCSlaveBoard::m_slbin |
|
protectedinherited |
◆ m_type
int LVL1TGCTrigger::TGCSlaveBoard::m_type |
|
protectedinherited |
◆ s_iLength
constexpr int LVL1TGCTrigger::TGCSlaveBoard::s_iLength[6] = {36,44,32,32,32,32} |
|
staticconstexprprivateinherited |
◆ s_iOffset
constexpr int LVL1TGCTrigger::TGCSlaveBoard::s_iOffset[6] = {4,0,6,6,6,6} |
|
staticconstexprprivateinherited |
◆ s_LengthOfWTSBCoincidenceOut
constexpr int LVL1TGCTrigger::TGCWireTripletSB::s_LengthOfWTSBCoincidenceOut = 100 |
|
staticconstexprprivate |
◆ s_NChAdjInWTSB
constexpr int LVL1TGCTrigger::TGCWireTripletSB::s_NChAdjInWTSB = 2 |
|
staticconstexprprivate |
◆ s_NumberOfWireTripletSBData
constexpr int LVL1TGCTrigger::TGCWireTripletSB::s_NumberOfWireTripletSBData = 3 |
|
staticconstexprprivate |
◆ s_pLength
constexpr int LVL1TGCTrigger::TGCSlaveBoard::s_pLength[6] = {36,36,32,32,32,32} |
|
staticconstexprprivateinherited |
◆ s_pOffset
constexpr int LVL1TGCTrigger::TGCSlaveBoard::s_pOffset[6] = {0,0,2,2,2,2} |
|
staticconstexprprivateinherited |
The documentation for this class was generated from the following files:
const TGCPatchPanel * getOrigin() const
static constexpr int s_NumberOfWireTripletSBData
int getDev(int iData) const
void print(int unit) const
static constexpr int s_iOffset[6]
virtual void doCoincidence()=0
std::string getTypeName(int typeIn) const
int getNumberOfData() const
static constexpr int s_iLength[6]
static constexpr int s_pLength[6]
int getPos(int iData) const
std::bitset< 200 > m_slbin
void eraseOutput(int SBId)
static constexpr int s_LengthOfWTSBCoincidenceOut
void setPos(int iData, int posIn)
static constexpr int s_pOffset[6]
void setHit(int iData, bool hitIn)
bool getChannel(int iChannel) const
TGCPatchPanelOut * getOutput(int SBId)
const int NumberOfConnectorPerPPOut
TGCSlaveBoardOut * m_slaveBoardOut
bool getHit(int iData) const
void setChannel(int iChannel, bool pattern)
void deletePatchPanelOut()
virtual void createSlaveBoardOut()=0
void setbPos(int block, int pos)
const TGCHitPattern * getHitPattern(int connector) const
int m_lengthOfCoincidenceOut
TGCRegionType getRegion() const
TGCPatchPanel * m_patchPanel
TGCPatchPanelOut * m_patchPanelOut
static constexpr int s_NChAdjInWTSB
void setNumberOfData(int nData)
void visual(int Cycle, int Width, int Tag) const
TGCHitPattern * m_coincidenceOut