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 Member Functions | Private Attributes
L1MuGMTReadoutRecord Class Reference

#include <L1MuGMTReadoutRecord.h>

Public Member Functions

int getBCERR () const
 
std::vector< L1MuRegionalCandgetBrlRPCCands () const
 get barrel RPC candidates vector More...
 
int getBxCounter () const
 
int getBxInEvent () const
 
int getBxNr () const
 get counters More...
 
std::vector< L1MuRegionalCandgetCSCCands () const
 get CSC candidates vector More...
 
std::vector< L1MuRegionalCandgetDTBXCands () const
 get DT candidates vector More...
 
int getEvNr () const
 
std::vector< L1MuRegionalCandgetFwdRPCCands () const
 get forward RPC candidates vector More...
 
std::vector< L1MuGMTExtendedCandgetGMTBrlCands () const
 get GMT barrel candidates vector More...
 
std::vector
< L1MuGMTExtendedCand > & 
getGMTBrlCandsData ()
 
std::vector< L1MuGMTExtendedCandgetGMTCands () const
 get GMT candidates vector More...
 
std::vector
< L1MuGMTExtendedCand > & 
getGMTCandsData ()
 get GMT candidates vector as stored in data (no rank info) More...
 
std::vector< L1MuGMTExtendedCandgetGMTFwdCands () const
 get GMT forward candidates vector More...
 
unsigned getMIPbit (int eta, int phi) const
 get MIP bit More...
 
unsigned getQuietbit (int eta, int phi) const
 get Quiet bit More...
 
 L1MuGMTReadoutRecord ()
 constructors More...
 
 L1MuGMTReadoutRecord (int bxie)
 
void reset ()
 reset the record More...
 
void setBCERR (int bcerr)
 
void setBxCounter (int bxie)
 
void setBxInEvent (int bxie)
 
void setBxNr (int bxnr)
 set counters More...
 
void setEvNr (int evnr)
 
void setGMTBrlCand (int nr, L1MuGMTExtendedCand const &cand)
 set GMT barrel candidate More...
 
void setGMTBrlCand (int nr, unsigned data, unsigned rank)
 set GMT barrel candidate More...
 
void setGMTCand (int nr, L1MuGMTExtendedCand const &cand)
 set GMT candidate (does not store rank) More...
 
void setGMTCand (int nr, unsigned data)
 set GMT candidate (does not store rank) More...
 
void setGMTFwdCand (int nr, L1MuGMTExtendedCand const &cand)
 set GMT forward candidate More...
 
void setGMTFwdCand (int nr, unsigned data, unsigned rank)
 set GMT forward candidate More...
 
void setInputCand (int nr, unsigned data)
 set Input muon More...
 
void setInputCand (int nr, L1MuRegionalCand const &cand)
 set Input muon More...
 
void setMIPbit (int eta, int phi)
 set MIP bit More...
 
void setQuietbit (int eta, int phi)
 set Quiet bit More...
 
virtual ~L1MuGMTReadoutRecord ()
 destructor More...
 

Private Member Functions

unsigned getBrlRank (int i) const
 get rank of brl cand i More...
 
unsigned getFwdRank (int i) const
 get rank of fwd cand i More...
 
void setBrlRank (int i, unsigned value)
 set rank of brl cand i More...
 
void setFwdRank (int i, unsigned value)
 set rank of fwd cand i More...
 

Private Attributes

std::vector< L1MuGMTExtendedCandm_BarrelCands
 
unsigned m_BCERR
 
unsigned m_BxInEvent
 
unsigned m_BxNr
 
unsigned m_EvNr
 
std::vector< L1MuGMTExtendedCandm_ForwardCands
 
std::vector< L1MuGMTExtendedCandm_GMTCands
 
std::vector< L1MuRegionalCandm_InputCands
 
unsigned m_MIPbits [8]
 
unsigned m_Quietbits [8]
 

Detailed Description

L1 Global Muon Trigger Readout Buffer

Contains the data that the GMT sends to readout for one bunch crossing.

Only simple data members are used so that it is easier to make the data persistent or use it in an other context.

L1 Global Muon Trigger Readout Record

Contains the data that the GMT will send to readout for one bunch crossing.

Definition at line 46 of file L1MuGMTReadoutRecord.h.

Constructor & Destructor Documentation

L1MuGMTReadoutRecord::L1MuGMTReadoutRecord ( )

constructors

Definition at line 51 of file L1MuGMTReadoutRecord.cc.

References reset().

51  : m_InputCands(16),
53  reset();
54 }
std::vector< L1MuRegionalCand > m_InputCands
std::vector< L1MuGMTExtendedCand > m_BarrelCands
void reset()
reset the record
std::vector< L1MuGMTExtendedCand > m_GMTCands
std::vector< L1MuGMTExtendedCand > m_ForwardCands
L1MuGMTReadoutRecord::L1MuGMTReadoutRecord ( int  bxie)

Definition at line 56 of file L1MuGMTReadoutRecord.cc.

References m_BxInEvent, and reset().

56  : m_InputCands(16),
58  reset();
59  m_BxInEvent = bxie;
60 }
std::vector< L1MuRegionalCand > m_InputCands
std::vector< L1MuGMTExtendedCand > m_BarrelCands
void reset()
reset the record
std::vector< L1MuGMTExtendedCand > m_GMTCands
std::vector< L1MuGMTExtendedCand > m_ForwardCands
L1MuGMTReadoutRecord::~L1MuGMTReadoutRecord ( )
virtual

destructor

Definition at line 65 of file L1MuGMTReadoutRecord.cc.

65  {
66 }

Member Function Documentation

int L1MuGMTReadoutRecord::getBCERR ( ) const
inline

Definition at line 68 of file L1MuGMTReadoutRecord.h.

References m_BCERR.

Referenced by L1GTDigiToRaw::packGMT().

68 { return (int) m_BCERR; };
unsigned L1MuGMTReadoutRecord::getBrlRank ( int  i) const
private

get rank of brl cand i

Definition at line 292 of file L1MuGMTReadoutRecord.cc.

References i, and m_BarrelCands.

292  {
293 
294  return m_BarrelCands[i].rank();
295 
296 }
int i
Definition: DBlmapReader.cc:9
std::vector< L1MuGMTExtendedCand > m_BarrelCands
vector< L1MuRegionalCand > L1MuGMTReadoutRecord::getBrlRPCCands ( ) const

get barrel RPC candidates vector

Definition at line 173 of file L1MuGMTReadoutRecord.cc.

References i, and m_InputCands.

Referenced by L1GTDigiToRaw::packGMT(), and L2MuonSeedGenerator::produce().

173  {
174 
175  vector<L1MuRegionalCand> cands;
176 
177  for (int i=0; i<4; i++)
178  if(m_InputCands[i+4].getDataWord() != 0)
179  cands.push_back( m_InputCands[i+4] );
180 
181  return cands;
182 }
int i
Definition: DBlmapReader.cc:9
std::vector< L1MuRegionalCand > m_InputCands
int L1MuGMTReadoutRecord::getBxCounter ( ) const
inline

Definition at line 65 of file L1MuGMTReadoutRecord.h.

References m_BxInEvent.

65 { return (int) m_BxInEvent; }; // for backward compatibility, do not use
int L1MuGMTReadoutRecord::getBxInEvent ( ) const
inline

Definition at line 66 of file L1MuGMTReadoutRecord.h.

References m_BxInEvent.

Referenced by L1GTDigiToRaw::packGMT().

66 { return (int) m_BxInEvent; };
int L1MuGMTReadoutRecord::getBxNr ( ) const
inline

get counters

Definition at line 64 of file L1MuGMTReadoutRecord.h.

References m_BxNr.

Referenced by L1GTDigiToRaw::packGMT().

64 { return (int) m_BxNr; };
vector< L1MuRegionalCand > L1MuGMTReadoutRecord::getCSCCands ( ) const

get CSC candidates vector

Definition at line 161 of file L1MuGMTReadoutRecord.cc.

References i, and m_InputCands.

Referenced by L1GTDigiToRaw::packGMT(), and L2MuonSeedGenerator::produce().

161  {
162 
163  vector<L1MuRegionalCand> cands;
164 
165  for (int i=0; i<4; i++)
166  if(m_InputCands[i+8].getDataWord() != 0)
167  cands.push_back( m_InputCands[i+8] );
168 
169  return cands;
170 }
int i
Definition: DBlmapReader.cc:9
std::vector< L1MuRegionalCand > m_InputCands
vector< L1MuRegionalCand > L1MuGMTReadoutRecord::getDTBXCands ( ) const

get DT candidates vector

Definition at line 147 of file L1MuGMTReadoutRecord.cc.

References i, and m_InputCands.

Referenced by L1GTDigiToRaw::packGMT(), and L2MuonSeedGenerator::produce().

147  {
148 
149  vector<L1MuRegionalCand> cands;
150 
151  for (int i=0; i<4; i++)
152  if(m_InputCands[i].getDataWord() != 0)
153  cands.push_back( m_InputCands[i] );
154 
155 
156  return cands;
157 }
int i
Definition: DBlmapReader.cc:9
std::vector< L1MuRegionalCand > m_InputCands
int L1MuGMTReadoutRecord::getEvNr ( ) const
inline

Definition at line 67 of file L1MuGMTReadoutRecord.h.

References m_EvNr.

Referenced by L1GTDigiToRaw::packGMT().

67 { return (int) m_EvNr; };
unsigned L1MuGMTReadoutRecord::getFwdRank ( int  i) const
private

get rank of fwd cand i

Definition at line 300 of file L1MuGMTReadoutRecord.cc.

References i, and m_ForwardCands.

300  {
301 
302  return m_ForwardCands[i].rank();
303 
304 }
int i
Definition: DBlmapReader.cc:9
std::vector< L1MuGMTExtendedCand > m_ForwardCands
vector< L1MuRegionalCand > L1MuGMTReadoutRecord::getFwdRPCCands ( ) const

get forward RPC candidates vector

Definition at line 185 of file L1MuGMTReadoutRecord.cc.

References i, and m_InputCands.

Referenced by L1GTDigiToRaw::packGMT(), and L2MuonSeedGenerator::produce().

185  {
186 
187  vector<L1MuRegionalCand> cands;
188 
189  for (int i=0; i<4; i++)
190  if(m_InputCands[i+12].getDataWord() != 0)
191  cands.push_back( m_InputCands[i+12] );
192 
193  return cands;
194 }
int i
Definition: DBlmapReader.cc:9
std::vector< L1MuRegionalCand > m_InputCands
vector< L1MuGMTExtendedCand > L1MuGMTReadoutRecord::getGMTBrlCands ( ) const

get GMT barrel candidates vector

Definition at line 121 of file L1MuGMTReadoutRecord.cc.

References m_BarrelCands.

Referenced by L1GTDigiToRaw::packGMT().

121  {
122 
123  vector<L1MuGMTExtendedCand> cands;
124  std::vector<L1MuGMTExtendedCand>::const_iterator it;
125  for(it = m_BarrelCands.begin(); it != m_BarrelCands.end(); it++) {
126  if((*it).getDataWord()!=0) cands.push_back(*it);
127  }
128 
129  return cands;
130 
131 }
std::vector< L1MuGMTExtendedCand > m_BarrelCands
std::vector<L1MuGMTExtendedCand>& L1MuGMTReadoutRecord::getGMTBrlCandsData ( )
inline

Definition at line 78 of file L1MuGMTReadoutRecord.h.

References m_BarrelCands.

78 {return m_BarrelCands;};
std::vector< L1MuGMTExtendedCand > m_BarrelCands
vector< L1MuGMTExtendedCand > L1MuGMTReadoutRecord::getGMTCands ( ) const

get GMT candidates vector

Definition at line 94 of file L1MuGMTReadoutRecord.cc.

References m_BarrelCands, and m_ForwardCands.

Referenced by L1GTDigiToRaw::packGMT().

94  {
95 
96  vector<L1MuGMTExtendedCand> cands;
97 
98  std::vector<L1MuGMTExtendedCand>::const_iterator it;
99  for(it = m_BarrelCands.begin(); it != m_BarrelCands.end(); it++) {
100  if((*it).getDataWord()!=0) cands.push_back(*it);
101  }
102  for(it = m_ForwardCands.begin(); it != m_ForwardCands.end(); it++) {
103  if((*it).getDataWord()!=0) cands.push_back(*it);
104  }
105 
106  // sort by rank
107  stable_sort( cands.begin(), cands.end(), L1MuGMTExtendedCand::RankRef() );
108 
109 
110  return cands;
111 }
std::vector< L1MuGMTExtendedCand > m_BarrelCands
define a rank for muon candidates
std::vector< L1MuGMTExtendedCand > m_ForwardCands
vector< L1MuGMTExtendedCand > & L1MuGMTReadoutRecord::getGMTCandsData ( )

get GMT candidates vector as stored in data (no rank info)

Definition at line 114 of file L1MuGMTReadoutRecord.cc.

References m_GMTCands.

114  {
115 
116  return m_GMTCands;
117 
118 }
std::vector< L1MuGMTExtendedCand > m_GMTCands
vector< L1MuGMTExtendedCand > L1MuGMTReadoutRecord::getGMTFwdCands ( ) const

get GMT forward candidates vector

Definition at line 134 of file L1MuGMTReadoutRecord.cc.

References m_ForwardCands.

Referenced by L1GTDigiToRaw::packGMT().

134  {
135 
136  vector<L1MuGMTExtendedCand> cands;
137  std::vector<L1MuGMTExtendedCand>::const_iterator it;
138  for(it = m_ForwardCands.begin(); it != m_ForwardCands.end(); it++) {
139  if((*it).getDataWord()!=0) cands.push_back(*it);
140  }
141 
142  return cands;
143 
144 }
std::vector< L1MuGMTExtendedCand > m_ForwardCands
unsigned L1MuGMTReadoutRecord::getMIPbit ( int  eta,
int  phi 
) const

get MIP bit

Definition at line 197 of file L1MuGMTReadoutRecord.cc.

References m_MIPbits, and phi.

197  {
198 
199  if (phi<0 || phi > 17 || eta < 0 || eta > 13) return 0;
200 
201  int idx = eta * 18 + phi;
202  int idx_word = idx / 32;
203  int idx_bit = idx % 32;
204 
205  unsigned mask = 1 << (idx_bit-1);
206 
207  return( m_MIPbits[idx_word] & mask) ? 1 : 0;
208 
209 }
T eta() const
Definition: DDAxes.h:10
unsigned L1MuGMTReadoutRecord::getQuietbit ( int  eta,
int  phi 
) const

get Quiet bit

Definition at line 213 of file L1MuGMTReadoutRecord.cc.

References m_Quietbits, and phi.

213  {
214 
215  if (phi<0 || phi > 17 || eta < 0 || eta > 13) return 0;
216 
217  int idx = eta * 18 + phi;
218  int idx_word = idx / 32;
219  int idx_bit = idx % 32;
220 
221  unsigned mask = 1 << (idx_bit-1);
222 
223  return( m_Quietbits[idx_word] & mask) ? 1 : 0;
224 
225 }
T eta() const
Definition: DDAxes.h:10
void L1MuGMTReadoutRecord::reset ( void  )

reset the record

Definition at line 73 of file L1MuGMTReadoutRecord.cc.

References i, m_BarrelCands, m_BCERR, m_BxInEvent, m_BxNr, m_EvNr, m_ForwardCands, m_GMTCands, m_InputCands, m_MIPbits, and m_Quietbits.

Referenced by L1MuGMTReadoutRecord().

73  {
74 
75  m_BxNr = 0;
76  m_BxInEvent = 0;
77  m_EvNr = 0;
78  m_BCERR = 0;
79 
80  std::vector<L1MuRegionalCand>::iterator itr;
81  for(itr = m_InputCands.begin(); itr != m_InputCands.end(); itr++) (*itr).reset();
82 
83  std::vector<L1MuGMTExtendedCand>::iterator itg;
84  for(itg = m_BarrelCands.begin(); itg != m_BarrelCands.end(); itg++) (*itg).reset();
85  for(itg = m_ForwardCands.begin(); itg != m_ForwardCands.end(); itg++) (*itg).reset();
86  for(itg = m_GMTCands.begin(); itg != m_GMTCands.end(); itg++) (*itg).reset();
87  for(int i=0;i<8;i++) {
88  m_MIPbits[i]=0;
89  m_Quietbits[i]=0;
90  }
91 }
int i
Definition: DBlmapReader.cc:9
std::vector< L1MuRegionalCand > m_InputCands
std::vector< L1MuGMTExtendedCand > m_BarrelCands
std::vector< L1MuGMTExtendedCand > m_GMTCands
std::vector< L1MuGMTExtendedCand > m_ForwardCands
void L1MuGMTReadoutRecord::setBCERR ( int  bcerr)
inline

Definition at line 111 of file L1MuGMTReadoutRecord.h.

References m_BCERR.

Referenced by L1GlobalTriggerRawToDigi::unpackGMT().

111 { m_BCERR = (unsigned) bcerr; };
void L1MuGMTReadoutRecord::setBrlRank ( int  i,
unsigned  value 
)
private

set rank of brl cand i

Definition at line 307 of file L1MuGMTReadoutRecord.cc.

References i, and m_BarrelCands.

307  {
308 
309  if (i>=0 && i<4) {
310  m_BarrelCands[i].setRank(value);
311  }
312 
313 }
int i
Definition: DBlmapReader.cc:9
std::vector< L1MuGMTExtendedCand > m_BarrelCands
void L1MuGMTReadoutRecord::setBxCounter ( int  bxie)
inline

Definition at line 108 of file L1MuGMTReadoutRecord.h.

References m_BxInEvent.

108 { m_BxInEvent = (unsigned) bxie; }; // for backward compatibility, do not use
void L1MuGMTReadoutRecord::setBxInEvent ( int  bxie)
inline

Definition at line 109 of file L1MuGMTReadoutRecord.h.

References m_BxInEvent.

Referenced by L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().

109 { m_BxInEvent = (unsigned) bxie; };
void L1MuGMTReadoutRecord::setBxNr ( int  bxnr)
inline

set counters

Definition at line 107 of file L1MuGMTReadoutRecord.h.

References m_BxNr.

Referenced by L1EmulBias::ModifyCollection(), L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().

107 { m_BxNr = (unsigned) bxnr; };
void L1MuGMTReadoutRecord::setEvNr ( int  evnr)
inline

Definition at line 110 of file L1MuGMTReadoutRecord.h.

References m_EvNr.

Referenced by L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().

110 { m_EvNr = (unsigned) evnr; };
void L1MuGMTReadoutRecord::setFwdRank ( int  i,
unsigned  value 
)
private

set rank of fwd cand i

Definition at line 317 of file L1MuGMTReadoutRecord.cc.

References i, and m_ForwardCands.

317  {
318 
319  if (i>=0 && i<4) {
320  m_ForwardCands[i].setRank(value);
321  }
322 
323 }
int i
Definition: DBlmapReader.cc:9
std::vector< L1MuGMTExtendedCand > m_ForwardCands
void L1MuGMTReadoutRecord::setGMTBrlCand ( int  nr,
L1MuGMTExtendedCand const &  cand 
)

set GMT barrel candidate

Definition at line 248 of file L1MuGMTReadoutRecord.cc.

References m_BarrelCands.

Referenced by L1MuGMTSorter::run(), L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().

248  {
249  if (nr>=0 && nr<4) {
250  m_BarrelCands[nr] = cand;
251  }
252 }
std::vector< L1MuGMTExtendedCand > m_BarrelCands
void L1MuGMTReadoutRecord::setGMTBrlCand ( int  nr,
unsigned  data,
unsigned  rank 
)

set GMT barrel candidate

Definition at line 255 of file L1MuGMTReadoutRecord.cc.

References m_BarrelCands, and m_BxInEvent.

255  {
256  if (nr>=0 && nr<4) {
258  }
259 }
std::vector< L1MuGMTExtendedCand > m_BarrelCands
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void L1MuGMTReadoutRecord::setGMTCand ( int  nr,
L1MuGMTExtendedCand const &  cand 
)

set GMT candidate (does not store rank)

set GMT candidate

Definition at line 276 of file L1MuGMTReadoutRecord.cc.

References m_GMTCands.

Referenced by L1MuGMTSorter::run(), L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().

276  {
277  if (nr>=0 && nr<4) {
278  m_GMTCands[nr] = cand;
279  }
280 }
std::vector< L1MuGMTExtendedCand > m_GMTCands
void L1MuGMTReadoutRecord::setGMTCand ( int  nr,
unsigned  data 
)

set GMT candidate (does not store rank)

set GMT candidate

Definition at line 283 of file L1MuGMTReadoutRecord.cc.

References m_BxInEvent, and m_GMTCands.

283  {
284  if (nr>=0 && nr<4) {
286  }
287 }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::vector< L1MuGMTExtendedCand > m_GMTCands
void L1MuGMTReadoutRecord::setGMTFwdCand ( int  nr,
L1MuGMTExtendedCand const &  cand 
)

set GMT forward candidate

Definition at line 262 of file L1MuGMTReadoutRecord.cc.

References m_ForwardCands.

Referenced by L1MuGMTSorter::run(), L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().

262  {
263  if (nr>=0 && nr<4) {
264  m_ForwardCands[nr] = cand;
265  }
266 }
std::vector< L1MuGMTExtendedCand > m_ForwardCands
void L1MuGMTReadoutRecord::setGMTFwdCand ( int  nr,
unsigned  data,
unsigned  rank 
)

set GMT forward candidate

Definition at line 269 of file L1MuGMTReadoutRecord.cc.

References m_BxInEvent, and m_ForwardCands.

269  {
270  if (nr>=0 && nr<4) {
272  }
273 }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::vector< L1MuGMTExtendedCand > m_ForwardCands
void L1MuGMTReadoutRecord::setInputCand ( int  nr,
unsigned  data 
)

set Input muon

set Regional Candidates

Definition at line 241 of file L1MuGMTReadoutRecord.cc.

References m_BxInEvent, and m_InputCands.

Referenced by L1MuGMTPSB::receiveData(), L1DummyProducer::SimpleDigi(), and L1GlobalTriggerRawToDigi::unpackGMT().

241  {
242  if (nr>=0 && nr < 16) {
244  }
245 }
std::vector< L1MuRegionalCand > m_InputCands
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void L1MuGMTReadoutRecord::setInputCand ( int  nr,
L1MuRegionalCand const &  cand 
)

set Input muon

set Regional Candidates

Definition at line 234 of file L1MuGMTReadoutRecord.cc.

References m_InputCands.

234  {
235  if (nr>=0 && nr < 16) {
236  m_InputCands[nr] = cand;
237  }
238 }
std::vector< L1MuRegionalCand > m_InputCands
void L1MuGMTReadoutRecord::setMIPbit ( int  eta,
int  phi 
)

set MIP bit

Definition at line 326 of file L1MuGMTReadoutRecord.cc.

References m_MIPbits, and phi.

Referenced by L1MuGMTPSB::getCalo(), and L1DummyProducer::SimpleDigi().

326  {
327 
328  if (phi<0 || phi > 17 || eta < 0 || eta > 13) return;
329 
330  int idx = eta * 18 + phi;
331  int idx_word = idx / 32;
332  int idx_bit = idx % 32;
333 
334  unsigned mask = 1 << (idx_bit-1);
335 
336  m_MIPbits[idx_word] |= mask;
337 
338 }
T eta() const
Definition: DDAxes.h:10
void L1MuGMTReadoutRecord::setQuietbit ( int  eta,
int  phi 
)

set Quiet bit

Definition at line 342 of file L1MuGMTReadoutRecord.cc.

References m_Quietbits, and phi.

Referenced by L1MuGMTPSB::getCalo(), and L1DummyProducer::SimpleDigi().

342  {
343 
344  if (phi<0 || phi > 17 || eta < 0 || eta > 13) return;
345 
346  int idx = eta * 18 + phi;
347  int idx_word = idx / 32;
348  int idx_bit = idx % 32;
349 
350  unsigned mask = 1 << (idx_bit-1);
351 
352  m_Quietbits[idx_word] |= mask;
353 
354 }
T eta() const
Definition: DDAxes.h:10

Member Data Documentation

std::vector<L1MuGMTExtendedCand> L1MuGMTReadoutRecord::m_BarrelCands
private
unsigned L1MuGMTReadoutRecord::m_BCERR
private

Definition at line 155 of file L1MuGMTReadoutRecord.h.

Referenced by getBCERR(), reset(), and setBCERR().

unsigned L1MuGMTReadoutRecord::m_BxInEvent
private
unsigned L1MuGMTReadoutRecord::m_BxNr
private

Definition at line 151 of file L1MuGMTReadoutRecord.h.

Referenced by getBxNr(), reset(), and setBxNr().

unsigned L1MuGMTReadoutRecord::m_EvNr
private

Definition at line 153 of file L1MuGMTReadoutRecord.h.

Referenced by getEvNr(), reset(), and setEvNr().

std::vector<L1MuGMTExtendedCand> L1MuGMTReadoutRecord::m_ForwardCands
private
std::vector<L1MuGMTExtendedCand> L1MuGMTReadoutRecord::m_GMTCands
private

Definition at line 161 of file L1MuGMTReadoutRecord.h.

Referenced by getGMTCandsData(), reset(), and setGMTCand().

std::vector<L1MuRegionalCand> L1MuGMTReadoutRecord::m_InputCands
private
unsigned L1MuGMTReadoutRecord::m_MIPbits[8]
private

Definition at line 164 of file L1MuGMTReadoutRecord.h.

Referenced by getMIPbit(), reset(), and setMIPbit().

unsigned L1MuGMTReadoutRecord::m_Quietbits[8]
private

Definition at line 165 of file L1MuGMTReadoutRecord.h.

Referenced by getQuietbit(), reset(), and setQuietbit().