|
ATLAS Offline Software
|
#include <TGCHighPtBoard.h>
Definition at line 33 of file TGCHighPtBoard.h.
◆ ~TGCHighPtBoard()
LVL1TGCTrigger::TGCHighPtBoard::~TGCHighPtBoard |
( |
| ) |
|
|
virtual |
◆ TGCHighPtBoard() [1/2]
LVL1TGCTrigger::TGCHighPtBoard::TGCHighPtBoard |
( |
| ) |
|
|
protected |
◆ TGCHighPtBoard() [2/2]
◆ clearDecoderIn()
virtual void LVL1TGCTrigger::TGCHighPtBoard::clearDecoderIn |
( |
| ) |
|
|
protectedpure virtual |
◆ clockIn()
void LVL1TGCTrigger::TGCHighPtBoard::clockIn |
( |
int |
bidIn | ) |
|
Definition at line 77 of file TGCHighPtBoard.cxx.
81 std::cout <<
"#TGCHighPtBoard::clockIn collect" << std::endl;
89 std::cout <<
"#TGCHighPtBoard::clockIn BID:" <<
m_bid
90 <<
" TYPE:" << ((
m_type==WHPB) ?
"WHPB" :
"SHPB" )
◆ collectInput()
void LVL1TGCTrigger::TGCHighPtBoard::collectInput |
( |
| ) |
|
|
protected |
◆ createHighPtBoardOut()
void LVL1TGCTrigger::TGCHighPtBoard::createHighPtBoardOut |
( |
| ) |
|
|
protected |
◆ createHighPtChipOut()
void LVL1TGCTrigger::TGCHighPtBoard::createHighPtChipOut |
( |
| ) |
|
|
protected |
◆ createLowPtBoardOut()
void LVL1TGCTrigger::TGCHighPtBoard::createLowPtBoardOut |
( |
| ) |
|
|
protected |
◆ decodeSlaveBoardOut()
◆ deleteSlaveBoardOut()
void LVL1TGCTrigger::TGCHighPtBoard::deleteSlaveBoardOut |
( |
| ) |
|
|
protected |
◆ doCoincidence()
void LVL1TGCTrigger::TGCHighPtBoard::doCoincidence |
( |
| ) |
|
|
protected |
◆ doCoincidenceMatrix()
◆ eraseHighPtOutput()
void LVL1TGCTrigger::TGCHighPtBoard::eraseHighPtOutput |
( |
| ) |
|
|
protected |
◆ eraseLowPtOutput()
void LVL1TGCTrigger::TGCHighPtBoard::eraseLowPtOutput |
( |
| ) |
|
|
protected |
◆ eraseOutput()
void LVL1TGCTrigger::TGCHighPtBoard::eraseOutput |
( |
| ) |
|
◆ getId()
int LVL1TGCTrigger::TGCHighPtBoard::getId |
( |
| ) |
const |
|
inline |
◆ getOutput()
◆ getRegion()
TGCRegionType LVL1TGCTrigger::TGCHighPtBoard::getRegion |
( |
| ) |
const |
|
inline |
◆ getTSBOut()
TGCSlaveBoardOut * LVL1TGCTrigger::TGCHighPtBoard::getTSBOut |
( |
int |
chip, |
|
|
int |
port |
|
) |
| |
◆ getType()
int LVL1TGCTrigger::TGCHighPtBoard::getType |
( |
| ) |
const |
|
inline |
◆ highLowSelector()
void LVL1TGCTrigger::TGCHighPtBoard::highLowSelector |
( |
int |
chip | ) |
|
|
protectedvirtual |
Reimplemented in LVL1TGCTrigger::TGCStripHighPtBoard.
Definition at line 274 of file TGCHighPtBoard.cxx.
277 int highPt1stBlock, highPt2ndBlock;
278 int lowPt1stBlock, lowPt2ndBlock;
288 highPt1stBlock = iblock;
291 highPt2ndBlock = iblock;
305 lowPt1stBlock = iblock;
308 lowPt2ndBlock = iblock;
315 if (highPt1stBlock < 0){
316 if (lowPt1stBlock >= 0){
326 if (lowPt2ndBlock >= 0){
337 }
else if (highPt2ndBlock < 0){
347 if ((lowPt1stBlock >= 0) &&
359 }
else if ((lowPt2ndBlock >= 0) &&
◆ loadLowPtOutput()
void LVL1TGCTrigger::TGCHighPtBoard::loadLowPtOutput |
( |
int |
chip, |
|
|
int |
block, |
|
|
TGCSlaveBoardOut * |
dataDSB |
|
) |
| |
|
protected |
Definition at line 206 of file TGCHighPtBoard.cxx.
210 if(dataDSB->getHit(block%2)){
211 int pos=dataDSB->getPos(block%2);
212 int dev=dataDSB->getDev(block%2);
◆ operator=()
◆ setAdjacentHPB()
void LVL1TGCTrigger::TGCHighPtBoard::setAdjacentHPB |
( |
int |
side, |
|
|
TGCHighPtBoard * |
hpt |
|
) |
| |
|
inline |
◆ setDecoderIn()
virtual void LVL1TGCTrigger::TGCHighPtBoard::setDecoderIn |
( |
| ) |
|
|
protectedpure virtual |
◆ setDSB()
void LVL1TGCTrigger::TGCHighPtBoard::setDSB |
( |
int |
connector, |
|
|
TGCSlaveBoard * |
SBIn |
|
) |
| |
|
inline |
◆ setId()
void LVL1TGCTrigger::TGCHighPtBoard::setId |
( |
int |
idIn | ) |
|
|
inline |
◆ setRegion()
◆ setTSB()
void LVL1TGCTrigger::TGCHighPtBoard::setTSB |
( |
int |
connector, |
|
|
TGCSlaveBoard * |
SBIn |
|
) |
| |
|
inline |
◆ setType()
void LVL1TGCTrigger::TGCHighPtBoard::setType |
( |
int |
typeIn | ) |
|
|
inline |
◆ showResult()
void LVL1TGCTrigger::TGCHighPtBoard::showResult |
( |
| ) |
const |
Definition at line 415 of file TGCHighPtBoard.cxx.
419 int i,j,
k, chip, iBlock, iCandidate;
420 std::cout <<
"#HighPtBoard::showResult()" << std::endl;
421 std::cout<<
"#HPB [Input] bid=" <<
m_bid;
423 std::cout <<
" type=" << ((
m_type==WHPB) ?
"WHPB" :
"SHPB" );
427 std::cout <<
" id=" <<
m_id << std::endl;
441 std::cout <<
" iChip=" <<
i;
443 std::cout <<
" iTSBOut=" << j;
445 std::cout <<
" k=" <<
k;
448 std::cout <<
"]" << std::endl;
462 std::cout <<
" i=" <<
i;
464 std::cout <<
" j=" << j;
466 std::cout <<
" k=" <<
k;
471 std::cout <<
"]" << std::endl;
476 std::cout<<std::endl;
478 std::cout <<
"#HPB [Intermediate] bid=" <<
m_bid;
480 std::cout <<
" type=" << ((
m_type==WHPB) ?
"WHPB" :
"SHPB" );
484 std::cout <<
" id=" <<
m_id << std::endl;
488 std::cout <<
"iChip=" << chip <<
"]" << std::endl;
492 std::cout<<
"\t [highPtBoardOut: ";
494 std::cout <<
"block=" << iBlock;
501 std::cout <<
"]" << std::endl;
506 std::cout<<
"\t [lowPtBoardOut: ";
508 std::cout <<
"block=" << iBlock;
515 std::cout <<
"]" << std::endl;
519 std::cout <<
"#HPB [Output] bid=" <<
m_bid;
521 std::cout <<
" type=" << ((
m_type==WHPB) ?
"WHPB" :
"SHPB" );
525 std::cout <<
" id=" <<
m_id << std::endl;
529 std::cout <<
"iChip=" << chip <<
"]" << std::endl;
530 for( iCandidate=0; iCandidate<2; iCandidate+=1){
537 std::cout<<
" Pt:1[high]";
539 std::cout<<
" Pt:0[low ]";
544 std::cout <<
"]" << std::endl;
◆ trackSelector()
void LVL1TGCTrigger::TGCHighPtBoard::trackSelector |
( |
int |
chip, |
|
|
int |
ptIn |
|
) |
| |
|
protected |
Definition at line 230 of file TGCHighPtBoard.cxx.
237 block[iblock]=iblock;
245 }
else dev[iblock]=99;
254 while((
i>=0)&&((abs(dev[
i])>abs(
a))||((abs(dev[
i])==abs(
a))&&(dev[
i]!=
a)&&(
m_priorSign*dev[
i]<0)))){
◆ m_adjacentHPB
◆ m_bid
int LVL1TGCTrigger::TGCHighPtBoard::m_bid |
|
protected |
◆ m_decoderInDSB
◆ m_decoderInTSB
◆ m_DSB
◆ m_DSBOut
◆ m_highPtBoardOut
◆ m_highPtChipOut
◆ m_id
int LVL1TGCTrigger::TGCHighPtBoard::m_id |
|
protected |
◆ m_idSectorLogic
int LVL1TGCTrigger::TGCHighPtBoard::m_idSectorLogic |
|
protected |
◆ m_lowPtBoardOut
◆ m_maxDev
int LVL1TGCTrigger::TGCHighPtBoard::m_maxDev |
|
protected |
◆ m_maxDevOred
int LVL1TGCTrigger::TGCHighPtBoard::m_maxDevOred |
|
protected |
◆ m_maxNumberOfHPBData
int LVL1TGCTrigger::TGCHighPtBoard::m_maxNumberOfHPBData |
|
protected |
◆ m_nChInTSBRegion
int LVL1TGCTrigger::TGCHighPtBoard::m_nChInTSBRegion |
|
protected |
◆ m_nChOfDSBHit
int LVL1TGCTrigger::TGCHighPtBoard::m_nChOfDSBHit |
|
protected |
◆ m_nChOfDSBOut
int LVL1TGCTrigger::TGCHighPtBoard::m_nChOfDSBOut |
|
protected |
◆ m_nChOfTSBHit
int LVL1TGCTrigger::TGCHighPtBoard::m_nChOfTSBHit |
|
protected |
◆ m_nChOfTSBOut
int LVL1TGCTrigger::TGCHighPtBoard::m_nChOfTSBOut |
|
protected |
◆ m_priorSign
int LVL1TGCTrigger::TGCHighPtBoard::m_priorSign |
|
protected |
◆ m_region
◆ m_TSB
◆ m_TSBOut
◆ m_type
int LVL1TGCTrigger::TGCHighPtBoard::m_type |
|
protected |
◆ s_NumberOfDSBOut
constexpr int LVL1TGCTrigger::TGCHighPtBoard::s_NumberOfDSBOut = 3 |
|
staticconstexprprivate |
◆ s_NumberOfTSBOut
constexpr int LVL1TGCTrigger::TGCHighPtBoard::s_NumberOfTSBOut = 2 |
|
staticconstexprprivate |
The documentation for this class was generated from the following files:
void setHitID(int chip, int iCandidate, int hitIdIn)
void setDev(int chip, int iData, int devIn)
void setPos(int chip, int iCandidate, int posIn)
int getDev(int iData) const
void deleteSlaveBoardOut()
TGCSlaveBoardOut * m_DSBOut[NumberOfChip][s_NumberOfDSBOut]
void setSel(int chip, int iData, int selIn)
int getDev(int chip, int iData) const
TGCSlaveBoardOut * m_decoderInTSB[NumberOfChip][NDecoderInTSB]
void loadLowPtOutput(int chip, int block, TGCSlaveBoardOut *dataDSB)
void createHighPtChipOut()
TGCHighPtChipOut * m_highPtChipOut
std::string getTypeName(int typeIn) const
int getNumberOfData() const
int getPt(int chip, int iCandidate) const
int getPos(int iData) const
virtual void decodeSlaveBoardOut(int chip, TGCHitPattern *tHit, TGCHitPattern *dHit)=0
TGCHighPtBoard * m_adjacentHPB[NumberOfAdjacentHPB]
void setPos(int chip, int iData, int posIn)
static constexpr int s_NumberOfTSBOut
void createHighPtBoardOut()
TGCSlaveBoardOut * m_decoderInDSB[NumberOfChip][NDecoderInDSB]
void trackSelector(int chip, int ptIn)
int getSel(int chip, int iData) const
int getHitID(int chip, int iCandidate) const
static constexpr int s_NumberOfDSBOut
virtual void clearDecoderIn()=0
void setDev(int chip, int iCandidate, int devIn)
void setPt(int chip, int iCandidate, int ptIn)
bool getHit(int chip, int iData) const
int getDev(int chip, int iCandidate) const
int getSel(int chip, int iCandidate) const
int getPos(int chip, int iData) const
virtual void doCoincidenceMatrix(int chip, int block, const TGCHitPattern *tHit, const TGCHitPattern *dHit)=0
const TGCSlaveBoard * getOrigin() const
const int NumberOfAdjacentHPB
TGCHighPtBoardOut * m_lowPtBoardOut
int getPos(int chip, int iCandidate) const
TGCSlaveBoard * m_DSB[NumberOfChip][s_NumberOfDSBOut]
virtual void setDecoderIn()=0
const int NBlockOfDSBChannel
void setPt(int chip, int iData, int ptIn)
TGCSlaveBoardOut * getOutput()
TGCSlaveBoard * m_TSB[NumberOfChip][s_NumberOfTSBOut]
TGCSlaveBoardOut * m_TSBOut[NumberOfChip][s_NumberOfTSBOut]
void setSel(int chip, int iCandidate, int selIn)
void createLowPtBoardOut()
virtual void highLowSelector(int chip)
TGCHighPtBoardOut * m_highPtBoardOut
TGCRegionType getRegion() const
void setHit(int chip, int iData, bool hitIn)