CMS 3D CMS Logo

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.

12  : totalRegionEt(36), totalRegionHE_FG(36), etIn9Bits(16), muonBit(16),
13  activityBit(16) {}
std::vector< unsigned short > activityBit
Definition: L1RCTRegion.h:72
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:66
std::vector< unsigned short > etIn9Bits
Definition: L1RCTRegion.h:69
std::vector< unsigned short > muonBit
Definition: L1RCTRegion.h:71
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:67
L1RCTRegion::~L1RCTRegion ( )

Definition at line 15 of file L1RCTRegion.cc.

15 {}

Member Function Documentation

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

Definition at line 74 of file L1RCTRegion.cc.

References activityBit.

Referenced by L1RCTReceiverCard::calcTauBit().

74  {
75  return activityBit.at(4 * i + j);
76 }
std::vector< unsigned short > activityBit
Definition: L1RCTRegion.h:72
unsigned short L1RCTRegion::getEtIn7Bits ( int  i,
int  j 
) const

Definition at line 27 of file L1RCTRegion.cc.

References totalRegionEt.

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

27  {
28  // i & j run 0-3
29  return totalRegionEt.at(6 * (i + 1) + j + 1);
30 }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:66
unsigned short L1RCTRegion::getEtIn9Bits ( int  i,
int  j 
) const

Definition at line 51 of file L1RCTRegion.cc.

References etIn9Bits.

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

51  {
52  return etIn9Bits.at(4 * i + j);
53 }
std::vector< unsigned short > etIn9Bits
Definition: L1RCTRegion.h:69
unsigned short L1RCTRegion::getHE_FGBit ( int  i,
int  j 
) const

Definition at line 40 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().

40  {
41  return totalRegionHE_FG.at(6 * (i + 1) + j + 1);
42 }
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:67
unsigned short L1RCTRegion::getMuonBit ( int  i,
int  j 
) const

Definition at line 62 of file L1RCTRegion.cc.

References muonBit.

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

62  {
63  return muonBit.at(4 * i + j);
64 }
std::vector< unsigned short > muonBit
Definition: L1RCTRegion.h:71
vector< unsigned short > L1RCTRegion::giveEastEt ( ) const

Definition at line 154 of file L1RCTRegion.cc.

References east, getEtIn7Bits(), and mps_fire::i.

Referenced by L1RCT::shareNeighbors().

154  {
155  std::vector<unsigned short> east(4);
156  for (int i = 0; i < 4; i++)
157  east.at(i) = getEtIn7Bits(i, 0);
158  return east;
159 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:27
vector< unsigned short > L1RCTRegion::giveEastHE_FG ( ) const

Definition at line 165 of file L1RCTRegion.cc.

References east, getHE_FGBit(), and mps_fire::i.

Referenced by L1RCT::shareNeighbors().

165  {
166  std::vector<unsigned short> east(4);
167  for (int i = 0; i < 4; i++)
168  east.at(i) = getHE_FGBit(i, 0);
169  return east;
170 }
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:40
unsigned short L1RCTRegion::giveNEEt ( ) const

Definition at line 176 of file L1RCTRegion.cc.

References stringResolutionProvider_cfi::et, and getEtIn7Bits().

Referenced by L1RCT::shareNeighbors().

176  {
177  unsigned short et = getEtIn7Bits(3, 0);
178  if (et > 7)
179  return 7;
180  else
181  return et;
182 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:27
et
define resolution functions of each parameter
unsigned short L1RCTRegion::giveNEHE_FG ( ) const

Definition at line 183 of file L1RCTRegion.cc.

References getHE_FGBit().

Referenced by L1RCT::shareNeighbors().

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

Definition at line 89 of file L1RCTRegion.cc.

References getEtIn7Bits(), mps_fire::i, and north.

Referenced by L1RCT::shareNeighbors().

89  {
90  std::vector<unsigned short> north(4);
91  for (int i = 0; i < 4; i++)
92  north.at(i) = getEtIn7Bits(3, i);
93  return north;
94 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:27
vector< unsigned short > L1RCTRegion::giveNorthHE_FG ( ) const

Definition at line 99 of file L1RCTRegion.cc.

References getHE_FGBit(), mps_fire::i, and north.

Referenced by L1RCT::shareNeighbors().

99  {
100  std::vector<unsigned short> north(4);
101  for (int i = 0; i < 4; i++)
102  north.at(i) = getHE_FGBit(3, i);
103  return north;
104 }
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:40
unsigned short L1RCTRegion::giveNWEt ( ) const

Definition at line 187 of file L1RCTRegion.cc.

References stringResolutionProvider_cfi::et, and getEtIn7Bits().

Referenced by L1RCT::shareNeighbors().

187  {
188  unsigned short et = getEtIn7Bits(3, 3);
189  if (et > 7)
190  return 7;
191  else
192  return et;
193 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:27
et
define resolution functions of each parameter
unsigned short L1RCTRegion::giveNWHE_FG ( ) const

Definition at line 194 of file L1RCTRegion.cc.

References getHE_FGBit().

Referenced by L1RCT::shareNeighbors().

194 { return getHE_FGBit(3, 3); }
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:40
unsigned short L1RCTRegion::giveSEEt ( ) const

Definition at line 211 of file L1RCTRegion.cc.

References stringResolutionProvider_cfi::et, and getEtIn7Bits().

Referenced by L1RCT::shareNeighbors().

211  {
212  unsigned short et = getEtIn7Bits(0, 0);
213  if (et > 7)
214  return 7;
215  else
216  return et;
217 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:27
et
define resolution functions of each parameter
unsigned short L1RCTRegion::giveSEHE_FG ( ) const

Definition at line 218 of file L1RCTRegion.cc.

References getHE_FGBit().

Referenced by L1RCT::shareNeighbors().

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

Definition at line 110 of file L1RCTRegion.cc.

References getEtIn7Bits(), mps_fire::i, and south.

Referenced by L1RCT::shareNeighbors().

110  {
111  std::vector<unsigned short> south(4);
112  for (int i = 0; i < 4; i++)
113  south.at(i) = getEtIn7Bits(0, i);
114  return south;
115 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:27
vector< unsigned short > L1RCTRegion::giveSouthHE_FG ( ) const

Definition at line 121 of file L1RCTRegion.cc.

References getHE_FGBit(), mps_fire::i, and south.

Referenced by L1RCT::shareNeighbors().

121  {
122  std::vector<unsigned short> south(4);
123  for (int i = 0; i < 4; i++)
124  south.at(i) = getHE_FGBit(0, i);
125  return south;
126 }
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:40
unsigned short L1RCTRegion::giveSWEt ( ) const

Definition at line 198 of file L1RCTRegion.cc.

References stringResolutionProvider_cfi::et, and getEtIn7Bits().

Referenced by L1RCT::shareNeighbors().

198  {
199  unsigned short et = getEtIn7Bits(0, 3);
200  if (et > 7)
201  return 7;
202  else
203  return et;
204 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:27
et
define resolution functions of each parameter
unsigned short L1RCTRegion::giveSWHE_FG ( ) const

Definition at line 205 of file L1RCTRegion.cc.

References getHE_FGBit().

Referenced by L1RCT::shareNeighbors().

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

Definition at line 132 of file L1RCTRegion.cc.

References getEtIn7Bits(), mps_fire::i, and west.

Referenced by L1RCT::shareNeighbors().

132  {
133  std::vector<unsigned short> west(4);
134  for (int i = 0; i < 4; i++)
135  west.at(i) = getEtIn7Bits(i, 3);
136  return west;
137 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:27
vector< unsigned short > L1RCTRegion::giveWestHE_FG ( ) const

Definition at line 143 of file L1RCTRegion.cc.

References getHE_FGBit(), mps_fire::i, and west.

Referenced by L1RCT::shareNeighbors().

143  {
144  std::vector<unsigned short> west(4);
145  for (int i = 0; i < 4; i++)
146  west.at(i) = getHE_FGBit(i, 3);
147  return west;
148 }
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:40
void L1RCTRegion::print ( void  )

Definition at line 224 of file L1RCTRegion.cc.

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

224  {
225 
226  std::cout << " 7 Bit Energies ";
227  for (int i = 0; i < 4; i++) {
228  std::cout << std::endl;
229  for (int j = 0; j < 4; j++) {
230  std::cout << " " << getEtIn7Bits(i, j) << " ";
231  }
232  }
233 
234  std::cout << std::endl << std::endl;
235  std::cout << " 9 Bit Energies ";
236  for (int i = 0; i < 4; i++) {
237  std::cout << std::endl;
238  for (int j = 0; j < 4; j++) {
239  std::cout << " " << getEtIn9Bits(i, j) << " ";
240  }
241  }
242 
243  std::cout << std::endl << std::endl;
244  std::cout << " HE || FG bit ";
245  for (int i = 0; i < 4; i++) {
246  std::cout << std::endl;
247  for (int j = 0; j < 4; j++) {
248  std::cout << " " << getHE_FGBit(i, j) << " ";
249  }
250  }
251 
252  std::cout << std::endl << std::endl;
253  std::cout << " Muon Bit ";
254  for (int i = 0; i < 4; i++) {
255  std::cout << std::endl;
256  for (int j = 0; j < 4; j++) {
257  std::cout << " " << getMuonBit(i, j) << " ";
258  }
259  }
260  std::cout << std::endl;
261 }
unsigned short getEtIn7Bits(int i, int j) const
Definition: L1RCTRegion.cc:27
unsigned short getEtIn9Bits(int i, int j) const
Definition: L1RCTRegion.cc:51
unsigned short getMuonBit(int i, int j) const
Definition: L1RCTRegion.cc:62
unsigned short getHE_FGBit(int i, int j) const
Definition: L1RCTRegion.cc:40
void L1RCTRegion::printEdges ( )

Definition at line 263 of file L1RCTRegion.cc.

References gather_cfg::cout, mps_fire::i, and totalRegionEt.

263  {
264  std::cout << "North" << std::endl;
265  for (int i = 0; i < 4; i++)
266  std::cout << totalRegionEt.at(i + 1) << std::endl;
267 
268  std::cout << "West" << std::endl;
269  for (int i = 0; i < 4; i++)
270  std::cout << totalRegionEt.at(6 * (i + 1)) << std::endl;
271 
272  std::cout << "East" << std::endl;
273  for (int i = 0; i < 4; i++)
274  std::cout << totalRegionEt.at(6 * (i + 1) + 5) << std::endl;
275 
276  std::cout << "South" << std::endl;
277  for (int i = 0; i < 4; i++)
278  std::cout << totalRegionEt.at(31 + i) << std::endl;
279 
280  std::cout << "NE " << totalRegionEt.at(5) << std::endl;
281  std::cout << "SE " << totalRegionEt.at(35) << std::endl;
282  std::cout << "NW " << totalRegionEt.at(0) << std::endl;
283  std::cout << "SW " << totalRegionEt.at(30) << std::endl;
284 }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:66
void L1RCTRegion::setActivityBit ( int  i,
int  j,
unsigned short  activity 
)

Definition at line 70 of file L1RCTRegion.cc.

References activityBit.

70  {
71  activityBit.at(4 * i + j) = activity;
72 }
std::vector< unsigned short > activityBit
Definition: L1RCTRegion.h:72
void L1RCTRegion::setEastEt ( const std::vector< unsigned short > &  east)

Definition at line 160 of file L1RCTRegion.cc.

References mps_fire::i, and totalRegionEt.

Referenced by L1RCT::shareNeighbors().

160  {
161  for (int i = 0; i < 4; i++)
162  totalRegionEt.at(6 * (i + 1) + 5) = east.at(i);
163 }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:66
void L1RCTRegion::setEastHE_FG ( const std::vector< unsigned short > &  east)

Definition at line 171 of file L1RCTRegion.cc.

References mps_fire::i, and totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

171  {
172  for (int i = 0; i < 4; i++)
173  totalRegionHE_FG.at(6 * (i + 1) + 5) = east.at(i);
174 }
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:67
void L1RCTRegion::setEtIn7Bits ( int  i,
int  j,
unsigned short  energy 
)

Definition at line 32 of file L1RCTRegion.cc.

References randomXiThetaGunProducer_cfi::energy, and totalRegionEt.

32  {
33  // i & j should be 0-3
34  if (energy <= 127)
35  totalRegionEt.at(6 * (i + 1) + j + 1) = energy;
36  else
37  totalRegionEt.at(6 * (i + 1) + j + 1) = 127;
38 }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:66
void L1RCTRegion::setEtIn9Bits ( int  i,
int  j,
unsigned short  energy 
)

Definition at line 55 of file L1RCTRegion.cc.

References randomXiThetaGunProducer_cfi::energy, and etIn9Bits.

55  {
56  if (energy <= 511)
57  etIn9Bits.at(4 * i + j) = energy;
58  else
59  etIn9Bits.at(4 * i + j) = 511;
60 }
std::vector< unsigned short > etIn9Bits
Definition: L1RCTRegion.h:69
void L1RCTRegion::setHE_FGBit ( int  i,
int  j,
unsigned short  HE_FG 
)

Definition at line 44 of file L1RCTRegion.cc.

References totalRegionHE_FG.

44  {
45  totalRegionHE_FG.at(6 * (i + 1) + j + 1) = HE_FG;
46 }
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:67
void L1RCTRegion::setMuonBit ( int  i,
int  j,
unsigned short  muon 
)

Definition at line 66 of file L1RCTRegion.cc.

References metsig::muon, and muonBit.

66  {
67  muonBit.at(4 * i + j) = muon;
68 }
std::vector< unsigned short > muonBit
Definition: L1RCTRegion.h:71
void L1RCTRegion::setNEEt ( unsigned short  ne)

Definition at line 184 of file L1RCTRegion.cc.

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

Referenced by L1RCT::shareNeighbors().

184 { totalRegionEt.at(5) = ne; }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:66
void L1RCTRegion::setNEHE_FG ( unsigned short  ne)

Definition at line 185 of file L1RCTRegion.cc.

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

Referenced by L1RCT::shareNeighbors().

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

Definition at line 95 of file L1RCTRegion.cc.

References mps_fire::i, and totalRegionEt.

Referenced by L1RCT::shareNeighbors().

95  {
96  for (int i = 0; i < 4; i++)
97  totalRegionEt.at(i + 1) = north.at(i);
98 }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:66
void L1RCTRegion::setNorthHE_FG ( const std::vector< unsigned short > &  north)

Definition at line 105 of file L1RCTRegion.cc.

References mps_fire::i, and totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

105  {
106  for (int i = 0; i < 4; i++)
107  totalRegionHE_FG.at(i + 1) = north.at(i);
108 }
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:67
void L1RCTRegion::setNWEt ( unsigned short  nw)

Definition at line 195 of file L1RCTRegion.cc.

References totalRegionEt.

Referenced by L1RCT::shareNeighbors().

195 { totalRegionEt.at(0) = nw; }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:66
void L1RCTRegion::setNWHE_FG ( unsigned short  nw)

Definition at line 196 of file L1RCTRegion.cc.

References totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

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

Definition at line 219 of file L1RCTRegion.cc.

References totalRegionEt.

Referenced by L1RCT::shareNeighbors().

219 { totalRegionEt.at(35) = se; }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:66
void L1RCTRegion::setSEHE_FG ( unsigned short  se)

Definition at line 220 of file L1RCTRegion.cc.

References totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

220  {
221  totalRegionHE_FG.at(35) = se;
222 }
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:67
void L1RCTRegion::setSouthEt ( const std::vector< unsigned short > &  south)

Definition at line 116 of file L1RCTRegion.cc.

References mps_fire::i, and totalRegionEt.

Referenced by L1RCT::shareNeighbors().

116  {
117  for (int i = 0; i < 4; i++)
118  totalRegionEt.at(31 + i) = south.at(i);
119 }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:66
void L1RCTRegion::setSouthHE_FG ( const std::vector< unsigned short > &  south)

Definition at line 127 of file L1RCTRegion.cc.

References mps_fire::i, and totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

127  {
128  for (int i = 0; i < 4; i++)
129  totalRegionHE_FG.at(31 + i) = south.at(i);
130 }
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:67
void L1RCTRegion::setSWEt ( unsigned short  sw)

Definition at line 206 of file L1RCTRegion.cc.

References totalRegionEt.

Referenced by L1RCT::shareNeighbors().

206 { totalRegionEt.at(30) = sw; }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:66
void L1RCTRegion::setSWHE_FG ( unsigned short  sw)

Definition at line 207 of file L1RCTRegion.cc.

References totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

207  {
208  totalRegionHE_FG.at(30) = sw;
209 }
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:67
void L1RCTRegion::setWestEt ( const std::vector< unsigned short > &  west)

Definition at line 138 of file L1RCTRegion.cc.

References mps_fire::i, and totalRegionEt.

Referenced by L1RCT::shareNeighbors().

138  {
139  for (int i = 0; i < 4; i++)
140  totalRegionEt.at(6 * (i + 1)) = west.at(i);
141 }
std::vector< unsigned short > totalRegionEt
Definition: L1RCTRegion.h:66
void L1RCTRegion::setWestHE_FG ( const std::vector< unsigned short > &  west)

Definition at line 149 of file L1RCTRegion.cc.

References mps_fire::i, and totalRegionHE_FG.

Referenced by L1RCT::shareNeighbors().

149  {
150  for (int i = 0; i < 4; i++)
151  totalRegionHE_FG.at(6 * (i + 1)) = west.at(i);
152 }
std::vector< unsigned short > totalRegionHE_FG
Definition: L1RCTRegion.h:67

Member Data Documentation

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

Definition at line 72 of file L1RCTRegion.h.

Referenced by getActivityBit(), and setActivityBit().

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

Definition at line 69 of file L1RCTRegion.h.

Referenced by getEtIn9Bits(), and setEtIn9Bits().

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

Definition at line 71 of file L1RCTRegion.h.

Referenced by getMuonBit(), and setMuonBit().

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