CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
L1RCTRegion Class Reference

#include <L1RCTRegion.h>

Public Member Functions

unsigned short getActivityBit (int i, int j) const
 
unsigned short getEtIn7Bits (int i, int j) const
 
unsigned short getEtIn9Bits (int i, int j) const
 
unsigned short getHE_FGBit (int i, int j) const
 
unsigned short getMuonBit (int i, int j) const
 
std::vector< unsigned short > giveEastEt () const
 
std::vector< unsigned short > giveEastHE_FG () const
 
unsigned short giveNEEt () const
 
unsigned short giveNEHE_FG () const
 
std::vector< unsigned short > giveNorthEt () const
 
std::vector< unsigned short > giveNorthHE_FG () const
 
unsigned short giveNWEt () const
 
unsigned short giveNWHE_FG () const
 
unsigned short giveSEEt () const
 
unsigned short giveSEHE_FG () const
 
std::vector< unsigned short > giveSouthEt () const
 
std::vector< unsigned short > giveSouthHE_FG () const
 
unsigned short giveSWEt () const
 
unsigned short giveSWHE_FG () const
 
std::vector< unsigned short > giveWestEt () const
 
std::vector< unsigned short > giveWestHE_FG () const
 
 L1RCTRegion ()
 
void print ()
 
void printEdges ()
 
void setActivityBit (int i, int j, unsigned short activity)
 
void setEastEt (const std::vector< unsigned short > &east)
 
void setEastHE_FG (const std::vector< unsigned short > &east)
 
void setEtIn7Bits (int i, int j, unsigned short energy)
 
void setEtIn9Bits (int i, int j, unsigned short energy)
 
void setHE_FGBit (int i, int j, unsigned short HE_FG)
 
void setMuonBit (int i, int j, unsigned short muon)
 
void setNEEt (unsigned short ne)
 
void setNEHE_FG (unsigned short ne)
 
void setNorthEt (const std::vector< unsigned short > &north)
 
void setNorthHE_FG (const std::vector< unsigned short > &north)
 
void setNWEt (unsigned short nw)
 
void setNWHE_FG (unsigned short nw)
 
void setSEEt (unsigned short se)
 
void setSEHE_FG (unsigned short se)
 
void setSouthEt (const std::vector< unsigned short > &south)
 
void setSouthHE_FG (const std::vector< unsigned short > &south)
 
void setSWEt (unsigned short sw)
 
void setSWHE_FG (unsigned short sw)
 
void setWestEt (const std::vector< unsigned short > &west)
 
void setWestHE_FG (const std::vector< unsigned short > &west)
 
 ~L1RCTRegion ()
 

Private Attributes

std::vector< unsigned short > activityBit
 
std::vector< unsigned short > etIn9Bits
 
std::vector< unsigned short > muonBit
 
std::vector< unsigned short > totalRegionEt
 
std::vector< unsigned short > totalRegionHE_FG
 

Detailed Description

Definition at line 6 of file L1RCTRegion.h.

Constructor & Destructor Documentation

L1RCTRegion::L1RCTRegion ( )

Definition at line 11 of file L1RCTRegion.cc.

11  : totalRegionEt(36),
12  totalRegionHE_FG(36),
13  etIn9Bits(16),
14  muonBit(16),
15  activityBit(16)
16 {
17 }
std::vector< unsigned short > activityBit
Definition: L1RCTRegion.h:74
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:68
std::vector< unsigned short > etIn9Bits
Definition: L1RCTRegion.h:71
std::vector< unsigned short > muonBit
Definition: L1RCTRegion.h:73
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:69
L1RCTRegion::~L1RCTRegion ( )

Definition at line 20 of file L1RCTRegion.cc.

21 {}

Member Function Documentation

unsigned short L1RCTRegion::getActivityBit ( int  i,
int  j 
) const

Definition at line 82 of file L1RCTRegion.cc.

References activityBit.

Referenced by L1RCTReceiverCard::calcTauBit().

82  {
83  return activityBit.at(4*i+j);
84 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > activityBit
Definition: L1RCTRegion.h:74
int j
Definition: DBlmapReader.cc:9
unsigned short L1RCTRegion::getEtIn7Bits ( int  i,
int  j 
) const

Definition at line 33 of file L1RCTRegion.cc.

References totalRegionEt.

Referenced by L1RCTElectronIsolationCard::calcElectronCandidates(), giveEastEt(), giveNEEt(), giveNorthEt(), giveNWEt(), giveSEEt(), giveSouthEt(), giveSWEt(), giveWestEt(), and print().

33  {
34  //i & j run 0-3
35  return totalRegionEt.at(6*(i+1) + j+1);
36 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:68
int j
Definition: DBlmapReader.cc:9
unsigned short L1RCTRegion::getEtIn9Bits ( int  i,
int  j 
) const

Definition at line 59 of file L1RCTRegion.cc.

References etIn9Bits.

Referenced by L1RCTReceiverCard::calcRegionSum(), and print().

59  {
60  return etIn9Bits.at(4*i + j);
61 }
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
std::vector< unsigned short > etIn9Bits
Definition: L1RCTRegion.h:71
unsigned short L1RCTRegion::getHE_FGBit ( int  i,
int  j 
) const

Definition at line 47 of file L1RCTRegion.cc.

References totalRegionHE_FG.

Referenced by L1RCTElectronIsolationCard::calcElectronCandidates(), giveEastHE_FG(), giveNEHE_FG(), giveNorthHE_FG(), giveNWHE_FG(), giveSEHE_FG(), giveSouthHE_FG(), giveSWHE_FG(), giveWestHE_FG(), and print().

47  {
48  return totalRegionHE_FG.at(6*(i+1)+j+1);
49 }
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:69
unsigned short L1RCTRegion::getMuonBit ( int  i,
int  j 
) const

Definition at line 70 of file L1RCTRegion.cc.

References muonBit.

Referenced by L1RCTReceiverCard::calcMuonBit(), and print().

70  {
71  return muonBit.at(4*i+j);
72 }
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
std::vector< unsigned short > muonBit
Definition: L1RCTRegion.h:73
vector< unsigned short > L1RCTRegion::giveEastEt ( ) const

Definition at line 162 of file L1RCTRegion.cc.

References east, getEtIn7Bits(), and i.

Referenced by L1RCT::shareNeighbors().

162  {
163  std::vector<unsigned short> east(4);
164  for(int i = 0; i<4; i++)
165  east.at(i) = getEtIn7Bits(i,0);
166  return east;
167 }
int i
Definition: DBlmapReader.cc:9
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:33
vector< unsigned short > L1RCTRegion::giveEastHE_FG ( ) const

Definition at line 173 of file L1RCTRegion.cc.

References east, getHE_FGBit(), and i.

Referenced by L1RCT::shareNeighbors().

173  {
174  std::vector<unsigned short> east(4);
175  for(int i = 0; i<4; i++)
176  east.at(i) = getHE_FGBit(i,0);
177  return east;
178 }
int i
Definition: DBlmapReader.cc:9
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:47
unsigned short L1RCTRegion::giveNEEt ( ) const

Definition at line 184 of file L1RCTRegion.cc.

References getEtIn7Bits().

Referenced by L1RCT::shareNeighbors().

184  {
185  unsigned short et = getEtIn7Bits(3,0);
186  if(et > 7)
187  return 7;
188  else
189  return et;
190 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:33
unsigned short L1RCTRegion::giveNEHE_FG ( ) const

Definition at line 191 of file L1RCTRegion.cc.

References getHE_FGBit().

Referenced by L1RCT::shareNeighbors().

191  {
192  return getHE_FGBit(3,0);
193 }
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:47
vector< unsigned short > L1RCTRegion::giveNorthEt ( ) const

Definition at line 97 of file L1RCTRegion.cc.

References getEtIn7Bits(), i, and north.

Referenced by L1RCT::shareNeighbors().

97  {
98  std::vector<unsigned short> north(4);
99  for(int i = 0; i<4;i++)
100  north.at(i) = getEtIn7Bits(3,i);
101  return north;
102 }
int i
Definition: DBlmapReader.cc:9
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:33
vector< unsigned short > L1RCTRegion::giveNorthHE_FG ( ) const

Definition at line 107 of file L1RCTRegion.cc.

References getHE_FGBit(), i, and north.

Referenced by L1RCT::shareNeighbors().

107  {
108  std::vector<unsigned short> north(4);
109  for(int i = 0; i<4; i++)
110  north.at(i) = getHE_FGBit(3,i);
111  return north;
112 }
int i
Definition: DBlmapReader.cc:9
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:47
unsigned short L1RCTRegion::giveNWEt ( ) const

Definition at line 201 of file L1RCTRegion.cc.

References getEtIn7Bits().

Referenced by L1RCT::shareNeighbors().

201  {
202  unsigned short et = getEtIn7Bits(3,3);
203  if(et > 7)
204  return 7;
205  else
206  return et;
207 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:33
unsigned short L1RCTRegion::giveNWHE_FG ( ) const

Definition at line 208 of file L1RCTRegion.cc.

References getHE_FGBit().

Referenced by L1RCT::shareNeighbors().

208  {
209  return getHE_FGBit(3,3);
210 }
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:47
unsigned short L1RCTRegion::giveSEEt ( ) const

Definition at line 235 of file L1RCTRegion.cc.

References getEtIn7Bits().

Referenced by L1RCT::shareNeighbors().

235  {
236  unsigned short et = getEtIn7Bits(0,0);
237  if(et > 7)
238  return 7;
239  else
240  return et;
241 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:33
unsigned short L1RCTRegion::giveSEHE_FG ( ) const

Definition at line 242 of file L1RCTRegion.cc.

References getHE_FGBit().

Referenced by L1RCT::shareNeighbors().

242  {
243  return getHE_FGBit(0,0);
244 }
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:47
vector< unsigned short > L1RCTRegion::giveSouthEt ( ) const

Definition at line 118 of file L1RCTRegion.cc.

References getEtIn7Bits(), i, and south.

Referenced by L1RCT::shareNeighbors().

118  {
119  std::vector<unsigned short> south(4);
120  for(int i = 0; i<4; i++)
121  south.at(i) = getEtIn7Bits(0,i);
122  return south;
123 }
int i
Definition: DBlmapReader.cc:9
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:33
vector< unsigned short > L1RCTRegion::giveSouthHE_FG ( ) const

Definition at line 129 of file L1RCTRegion.cc.

References getHE_FGBit(), i, and south.

Referenced by L1RCT::shareNeighbors().

129  {
130  std::vector<unsigned short> south(4);
131  for(int i = 0; i<4; i++)
132  south.at(i) = getHE_FGBit(0,i);
133  return south;
134 }
int i
Definition: DBlmapReader.cc:9
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:47
unsigned short L1RCTRegion::giveSWEt ( ) const

Definition at line 218 of file L1RCTRegion.cc.

References getEtIn7Bits().

Referenced by L1RCT::shareNeighbors().

218  {
219  unsigned short et = getEtIn7Bits(0,3);
220  if(et > 7)
221  return 7;
222  else
223  return et;
224 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:33
unsigned short L1RCTRegion::giveSWHE_FG ( ) const

Definition at line 225 of file L1RCTRegion.cc.

References getHE_FGBit().

Referenced by L1RCT::shareNeighbors().

225  {
226  return getHE_FGBit(0,3);
227 }
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:47
vector< unsigned short > L1RCTRegion::giveWestEt ( ) const

Definition at line 140 of file L1RCTRegion.cc.

References getEtIn7Bits(), i, and west.

Referenced by L1RCT::shareNeighbors().

140  {
141  std::vector<unsigned short> west(4);
142  for(int i =0; i<4; i++)
143  west.at(i) = getEtIn7Bits(i,3);
144  return west;
145 }
int i
Definition: DBlmapReader.cc:9
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:33
vector< unsigned short > L1RCTRegion::giveWestHE_FG ( ) const

Definition at line 151 of file L1RCTRegion.cc.

References getHE_FGBit(), i, and west.

Referenced by L1RCT::shareNeighbors().

151  {
152  std::vector<unsigned short> west(4);
153  for(int i = 0; i<4; i++)
154  west.at(i) = getHE_FGBit(i,3);
155  return west;
156 }
int i
Definition: DBlmapReader.cc:9
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:47
void L1RCTRegion::print ( void  )

Definition at line 252 of file L1RCTRegion.cc.

References gather_cfg::cout, getEtIn7Bits(), getEtIn9Bits(), getHE_FGBit(), getMuonBit(), i, and j.

252  {
253 
254  std::cout << " 7 Bit Energies ";
255  for(int i = 0; i<4; i++){
256  std::cout << std::endl;
257  for(int j = 0; j<4; j++){
258  std::cout << " " << getEtIn7Bits(i,j) << " ";
259  }
260  }
261 
262  std::cout << std::endl << std::endl;
263  std::cout << " 9 Bit Energies ";
264  for(int i = 0; i<4; i++){
265  std::cout << std::endl;
266  for(int j = 0; j<4; j++){
267  std::cout << " " << getEtIn9Bits(i,j) << " ";
268  }
269  }
270 
271  std::cout << std::endl << std::endl;
272  std::cout << " HE || FG bit ";
273  for(int i = 0; i<4; i++){
274  std::cout << std::endl;
275  for(int j = 0; j<4; j++){
276  std::cout << " " << getHE_FGBit(i,j) << " ";
277  }
278  }
279 
280  std::cout << std::endl << std::endl;
281  std::cout << " Muon Bit ";
282  for(int i = 0; i<4; i++){
283  std::cout << std::endl;
284  for(int j = 0; j<4; j++){
285  std::cout << " " << getMuonBit(i,j) << " ";
286  }
287  }
288  std::cout << std::endl;
289 }
int i
Definition: DBlmapReader.cc:9
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:33
unsigned short getEtIn9Bits(int i, int j) const
Definition: L1RCTRegion.cc:59
unsigned short getMuonBit(int i, int j) const
Definition: L1RCTRegion.cc:70
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:47
int j
Definition: DBlmapReader.cc:9
tuple cout
Definition: gather_cfg.py:121
void L1RCTRegion::printEdges ( )

Definition at line 291 of file L1RCTRegion.cc.

References gather_cfg::cout, i, and totalRegionEt.

291  {
292  std::cout << "North" << std::endl;
293  for(int i=0; i<4;i++)
294  std::cout << totalRegionEt.at(i+1) << std::endl;
295 
296  std::cout << "West" << std::endl;
297  for(int i=0; i<4;i++)
298  std::cout << totalRegionEt.at(6*(i+1)) << std::endl;
299 
300  std::cout << "East" << std::endl;
301  for(int i=0; i<4;i++)
302  std::cout << totalRegionEt.at(6*(i+1)+5) << std::endl;
303 
304  std::cout << "South" << std::endl;
305  for(int i=0; i<4;i++)
306  std::cout << totalRegionEt.at(31+i) << std::endl;
307 
308  std::cout << "NE " << totalRegionEt.at(5) << std::endl;
309  std::cout << "SE " << totalRegionEt.at(35) << std::endl;
310  std::cout << "NW " << totalRegionEt.at(0) << std::endl;
311  std::cout << "SW " << totalRegionEt.at(30) << std::endl;
312 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:68
tuple cout
Definition: gather_cfg.py:121
void L1RCTRegion::setActivityBit ( int  i,
int  j,
unsigned short  activity 
)

Definition at line 78 of file L1RCTRegion.cc.

References activityBit.

78  {
79  activityBit.at(4*i+j) = activity;
80 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > activityBit
Definition: L1RCTRegion.h:74
int j
Definition: DBlmapReader.cc:9
void L1RCTRegion::setEastEt ( const std::vector< unsigned short > &  east)

Definition at line 168 of file L1RCTRegion.cc.

References i, and totalRegionEt.

Referenced by L1RCT::shareNeighbors().

168  {
169  for(int i = 0; i<4; i++)
170  totalRegionEt.at(6*(i+1) + 5) = east.at(i);
171 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:68
void L1RCTRegion::setEastHE_FG ( const std::vector< unsigned short > &  east)

Definition at line 179 of file L1RCTRegion.cc.

References i, and totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

179  {
180  for(int i = 0; i<4; i++)
181  totalRegionHE_FG.at(6*(i+1) + 5) = east.at(i);
182 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:69
void L1RCTRegion::setEtIn7Bits ( int  i,
int  j,
unsigned short  energy 
)

Definition at line 38 of file L1RCTRegion.cc.

References relval_parameters_module::energy, and totalRegionEt.

38  {
39  //i & j should be 0-3
40  if(energy <= 127)
41  totalRegionEt.at(6*(i+1) + j+1) = energy;
42  else
43  totalRegionEt.at(6*(i+1) + j+1) = 127;
44 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:68
int j
Definition: DBlmapReader.cc:9
void L1RCTRegion::setEtIn9Bits ( int  i,
int  j,
unsigned short  energy 
)

Definition at line 63 of file L1RCTRegion.cc.

References relval_parameters_module::energy, and etIn9Bits.

63  {
64  if(energy <=511)
65  etIn9Bits.at(4*i+j) = energy;
66  else
67  etIn9Bits.at(4*i+j) = 511;
68 }
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
std::vector< unsigned short > etIn9Bits
Definition: L1RCTRegion.h:71
void L1RCTRegion::setHE_FGBit ( int  i,
int  j,
unsigned short  HE_FG 
)

Definition at line 51 of file L1RCTRegion.cc.

References totalRegionHE_FG.

51  {
52  totalRegionHE_FG.at(6*(i+1)+j+1) = HE_FG;
53 }
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:69
void L1RCTRegion::setMuonBit ( int  i,
int  j,
unsigned short  muon 
)

Definition at line 74 of file L1RCTRegion.cc.

References metsig::muon, and muonBit.

74  {
75  muonBit.at(4*i+j) = muon;
76 }
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
std::vector< unsigned short > muonBit
Definition: L1RCTRegion.h:73
void L1RCTRegion::setNEEt ( unsigned short  ne)

Definition at line 194 of file L1RCTRegion.cc.

References Vispa.Plugins.EdmBrowser.EdmDataAccessor::ne(), and totalRegionEt.

Referenced by L1RCT::shareNeighbors().

194  {
195  totalRegionEt.at(5) = ne;
196 }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:68
void L1RCTRegion::setNEHE_FG ( unsigned short  ne)

Definition at line 197 of file L1RCTRegion.cc.

References Vispa.Plugins.EdmBrowser.EdmDataAccessor::ne(), and totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

197  {
198  totalRegionHE_FG.at(5) = ne;
199 }
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:69
void L1RCTRegion::setNorthEt ( const std::vector< unsigned short > &  north)

Definition at line 103 of file L1RCTRegion.cc.

References i, and totalRegionEt.

Referenced by L1RCT::shareNeighbors().

103  {
104  for(int i = 0; i<4; i++)
105  totalRegionEt.at(i+1) = north.at(i);
106 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:68
void L1RCTRegion::setNorthHE_FG ( const std::vector< unsigned short > &  north)

Definition at line 113 of file L1RCTRegion.cc.

References i, and totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

113  {
114  for(int i = 0; i<4; i++)
115  totalRegionHE_FG.at(i+1) = north.at(i);
116 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:69
void L1RCTRegion::setNWEt ( unsigned short  nw)

Definition at line 211 of file L1RCTRegion.cc.

References totalRegionEt.

Referenced by L1RCT::shareNeighbors().

211  {
212  totalRegionEt.at(0) = nw;
213 }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:68
void L1RCTRegion::setNWHE_FG ( unsigned short  nw)

Definition at line 214 of file L1RCTRegion.cc.

References totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

214  {
215  totalRegionHE_FG.at(0) = nw;
216 }
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:69
void L1RCTRegion::setSEEt ( unsigned short  se)

Definition at line 245 of file L1RCTRegion.cc.

References totalRegionEt.

Referenced by L1RCT::shareNeighbors().

245  {
246  totalRegionEt.at(35) = se;
247 }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:68
void L1RCTRegion::setSEHE_FG ( unsigned short  se)

Definition at line 248 of file L1RCTRegion.cc.

References totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

248  {
249  totalRegionHE_FG.at(35) = se;
250 }
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:69
void L1RCTRegion::setSouthEt ( const std::vector< unsigned short > &  south)

Definition at line 124 of file L1RCTRegion.cc.

References i, and totalRegionEt.

Referenced by L1RCT::shareNeighbors().

124  {
125  for(int i = 0; i<4; i++)
126  totalRegionEt.at(31+i) = south.at(i);
127 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:68
void L1RCTRegion::setSouthHE_FG ( const std::vector< unsigned short > &  south)

Definition at line 135 of file L1RCTRegion.cc.

References i, and totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

135  {
136  for(int i=0; i<4; i++)
137  totalRegionHE_FG.at(31+i) = south.at(i);
138 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:69
void L1RCTRegion::setSWEt ( unsigned short  sw)

Definition at line 228 of file L1RCTRegion.cc.

References totalRegionEt.

Referenced by L1RCT::shareNeighbors().

228  {
229  totalRegionEt.at(30) = sw;
230 }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:68
void L1RCTRegion::setSWHE_FG ( unsigned short  sw)

Definition at line 231 of file L1RCTRegion.cc.

References totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

231  {
232  totalRegionHE_FG.at(30) = sw;
233 }
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:69
void L1RCTRegion::setWestEt ( const std::vector< unsigned short > &  west)

Definition at line 146 of file L1RCTRegion.cc.

References i, and totalRegionEt.

Referenced by L1RCT::shareNeighbors().

146  {
147  for(int i = 0; i<4; i++)
148  totalRegionEt.at(6*(i+1)) = west.at(i);
149 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:68
void L1RCTRegion::setWestHE_FG ( const std::vector< unsigned short > &  west)

Definition at line 157 of file L1RCTRegion.cc.

References i, and totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

157  {
158  for(int i = 0; i<4; i++)
159  totalRegionHE_FG.at(6*(i+1)) = west.at(i);
160 }
int i
Definition: DBlmapReader.cc:9
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:69

Member Data Documentation

std::vector<unsigned short> L1RCTRegion::activityBit
private

Definition at line 74 of file L1RCTRegion.h.

Referenced by getActivityBit(), and setActivityBit().

std::vector<unsigned short> L1RCTRegion::etIn9Bits
private

Definition at line 71 of file L1RCTRegion.h.

Referenced by getEtIn9Bits(), and setEtIn9Bits().

std::vector<unsigned short> L1RCTRegion::muonBit
private

Definition at line 73 of file L1RCTRegion.h.

Referenced by getMuonBit(), and setMuonBit().

std::vector<unsigned short> L1RCTRegion::totalRegionEt
private
std::vector<unsigned short> L1RCTRegion::totalRegionHE_FG
private