ATLAS Offline Software
Loading...
Searching...
No Matches
TGCHighPtChipOut.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
7
8namespace LVL1TGCTrigger {
9
11 :m_origin(hpt), m_bid(bidIn)
12{
13 clear();
14}
15
21
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}
35
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}
59
60
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}
73
74} //end of namespace bracket
const TGCHighPtBoard * m_origin
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]
TGCHighPtChipOut(TGCHighPtBoard *hpt, int bidIn)
TGCHighPtChipOut & operator=(const TGCHighPtChipOut &)
int m_pos[NumberOfChip][s_NHitInTrackSelector]
const int NumberOfChip