ATLAS Offline Software
Loading...
Searching...
No Matches
LVL1TGCTrigger::TGCHighPtChipOut Class Reference

#include <TGCHighPtChipOut.h>

Collaboration diagram for LVL1TGCTrigger::TGCHighPtChipOut:

Public Member Functions

 TGCHighPtChipOut (TGCHighPtBoard *hpt, int bidIn)
 TGCHighPtChipOut ()
 TGCHighPtChipOut (const TGCHighPtChipOut &)
 ~TGCHighPtChipOut ()
TGCHighPtChipOutoperator= (const TGCHighPtChipOut &)
int getPt (int chip, int iCandidate) const
int getPos (int chip, int iCandidate) const
int getHitID (int chip, int iCandidate) const
int getDev (int chip, int iCandidate) const
int getSel (int chip, int iCandidate) const
void setPt (int chip, int iCandidate, int ptIn)
void setPos (int chip, int iCandidate, int posIn)
void setHitID (int chip, int iCandidate, int hitIdIn)
void setDev (int chip, int iCandidate, int devIn)
void setSel (int chip, int iCandidate, int selIn)
int getBid () const
void setBid (int bidIn)
void clear ()
void setOrigin (const TGCHighPtBoard *originIn)
const TGCHighPtBoardgetOrigin () const

Static Public Attributes

static constexpr int s_NHitInTrackSelector = 2

Private Attributes

const TGCHighPtBoardm_origin
int m_bid
int m_pt [NumberOfChip][s_NHitInTrackSelector]
int m_pos [NumberOfChip][s_NHitInTrackSelector]
int m_hitID [NumberOfChip][s_NHitInTrackSelector]
int m_dev [NumberOfChip][s_NHitInTrackSelector]
int m_select [NumberOfChip][s_NHitInTrackSelector]

Detailed Description

Definition at line 15 of file TGCHighPtChipOut.h.

Constructor & Destructor Documentation

◆ TGCHighPtChipOut() [1/3]

LVL1TGCTrigger::TGCHighPtChipOut::TGCHighPtChipOut ( TGCHighPtBoard * hpt,
int bidIn )

Definition at line 10 of file TGCHighPtChipOut.cxx.

◆ TGCHighPtChipOut() [2/3]

LVL1TGCTrigger::TGCHighPtChipOut::TGCHighPtChipOut ( )

Definition at line 16 of file TGCHighPtChipOut.cxx.

17 :m_origin(0), m_bid(-1)
18{
19 clear();
20}

◆ TGCHighPtChipOut() [3/3]

LVL1TGCTrigger::TGCHighPtChipOut::TGCHighPtChipOut ( const TGCHighPtChipOut & right)

Definition at line 22 of file TGCHighPtChipOut.cxx.

23 :m_origin(right.m_origin), m_bid(right.m_bid)
24{
25 for(int i=0; i<NumberOfChip ; i+=1) {
26 for(int j=0; j<s_NHitInTrackSelector; j+=1){
27 m_pt[i][j] = right.m_pt[i][j];
28 m_pos[i][j] = right.m_pos[i][j];
29 m_hitID[i][j] = right.m_hitID[i][j];
30 m_dev[i][j] = right.m_dev[i][j];
31 m_select[i][j] = right.m_select[i][j];
32 }
33 }
34}
static constexpr int s_NHitInTrackSelector
int m_select[NumberOfChip][s_NHitInTrackSelector]
int m_dev[NumberOfChip][s_NHitInTrackSelector]
int m_hitID[NumberOfChip][s_NHitInTrackSelector]
int m_pt[NumberOfChip][s_NHitInTrackSelector]
int m_pos[NumberOfChip][s_NHitInTrackSelector]
const int NumberOfChip

◆ ~TGCHighPtChipOut()

LVL1TGCTrigger::TGCHighPtChipOut::~TGCHighPtChipOut ( )

Definition at line 53 of file TGCHighPtChipOut.cxx.

54{
55 m_origin=0;
56 m_bid = -1;
57 clear();
58}

Member Function Documentation

◆ clear()

void LVL1TGCTrigger::TGCHighPtChipOut::clear ( )

Definition at line 61 of file TGCHighPtChipOut.cxx.

62{
63 for(int i=0; i<NumberOfChip ; i+=1) {
64 for(int j=0; j<s_NHitInTrackSelector; j+=1){
65 m_pt[i][j] = 0;
66 m_pos[i][j] = 0;
67 m_hitID[i][j] = 0;
68 m_dev[i][j] = 0;
69 m_select[i][j] = 0;
70 }
71 }
72}

◆ getBid()

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

Definition at line 115 of file TGCHighPtChipOut.h.

116{
117 return m_bid;
118}

◆ getDev()

int LVL1TGCTrigger::TGCHighPtChipOut::getDev ( int chip,
int iCandidate ) const
inline

Definition at line 90 of file TGCHighPtChipOut.h.

91{
92 return m_dev[chip][iCandidate];
93}

◆ getHitID()

int LVL1TGCTrigger::TGCHighPtChipOut::getHitID ( int chip,
int iCandidate ) const
inline

Definition at line 102 of file TGCHighPtChipOut.h.

103{
104 return m_hitID[chip][iCandidate];
105}

◆ getOrigin()

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

Definition at line 84 of file TGCHighPtChipOut.h.

85{
86 return m_origin;
87}

◆ getPos()

int LVL1TGCTrigger::TGCHighPtChipOut::getPos ( int chip,
int iCandidate ) const
inline

Definition at line 96 of file TGCHighPtChipOut.h.

97{
98 return m_pos[chip][iCandidate];
99}

◆ getPt()

int LVL1TGCTrigger::TGCHighPtChipOut::getPt ( int chip,
int iCandidate ) const
inline

Definition at line 109 of file TGCHighPtChipOut.h.

110{
111 return m_pt[chip][iCandidate];
112}

◆ getSel()

int LVL1TGCTrigger::TGCHighPtChipOut::getSel ( int chip,
int iCandidate ) const
inline

Definition at line 121 of file TGCHighPtChipOut.h.

122{
123 return m_select[chip][iCandidate];
124}

◆ operator=()

TGCHighPtChipOut & LVL1TGCTrigger::TGCHighPtChipOut::operator= ( const TGCHighPtChipOut & right)

Definition at line 36 of file TGCHighPtChipOut.cxx.

37{
38 if (this != &right){
39 m_origin = right.m_origin;
40 m_bid = right.m_bid;
41 for(int i=0; i<NumberOfChip ; i+=1) {
42 for(int j=0; j<s_NHitInTrackSelector; j+=1){
43 m_pt[i][j] = right.m_pt[i][j];
44 m_pos[i][j] = right.m_pos[i][j];
45 m_hitID[i][j] = right.m_hitID[i][j];
46 m_dev[i][j] = right.m_dev[i][j];
47 m_select[i][j] = right.m_select[i][j];
48 }
49 }
50 }
51 return *this;
52}

◆ setBid()

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

Definition at line 41 of file TGCHighPtChipOut.h.

41{ m_bid=bidIn;};

◆ setDev()

void LVL1TGCTrigger::TGCHighPtChipOut::setDev ( int chip,
int iCandidate,
int devIn )
inline

Definition at line 60 of file TGCHighPtChipOut.h.

61{
62 m_dev[chip][iCandidate] = devIn;
63}

◆ setHitID()

void LVL1TGCTrigger::TGCHighPtChipOut::setHitID ( int chip,
int iCandidate,
int hitIdIn )
inline

Definition at line 72 of file TGCHighPtChipOut.h.

73{
74 m_hitID[chip][iCandidate] = hitIdIn;
75}

◆ setOrigin()

void LVL1TGCTrigger::TGCHighPtChipOut::setOrigin ( const TGCHighPtBoard * originIn)
inline

Definition at line 45 of file TGCHighPtChipOut.h.

45{ m_origin = originIn;};

◆ setPos()

void LVL1TGCTrigger::TGCHighPtChipOut::setPos ( int chip,
int iCandidate,
int posIn )
inline

Definition at line 66 of file TGCHighPtChipOut.h.

67{
68 m_pos[chip][iCandidate] = posIn;
69}

◆ setPt()

void LVL1TGCTrigger::TGCHighPtChipOut::setPt ( int chip,
int iCandidate,
int ptIn )
inline

Definition at line 78 of file TGCHighPtChipOut.h.

79{
80 m_pt[chip][iCandidate] =ptIn;
81}

◆ setSel()

void LVL1TGCTrigger::TGCHighPtChipOut::setSel ( int chip,
int iCandidate,
int selIn )
inline

Definition at line 127 of file TGCHighPtChipOut.h.

128{
129 m_select[chip][iCandidate] = selIn;
130}

Member Data Documentation

◆ m_bid

int LVL1TGCTrigger::TGCHighPtChipOut::m_bid
private

Definition at line 50 of file TGCHighPtChipOut.h.

◆ m_dev

int LVL1TGCTrigger::TGCHighPtChipOut::m_dev[NumberOfChip][s_NHitInTrackSelector]
private

Definition at line 55 of file TGCHighPtChipOut.h.

◆ m_hitID

int LVL1TGCTrigger::TGCHighPtChipOut::m_hitID[NumberOfChip][s_NHitInTrackSelector]
private

Definition at line 54 of file TGCHighPtChipOut.h.

◆ m_origin

const TGCHighPtBoard* LVL1TGCTrigger::TGCHighPtChipOut::m_origin
private

Definition at line 49 of file TGCHighPtChipOut.h.

◆ m_pos

int LVL1TGCTrigger::TGCHighPtChipOut::m_pos[NumberOfChip][s_NHitInTrackSelector]
private

Definition at line 53 of file TGCHighPtChipOut.h.

◆ m_pt

int LVL1TGCTrigger::TGCHighPtChipOut::m_pt[NumberOfChip][s_NHitInTrackSelector]
private

Definition at line 52 of file TGCHighPtChipOut.h.

◆ m_select

int LVL1TGCTrigger::TGCHighPtChipOut::m_select[NumberOfChip][s_NHitInTrackSelector]
private

Definition at line 56 of file TGCHighPtChipOut.h.

◆ s_NHitInTrackSelector

int LVL1TGCTrigger::TGCHighPtChipOut::s_NHitInTrackSelector = 2
staticconstexpr

Definition at line 18 of file TGCHighPtChipOut.h.


The documentation for this class was generated from the following files: