ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
LVL1TGCTrigger::TGCHighPtBoardOut Class Reference

#include <TGCHighPtBoardOut.h>

Collaboration diagram for LVL1TGCTrigger::TGCHighPtBoardOut:

Public Member Functions

 TGCHighPtBoardOut (TGCHighPtBoard *hpt, int bidIn)
 
 TGCHighPtBoardOut ()
 
virtual ~TGCHighPtBoardOut ()=default
 
int getPt (int chip, int iData) const
 
int getPos (int chip, int iData) const
 
int getDev (int chip, int iData) const
 
bool getHit (int chip, int iData) const
 
int getSel (int chip, int iData) const
 
void setPt (int chip, int iData, int ptIn)
 
void setPos (int chip, int iData, int posIn)
 
void setDev (int chip, int iData, int devIn)
 
void setHit (int chip, int iData, bool hitIn)
 
void setSel (int chip, int iData, int selIn)
 
int getBid () const
 
void setBid (int bidIn)
 
void clear ()
 
void setOrigin (const TGCHighPtBoard *originIn)
 
const TGCHighPtBoardgetOrigin () const
 

Private Attributes

const TGCHighPtBoardm_origin
 
int m_bid
 
int m_pt [NumberOfChip][MaxNumberOfHPBData] {}
 
int m_pos [NumberOfChip][MaxNumberOfHPBData] {}
 
int m_dev [NumberOfChip][MaxNumberOfHPBData] {}
 
bool m_hit [NumberOfChip][MaxNumberOfHPBData] {}
 
int m_select [NumberOfChip][MaxNumberOfHPBData] {}
 

Detailed Description

Definition at line 26 of file TGCHighPtBoardOut.h.

Constructor & Destructor Documentation

◆ TGCHighPtBoardOut() [1/2]

LVL1TGCTrigger::TGCHighPtBoardOut::TGCHighPtBoardOut ( TGCHighPtBoard hpt,
int  bidIn 
)

Definition at line 9 of file TGCHighPtBoardOut.cxx.

9  :
10  m_origin(hpt), m_bid(bidIn)
11 {
12 }

◆ TGCHighPtBoardOut() [2/2]

LVL1TGCTrigger::TGCHighPtBoardOut::TGCHighPtBoardOut ( )

Definition at line 14 of file TGCHighPtBoardOut.cxx.

14  :
15  m_origin(0), m_bid(-1)
16 {
17 }

◆ ~TGCHighPtBoardOut()

virtual LVL1TGCTrigger::TGCHighPtBoardOut::~TGCHighPtBoardOut ( )
virtualdefault

Member Function Documentation

◆ clear()

void LVL1TGCTrigger::TGCHighPtBoardOut::clear ( )

Definition at line 19 of file TGCHighPtBoardOut.cxx.

20 {
21  int i,j;
22  for( i=0; i<NumberOfChip ; i+=1)
23  for( j=0; j<MaxNumberOfHPBData; j+=1){
24  m_hit[i][j] = false;
25  m_select[i][j] = 0;
26  }
27 }

◆ getBid()

int LVL1TGCTrigger::TGCHighPtBoardOut::getBid ( ) const
inline

Definition at line 111 of file TGCHighPtBoardOut.h.

112 {
113  return m_bid;
114 }

◆ getDev()

int LVL1TGCTrigger::TGCHighPtBoardOut::getDev ( int  chip,
int  iData 
) const
inline

Definition at line 93 of file TGCHighPtBoardOut.h.

94 {
95  return m_dev[chip][iData];
96 }

◆ getHit()

bool LVL1TGCTrigger::TGCHighPtBoardOut::getHit ( int  chip,
int  iData 
) const
inline

Definition at line 117 of file TGCHighPtBoardOut.h.

118 {
119  return m_hit[chip][iData];
120 }

◆ getOrigin()

const TGCHighPtBoard * LVL1TGCTrigger::TGCHighPtBoardOut::getOrigin ( ) const
inline

Definition at line 87 of file TGCHighPtBoardOut.h.

88 {
89  return m_origin;
90 }

◆ getPos()

int LVL1TGCTrigger::TGCHighPtBoardOut::getPos ( int  chip,
int  iData 
) const
inline

Definition at line 99 of file TGCHighPtBoardOut.h.

100 {
101  return m_pos[chip][iData];
102 }

◆ getPt()

int LVL1TGCTrigger::TGCHighPtBoardOut::getPt ( int  chip,
int  iData 
) const
inline

Definition at line 105 of file TGCHighPtBoardOut.h.

106 {
107  return m_pt[chip][iData];
108 }

◆ getSel()

int LVL1TGCTrigger::TGCHighPtBoardOut::getSel ( int  chip,
int  iData 
) const
inline

Definition at line 129 of file TGCHighPtBoardOut.h.

130 {
131  return m_select[chip][iData];
132 }

◆ setBid()

void LVL1TGCTrigger::TGCHighPtBoardOut::setBid ( int  bidIn)
inline

Definition at line 46 of file TGCHighPtBoardOut.h.

46 { m_bid=bidIn;};

◆ setDev()

void LVL1TGCTrigger::TGCHighPtBoardOut::setDev ( int  chip,
int  iData,
int  devIn 
)
inline

Definition at line 66 of file TGCHighPtBoardOut.h.

67 {
68  if(!m_hit[chip][iData]) m_hit[chip][iData]=true; //[chip][block]
69  m_dev[chip][iData] = devIn;
70 }

◆ setHit()

void LVL1TGCTrigger::TGCHighPtBoardOut::setHit ( int  chip,
int  iData,
bool  hitIn 
)
inline

Definition at line 123 of file TGCHighPtBoardOut.h.

124 {
125  m_hit[chip][iData] = hitIn;
126 }

◆ setOrigin()

void LVL1TGCTrigger::TGCHighPtBoardOut::setOrigin ( const TGCHighPtBoard originIn)
inline

Definition at line 50 of file TGCHighPtBoardOut.h.

50 { m_origin = originIn;};

◆ setPos()

void LVL1TGCTrigger::TGCHighPtBoardOut::setPos ( int  chip,
int  iData,
int  posIn 
)
inline

Definition at line 73 of file TGCHighPtBoardOut.h.

74 {
75  if(!m_hit[chip][iData]) m_hit[chip][iData]=true;
76  m_pos[chip][iData] = posIn;
77 }

◆ setPt()

void LVL1TGCTrigger::TGCHighPtBoardOut::setPt ( int  chip,
int  iData,
int  ptIn 
)
inline

Definition at line 80 of file TGCHighPtBoardOut.h.

81 {
82  if(!m_hit[chip][iData]) m_hit[chip][iData]=true;
83  m_pt[chip][iData] =ptIn;
84 }

◆ setSel()

void LVL1TGCTrigger::TGCHighPtBoardOut::setSel ( int  chip,
int  iData,
int  selIn 
)
inline

Definition at line 135 of file TGCHighPtBoardOut.h.

136 {
137  m_select[chip][iData] = selIn;
138 }

Member Data Documentation

◆ m_bid

int LVL1TGCTrigger::TGCHighPtBoardOut::m_bid
private

Definition at line 55 of file TGCHighPtBoardOut.h.

◆ m_dev

int LVL1TGCTrigger::TGCHighPtBoardOut::m_dev[NumberOfChip][MaxNumberOfHPBData] {}
private

Definition at line 59 of file TGCHighPtBoardOut.h.

◆ m_hit

bool LVL1TGCTrigger::TGCHighPtBoardOut::m_hit[NumberOfChip][MaxNumberOfHPBData] {}
private

Definition at line 60 of file TGCHighPtBoardOut.h.

◆ m_origin

const TGCHighPtBoard* LVL1TGCTrigger::TGCHighPtBoardOut::m_origin
private

Definition at line 54 of file TGCHighPtBoardOut.h.

◆ m_pos

int LVL1TGCTrigger::TGCHighPtBoardOut::m_pos[NumberOfChip][MaxNumberOfHPBData] {}
private

Definition at line 58 of file TGCHighPtBoardOut.h.

◆ m_pt

int LVL1TGCTrigger::TGCHighPtBoardOut::m_pt[NumberOfChip][MaxNumberOfHPBData] {}
private

Definition at line 57 of file TGCHighPtBoardOut.h.

◆ m_select

int LVL1TGCTrigger::TGCHighPtBoardOut::m_select[NumberOfChip][MaxNumberOfHPBData] {}
private

Definition at line 62 of file TGCHighPtBoardOut.h.


The documentation for this class was generated from the following files:
LVL1TGCTrigger::TGCHighPtBoardOut::m_bid
int m_bid
Definition: TGCHighPtBoardOut.h:55
LVL1TGCTrigger::NumberOfChip
const int NumberOfChip
Definition: TGCHighPtBoard.h:20
lumiFormat.i
int i
Definition: lumiFormat.py:85
LVL1TGCTrigger::TGCHighPtBoardOut::m_select
int m_select[NumberOfChip][MaxNumberOfHPBData]
Definition: TGCHighPtBoardOut.h:62
LVL1TGCTrigger::TGCHighPtBoardOut::m_pt
int m_pt[NumberOfChip][MaxNumberOfHPBData]
Definition: TGCHighPtBoardOut.h:57
LVL1TGCTrigger::MaxNumberOfHPBData
const int MaxNumberOfHPBData
Definition: TGCHighPtBoardOut.h:12
LVL1TGCTrigger::TGCHighPtBoardOut::m_dev
int m_dev[NumberOfChip][MaxNumberOfHPBData]
Definition: TGCHighPtBoardOut.h:59
LVL1TGCTrigger::TGCHighPtBoardOut::m_origin
const TGCHighPtBoard * m_origin
Definition: TGCHighPtBoardOut.h:54
LVL1TGCTrigger::TGCHighPtBoardOut::m_hit
bool m_hit[NumberOfChip][MaxNumberOfHPBData]
Definition: TGCHighPtBoardOut.h:60
LVL1TGCTrigger::TGCHighPtBoardOut::m_pos
int m_pos[NumberOfChip][MaxNumberOfHPBData]
Definition: TGCHighPtBoardOut.h:58