ATLAS Offline Software
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
LVL1::RecMuonRoI Class Reference

This class defines the reconstructed Muon ROI. More...

#include <RecMuonRoI.h>

Inheritance diagram for LVL1::RecMuonRoI:
Collaboration diagram for LVL1::RecMuonRoI:

Public Types

enum  ChargeSign { NEGATIVE = 0, POSITIVE = 1, UNDEFINED = 100 }
 Charge sign of the muon candidate. More...
 

Public Member Functions

 RecMuonRoI ()
 
 RecMuonRoI (unsigned int roIWord, const RecMuonRoiSvc *theRecRPCRoiSvc, const RecMuonRoiSvc *theRecTGCRoiSvc, const std::vector< TrigConf::TriggerThreshold * > *theMuonConfig)
 
 RecMuonRoI (unsigned int roIWord, const ITrigT1MuonRecRoiTool *theRecRPCRoiTool, const ITrigT1MuonRecRoiTool *theRecTGCRoiTool, const std::vector< TrigConf::TriggerThreshold * > *theMuonConfig)
 
 RecMuonRoI (unsigned int roIWord, const ITrigT1MuonRecRoiTool *theRecRPCRoiTool, const ITrigT1MuonRecRoiTool *theRecTGCRoiTool, const TrigConf::L1Menu *const l1menu)
 constructor using Run 3 configuration More...
 
void construct (unsigned int roIWord, const RecMuonRoiSvc *theRecRPCRoiSvc, const RecMuonRoiSvc *theRecTGCRoiSvc, const std::vector< TrigConf::TriggerThreshold * > *theMuonConfig)
 
void construct (unsigned int roIWord, const ITrigT1MuonRecRoiTool *theRecRPCRoiTool, const ITrigT1MuonRecRoiTool *theRecTGCRoiTool, const std::vector< TrigConf::TriggerThreshold * > *theMuonConfig)
 
void construct (unsigned int roIWord, const ITrigT1MuonRecRoiTool *theRecRPCRoiTool, const ITrigT1MuonRecRoiTool *theRecTGCRoiTool, const TrigConf::L1Menu *const l1menu)
 
virtual unsigned int roiWord () const
 returns roi word More...
 
unsigned int sysID () const
 returns system ID ROI (Barrel=0, Endcap=1, Forward=2) More...
 
unsigned int subsysID () const
 returns sub-system ID ROI (0=-z,1=+z) More...
 
unsigned int sectorID () const
 returns sector ID ROI More...
 
virtual double phi () const
 returns phi coord of ROI More...
 
virtual double eta () const
 returns eta coord of ROI More...
 
unsigned int getThresholdNumber () const
 returns the Threshold Number (1 to 6) associated with this RecRoI More...
 
unsigned int getThresholdValue () const
 returns the Threshold Value (in GeV) associated with this RecRoI More...
 
unsigned int getRoINumber () const
 return RoI number in hardware numbering scheme More...
 
unsigned int getOverlap () const
 return Overlap in hardware numbering scheme More...
 
bool firstCandidate () const
 returns true if this was the highest pt candidate in this sector More...
 
bool sectorOverflow () const
 returns true if there were > 2 candidates in this sector More...
 
bool padOverflow () const
 returns true if there were > 1 candidates in this pad More...
 
ChargeSign candidateCharge () const
 Returns the change sign of the candidate. More...
 
bool candidateVetoed () const
 Returns true if the candidate was vetoed in the multiplicity sum. More...
 
std::string getDebugString ()
 

Private Member Functions

unsigned int getBitMaskValue (const unsigned int *uintValue, const unsigned int mask)
 a helper function to extract the value corresponding to a bit mask from a 32 bit unsigned int More...
 

Private Attributes

unsigned int m_roiWord { 0 }
 this is the actual format of the data sent from the LVL1 hardware. More...
 
bool m_firstCandidateFlag { false }
 flag indicating if this was the highest pt candidate in this sector - extracted from m_roiWord in the constructor More...
 
bool m_sectorOflFlag { false }
 flag indicating if there were more than 2 candidates in this sector - extracted from m_roiWord in the constructor More...
 
bool m_padOflFlag { false }
 flag indicating if there was more than 1 candidate in this pad - extracted from m_roiWord in the constructor More...
 
unsigned int m_thresholdNumber { 0 }
 the pt threshold number associated with this RoI - extracted from m_roiWord in the constructor More...
 
unsigned int m_thresholdValue { 0 }
 The value of the threshold in GeV. More...
 
unsigned int m_roiNumber { 0 }
 the RoI number of this RoI - extracted from m_roiWord in the constructor More...
 
unsigned int m_overlap { 0 }
 the overlap information for this RoI extracted from m_roiWord in the constructor More...
 
unsigned int m_sysID { 0 }
 the system ID for this RoI (Barrel=0, Endcap=1, Forward=2) extracted from m_roiWord in the constructor More...
 
unsigned int m_subSysID { 0 }
 the subSystem ID for this RoI (0=-z,1=+z) extracted from m_roiWord in the constructor More...
 
unsigned int m_sectorID { 0 }
 the sector number for this RoI extracted from m_roiWord in the constructor More...
 
double m_eta { 0 }
 eta value More...
 
double m_phi { 0 }
 phi value More...
 

Detailed Description

This class defines the reconstructed Muon ROI.

It is generated from the Slink output of TrigT1Muctpi

Definition at line 60 of file RecMuonRoI.h.

Member Enumeration Documentation

◆ ChargeSign

Charge sign of the muon candidate.

Enumerator
NEGATIVE 

Negative (mu minus) candidate in the TGC.

POSITIVE 

Positive (mu plus) candidate in the TGC.

UNDEFINED 

Candidate coming from the RPC.

Definition at line 64 of file RecMuonRoI.h.

64  {
65  NEGATIVE = 0,
66  POSITIVE = 1,
67  UNDEFINED = 100
68  }; // enum CandidateSign

Constructor & Destructor Documentation

◆ RecMuonRoI() [1/4]

LVL1::RecMuonRoI::RecMuonRoI ( )
inline

Definition at line 71 of file RecMuonRoI.h.

71 {}

◆ RecMuonRoI() [2/4]

LVL1::RecMuonRoI::RecMuonRoI ( unsigned int  roIWord,
const RecMuonRoiSvc theRecRPCRoiSvc,
const RecMuonRoiSvc theRecTGCRoiSvc,
const std::vector< TrigConf::TriggerThreshold * > *  theMuonConfig 
)

Definition at line 30 of file RecMuonRoI.cxx.

34 {
35  construct( roIWord, theRecRPCRoiSvc, theRecTGCRoiSvc, theMuonConfig );
36 }

◆ RecMuonRoI() [3/4]

LVL1::RecMuonRoI::RecMuonRoI ( unsigned int  roIWord,
const ITrigT1MuonRecRoiTool theRecRPCRoiTool,
const ITrigT1MuonRecRoiTool theRecTGCRoiTool,
const std::vector< TrigConf::TriggerThreshold * > *  theMuonConfig 
)

Definition at line 38 of file RecMuonRoI.cxx.

42 {
43  construct( roIWord, theRecRPCRoiTool, theRecTGCRoiTool, theMuonConfig );
44 }

◆ RecMuonRoI() [4/4]

LVL1::RecMuonRoI::RecMuonRoI ( unsigned int  roIWord,
const ITrigT1MuonRecRoiTool theRecRPCRoiTool,
const ITrigT1MuonRecRoiTool theRecTGCRoiTool,
const TrigConf::L1Menu *const  l1menu 
)

constructor using Run 3 configuration

Definition at line 46 of file RecMuonRoI.cxx.

50 {
51  construct( roIWord, theRecRPCRoiTool, theRecTGCRoiTool, l1menu );
52 }

Member Function Documentation

◆ candidateCharge()

LVL1::RecMuonRoI::ChargeSign LVL1::RecMuonRoI::candidateCharge ( ) const

Returns the change sign of the candidate.

Definition at line 315 of file RecMuonRoI.cxx.

315  {
316 
317  // If it's a barrel muon then we don't know its sign:
318  if( sysID() == 0 ) return UNDEFINED;
319 
321  return POSITIVE;
322  } else {
323  return NEGATIVE;
324  }
325 }

◆ candidateVetoed()

bool LVL1::RecMuonRoI::candidateVetoed ( ) const

Returns true if the candidate was vetoed in the multiplicity sum.

Definition at line 328 of file RecMuonRoI.cxx.

329 {
330  return ( m_roiWord & CandidateVetoMask );
331 }

◆ construct() [1/3]

void LVL1::RecMuonRoI::construct ( unsigned int  roIWord,
const ITrigT1MuonRecRoiTool theRecRPCRoiTool,
const ITrigT1MuonRecRoiTool theRecTGCRoiTool,
const std::vector< TrigConf::TriggerThreshold * > *  theMuonConfig 
)

Definition at line 144 of file RecMuonRoI.cxx.

148 {
149  m_roiWord = roIWord;
150  m_firstCandidateFlag = false;
151  m_sectorOflFlag = false;
152  m_padOflFlag = false;
153  m_eta = 0;
154  m_phi = 0;
155 
156  // first extract the parts holding the sector address and
157  // and the RoI/Overlap from the 32 bit word
158  unsigned int sectorAddress = this->getBitMaskValue( &m_roiWord, SectorAddressMask );
159  unsigned int sectorRoIOvl = this->getBitMaskValue( &m_roiWord, RoIOvlMask );
160 
161  // the first candidate flag
162  if ( this->getBitMaskValue( &m_roiWord, FirsCandMask ) == 1 ) {
163  m_firstCandidateFlag = true;
164  }
165 
166  // the sector overflow flag
167  if ( this->getBitMaskValue( &m_roiWord, SectOflMask ) == 1 ) {
168  m_sectorOflFlag = true;
169  }
170 
171  // the pad overflow flag
172  if ( this->getBitMaskValue( &m_roiWord, PadOflMask ) == 1 ) {
173  m_padOflFlag = true;
174  }
175 
176  // the pt threshold number
178 
179  // the RoI and sector ID encoding is system dependent - need 3 cases
180 
181  unsigned int temp_sysID = this->getBitMaskValue( &sectorAddress, SysIDMask );
182  m_sysID = 0; // The default is the barrel
183  if( temp_sysID & 0x2 ) m_sysID = 1; // If the higher bit is set, it's from the endcap region
184  else if( temp_sysID & 0x1 ) m_sysID = 2; // if the lower bit is set, it's from the forward region
185 
186  m_subSysID = this->getBitMaskValue( &sectorAddress, SubSysIDMask );
187  if ( m_sysID == 0 ) { // Barrel
188  m_sectorID = this->getBitMaskValue( &sectorAddress, SectNumBarrelMask );
189  m_roiNumber = this->getBitMaskValue( &sectorRoIOvl, BarrelRoIMask );
190  m_overlap = this->getBitMaskValue( &sectorRoIOvl, BarrelOvlMask );
191  } else if ( m_sysID == 2 ) { // Forward
192  m_sectorID = this->getBitMaskValue( &sectorAddress, SectNumForwardMask );
193  m_roiNumber = this->getBitMaskValue( &sectorRoIOvl, ForwardRoIMask );
194  m_overlap = 0;
195  } else if ( m_sysID == 1 ) { // Endcap
196  m_sectorID = this->getBitMaskValue( &sectorAddress, SectNumEndcapMask );
197  m_roiNumber = this->getBitMaskValue( &sectorRoIOvl, EndcapRoIMask );
198  m_overlap = this->getBitMaskValue( &sectorRoIOvl, EndcapOvlMask );
199  }
200 
201  if( m_sysID == 0 ) { // RPC
202  if( theRecRPCRoiTool ) {
203  // set eta and phi values
205  if( theRecRPCRoiTool->roiData( roIWord, roiData ).isSuccess() ){
206  m_eta = roiData.eta();
207  m_phi = roiData.phi();
208  }
209  }
210  } else { // TGC
211  if( theRecTGCRoiTool ) {
212  // set eta and phi values
214  if( theRecTGCRoiTool->roiData( roIWord, roiData ).isSuccess() ){
215  m_eta = roiData.eta();
216  m_phi = roiData.phi();
217  }
218  }
219  }
220 
221  // Get the threshold value
222  // Don't bother casting TriggerThresholdValue to MuonThresholdValue as the latter
223  // currently only adds a printout function
224  m_thresholdValue = 0;
225  for(const TrigConf::TriggerThreshold* thr : *theMuonConfig) {
226  if( thr->type() == L1DataDef::muonType() &&
227  thr->thresholdNumber() + 1 == static_cast< int >( m_thresholdNumber ) ) {
228 
229  TrigConf::TriggerThresholdValue* ttv = thr->triggerThresholdValue( 0, 0 );
230  m_thresholdValue = static_cast< unsigned int >( ttv->ptcut() );
231  }
232  }
233 }

◆ construct() [2/3]

void LVL1::RecMuonRoI::construct ( unsigned int  roIWord,
const ITrigT1MuonRecRoiTool theRecRPCRoiTool,
const ITrigT1MuonRecRoiTool theRecTGCRoiTool,
const TrigConf::L1Menu *const  l1menu 
)

Definition at line 236 of file RecMuonRoI.cxx.

240 {
241  m_roiWord = roIWord;
242  m_firstCandidateFlag = false;
243  m_sectorOflFlag = false;
244  m_padOflFlag = false;
245  m_eta = 0;
246  m_phi = 0;
247 
248  // first extract the parts holding the sector address and
249  // and the RoI/Overlap from the 32 bit word
250  unsigned int sectorAddress = this->getBitMaskValue( &m_roiWord, SectorAddressMask );
251  unsigned int sectorRoIOvl = this->getBitMaskValue( &m_roiWord, RoIOvlMask );
252 
253  // the first candidate flag
254  if ( this->getBitMaskValue( &m_roiWord, FirsCandMask ) == 1 ) {
255  m_firstCandidateFlag = true;
256  }
257 
258  // the sector overflow flag
259  if ( this->getBitMaskValue( &m_roiWord, SectOflMask ) == 1 ) {
260  m_sectorOflFlag = true;
261  }
262 
263  // the pad overflow flag
264  if ( this->getBitMaskValue( &m_roiWord, PadOflMask ) == 1 ) {
265  m_padOflFlag = true;
266  }
267 
268  // the pt threshold number
270 
271  // the RoI and sector ID encoding is system dependent - need 3 cases
272 
273  unsigned int temp_sysID = this->getBitMaskValue( &sectorAddress, SysIDMask );
274  m_sysID = 0; // The default is the barrel
275  if( temp_sysID & 0x2 ) m_sysID = 1; // If the higher bit is set, it's from the endcap region
276  else if( temp_sysID & 0x1 ) m_sysID = 2; // if the lower bit is set, it's from the forward region
277 
278  m_subSysID = this->getBitMaskValue( &sectorAddress, SubSysIDMask );
279  if ( m_sysID == 0 ) { // Barrel
280  m_sectorID = this->getBitMaskValue( &sectorAddress, SectNumBarrelMask );
281  m_roiNumber = this->getBitMaskValue( &sectorRoIOvl, BarrelRoIMask );
282  m_overlap = this->getBitMaskValue( &sectorRoIOvl, BarrelOvlMask );
283  } else if ( m_sysID == 2 ) { // Forward
284  m_sectorID = this->getBitMaskValue( &sectorAddress, SectNumForwardMask );
285  m_roiNumber = this->getBitMaskValue( &sectorRoIOvl, ForwardRoIMask );
286  m_overlap = 0;
287  } else if ( m_sysID == 1 ) { // Endcap
288  m_sectorID = this->getBitMaskValue( &sectorAddress, SectNumEndcapMask );
289  m_roiNumber = this->getBitMaskValue( &sectorRoIOvl, EndcapRoIMask );
290  m_overlap = this->getBitMaskValue( &sectorRoIOvl, EndcapOvlMask );
291  }
292 
293  // m_sysID == 0 (RPC) or 1 (TGC)
294  const ITrigT1MuonRecRoiTool* theRecRoiTool = (m_sysID == 0) ? theRecRPCRoiTool : theRecTGCRoiTool;
295  if( theRecRoiTool ) {
296  // set eta and phi values
298  if( theRecRoiTool->roiData( roIWord, roiData ).isSuccess() ){
299  m_eta = roiData.eta();
300  m_phi = roiData.phi();
301  }
302  }
303 
304  // Get the threshold value
305  m_thresholdValue = 0;
306  for( shared_ptr<TrigConf::L1Threshold> thr : l1menu->thresholds("MU")) {
307  auto muonThr = std::dynamic_pointer_cast<TrigConf::L1Threshold_MU>(thr);
308  if( muonThr->mapping() + 1 == m_thresholdNumber ) {
309  m_thresholdValue = muonThr->ptBarrel(); // for new muon thresholds this must be properly chosen, depending on the regiom
310  }
311  }
312 }

◆ construct() [3/3]

void LVL1::RecMuonRoI::construct ( unsigned int  roIWord,
const RecMuonRoiSvc theRecRPCRoiSvc,
const RecMuonRoiSvc theRecTGCRoiSvc,
const std::vector< TrigConf::TriggerThreshold * > *  theMuonConfig 
)

Definition at line 55 of file RecMuonRoI.cxx.

59 {
60  m_roiWord = roIWord;
61  m_firstCandidateFlag = false;
62  m_sectorOflFlag = false;
63  m_padOflFlag = false;
64  m_eta = 0;
65  m_phi = 0;
66 
67  // first extract the parts holding the sector address and
68  // and the RoI/Overlap from the 32 bit word
69  unsigned int sectorAddress = this->getBitMaskValue( &m_roiWord, SectorAddressMask );
70  unsigned int sectorRoIOvl = this->getBitMaskValue( &m_roiWord, RoIOvlMask );
71 
72  // the first candidate flag
73  if ( this->getBitMaskValue( &m_roiWord, FirsCandMask ) == 1 ) {
74  m_firstCandidateFlag = true;
75  }
76 
77  // the sector overflow flag
78  if ( this->getBitMaskValue( &m_roiWord, SectOflMask ) == 1 ) {
79  m_sectorOflFlag = true;
80  }
81 
82  // the pad overflow flag
83  if ( this->getBitMaskValue( &m_roiWord, PadOflMask ) == 1 ) {
84  m_padOflFlag = true;
85  }
86 
87  // the pt threshold number
89 
90  // the RoI and sector ID encoding is system dependent - need 3 cases
91 
92  unsigned int temp_sysID = this->getBitMaskValue( &sectorAddress, SysIDMask );
93  m_sysID = 0; // The default is the barrel
94  if( temp_sysID & 0x2 ) m_sysID = 1; // If the higher bit is set, it's from the endcap region
95  else if( temp_sysID & 0x1 ) m_sysID = 2; // if the lower bit is set, it's from the forward region
96 
97  m_subSysID = this->getBitMaskValue( &sectorAddress, SubSysIDMask );
98  if ( m_sysID == 0 ) { // Barrel
99  m_sectorID = this->getBitMaskValue( &sectorAddress, SectNumBarrelMask );
100  m_roiNumber = this->getBitMaskValue( &sectorRoIOvl, BarrelRoIMask );
101  m_overlap = this->getBitMaskValue( &sectorRoIOvl, BarrelOvlMask );
102  } else if ( m_sysID == 2 ) { // Forward
103  m_sectorID = this->getBitMaskValue( &sectorAddress, SectNumForwardMask );
104  m_roiNumber = this->getBitMaskValue( &sectorRoIOvl, ForwardRoIMask );
105  m_overlap = 0;
106  } else if ( m_sysID == 1 ) { // Endcap
107  m_sectorID = this->getBitMaskValue( &sectorAddress, SectNumEndcapMask );
108  m_roiNumber = this->getBitMaskValue( &sectorRoIOvl, EndcapRoIMask );
109  m_overlap = this->getBitMaskValue( &sectorRoIOvl, EndcapOvlMask );
110  }
111 
112  // set RecMuonRoiSvc pointer
113  const RecMuonRoiSvc* l_recMuonRoiSvc;
114 
115  if( m_sysID == 0 ) { // RPC
116  l_recMuonRoiSvc = theRecRPCRoiSvc;
117  } else { // TGC
118  l_recMuonRoiSvc = theRecTGCRoiSvc;
119  }
120 
121  if( l_recMuonRoiSvc ) {
122  // set eta and phi values
123  l_recMuonRoiSvc->reconstruct( roIWord );
124  m_eta = l_recMuonRoiSvc->eta();
125  m_phi = l_recMuonRoiSvc->phi();
126  }
127 
128  // Get the threshold value
129  // Don't bother casting TriggerThresholdValue to MuonThresholdValue as the latter
130  // currently only adds a printout function
131  m_thresholdValue = 0;
132  for( std::vector< TriggerThreshold* >::const_iterator it = theMuonConfig->begin();
133  it != theMuonConfig->end(); ++it ) {
134  if( ( *it )->type() == L1DataDef::muonType() &&
135  ( *it )->thresholdNumber() + 1 == static_cast< int >( m_thresholdNumber ) ) {
136 
137  TriggerThresholdValue* ttv = ( *it )->triggerThresholdValue( 0, 0 );
138  m_thresholdValue = static_cast< unsigned int >( ttv->ptcut() );
139  }
140  }
141 }

◆ eta()

virtual double LVL1::RecMuonRoI::eta ( ) const
inlinevirtual

returns eta coord of ROI

Implements iRecCoordRoI.

Definition at line 117 of file RecMuonRoI.h.

117 { return m_eta; }

◆ firstCandidate()

bool LVL1::RecMuonRoI::firstCandidate ( ) const
inline

returns true if this was the highest pt candidate in this sector

Definition at line 132 of file RecMuonRoI.h.

132 { return m_firstCandidateFlag; }

◆ getBitMaskValue()

unsigned int LVL1::RecMuonRoI::getBitMaskValue ( const unsigned int *  uintValue,
const unsigned int  mask 
)
private

a helper function to extract the value corresponding to a bit mask from a 32 bit unsigned int

Definition at line 337 of file RecMuonRoI.cxx.

338 {
339  unsigned int result;
340  unsigned int maskcopy;
341  // make a copy of the mask, because a mask is a mask and
342  // one should stay a mask (i.e. should be something constant!)
343  maskcopy = mask;
344  result = *uintValue & mask;
345  if ( mask != 0 ) {
346  while ( ( maskcopy & 0x00000001 ) == 0 ) {
347  maskcopy = maskcopy >> 1;
348  result = result >> 1;
349  }
350  }
351  return result;
352 }

◆ getDebugString()

std::string LVL1::RecMuonRoI::getDebugString ( )

Definition at line 355 of file RecMuonRoI.cxx.

356 {
357  ostringstream out;
358  string system;
359  string hemisphere = "-";
360 
361  if ( this->sysID() == 0 ) {system = "B";}
362  if ( this->sysID() == 1 ) {system = "F";}
363  if ( this->sysID() > 1 ) {system = "E";}
364 
365  if ( this->subsysID() == 1 ) {hemisphere = "+";}
366 
367  out << " Addr: " << hemisphere << system << " "
368  << setw( 2 ) << ios::dec << this-> sectorID()
369  << " Pt/RoI: " << this->getThresholdNumber()
370  << " " << setw( 2 ) << this->getRoINumber() << std::setfill( ' ' )
371  << " Ovl: " << this->getOverlap()
372  << " pad/secOF: " << setw( 2 ) << this->padOverflow()
373  << setw( 2 ) << this->sectorOverflow()
374  << " First: " << this->firstCandidate();
375 
376  return out.str();
377 }

◆ getOverlap()

unsigned int LVL1::RecMuonRoI::getOverlap ( ) const
inline

return Overlap in hardware numbering scheme

Definition at line 129 of file RecMuonRoI.h.

129 { return m_overlap; }

◆ getRoINumber()

unsigned int LVL1::RecMuonRoI::getRoINumber ( ) const
inline

return RoI number in hardware numbering scheme

Definition at line 126 of file RecMuonRoI.h.

126 { return m_roiNumber; }

◆ getThresholdNumber()

unsigned int LVL1::RecMuonRoI::getThresholdNumber ( ) const
inline

returns the Threshold Number (1 to 6) associated with this RecRoI

Definition at line 120 of file RecMuonRoI.h.

120 { return m_thresholdNumber; }

◆ getThresholdValue()

unsigned int LVL1::RecMuonRoI::getThresholdValue ( ) const
inline

returns the Threshold Value (in GeV) associated with this RecRoI

Definition at line 123 of file RecMuonRoI.h.

123 { return m_thresholdValue; }

◆ padOverflow()

bool LVL1::RecMuonRoI::padOverflow ( ) const
inline

returns true if there were > 1 candidates in this pad

Definition at line 138 of file RecMuonRoI.h.

138 { return m_padOflFlag; }

◆ phi()

virtual double LVL1::RecMuonRoI::phi ( ) const
inlinevirtual

returns phi coord of ROI

Implements iRecCoordRoI.

Definition at line 114 of file RecMuonRoI.h.

114 { return m_phi; }

◆ roiWord()

virtual unsigned int LVL1::RecMuonRoI::roiWord ( ) const
inlinevirtual

returns roi word

Implements iRecCoordRoI.

Definition at line 102 of file RecMuonRoI.h.

102 { return m_roiWord; }

◆ sectorID()

unsigned int LVL1::RecMuonRoI::sectorID ( ) const
inline

returns sector ID ROI

Definition at line 111 of file RecMuonRoI.h.

111 { return m_sectorID; }

◆ sectorOverflow()

bool LVL1::RecMuonRoI::sectorOverflow ( ) const
inline

returns true if there were > 2 candidates in this sector

Definition at line 135 of file RecMuonRoI.h.

135 { return m_sectorOflFlag; }

◆ subsysID()

unsigned int LVL1::RecMuonRoI::subsysID ( ) const
inline

returns sub-system ID ROI (0=-z,1=+z)

Definition at line 108 of file RecMuonRoI.h.

108 { return m_subSysID; }

◆ sysID()

unsigned int LVL1::RecMuonRoI::sysID ( ) const
inline

returns system ID ROI (Barrel=0, Endcap=1, Forward=2)

Definition at line 105 of file RecMuonRoI.h.

105 { return m_sysID; }

Member Data Documentation

◆ m_eta

double LVL1::RecMuonRoI::m_eta { 0 }
private

eta value

Definition at line 199 of file RecMuonRoI.h.

◆ m_firstCandidateFlag

bool LVL1::RecMuonRoI::m_firstCandidateFlag { false }
private

flag indicating if this was the highest pt candidate in this sector - extracted from m_roiWord in the constructor

Definition at line 160 of file RecMuonRoI.h.

◆ m_overlap

unsigned int LVL1::RecMuonRoI::m_overlap { 0 }
private

the overlap information for this RoI extracted from m_roiWord in the constructor

Definition at line 184 of file RecMuonRoI.h.

◆ m_padOflFlag

bool LVL1::RecMuonRoI::m_padOflFlag { false }
private

flag indicating if there was more than 1 candidate in this pad - extracted from m_roiWord in the constructor

Definition at line 168 of file RecMuonRoI.h.

◆ m_phi

double LVL1::RecMuonRoI::m_phi { 0 }
private

phi value

Definition at line 202 of file RecMuonRoI.h.

◆ m_roiNumber

unsigned int LVL1::RecMuonRoI::m_roiNumber { 0 }
private

the RoI number of this RoI - extracted from m_roiWord in the constructor

Definition at line 180 of file RecMuonRoI.h.

◆ m_roiWord

unsigned int LVL1::RecMuonRoI::m_roiWord { 0 }
private

this is the actual format of the data sent from the LVL1 hardware.

See ATL-DAQ-99-015 for further explanation.

Definition at line 156 of file RecMuonRoI.h.

◆ m_sectorID

unsigned int LVL1::RecMuonRoI::m_sectorID { 0 }
private

the sector number for this RoI extracted from m_roiWord in the constructor

Definition at line 196 of file RecMuonRoI.h.

◆ m_sectorOflFlag

bool LVL1::RecMuonRoI::m_sectorOflFlag { false }
private

flag indicating if there were more than 2 candidates in this sector - extracted from m_roiWord in the constructor

Definition at line 164 of file RecMuonRoI.h.

◆ m_subSysID

unsigned int LVL1::RecMuonRoI::m_subSysID { 0 }
private

the subSystem ID for this RoI (0=-z,1=+z) extracted from m_roiWord in the constructor

Definition at line 192 of file RecMuonRoI.h.

◆ m_sysID

unsigned int LVL1::RecMuonRoI::m_sysID { 0 }
private

the system ID for this RoI (Barrel=0, Endcap=1, Forward=2) extracted from m_roiWord in the constructor

Definition at line 188 of file RecMuonRoI.h.

◆ m_thresholdNumber

unsigned int LVL1::RecMuonRoI::m_thresholdNumber { 0 }
private

the pt threshold number associated with this RoI - extracted from m_roiWord in the constructor

Definition at line 172 of file RecMuonRoI.h.

◆ m_thresholdValue

unsigned int LVL1::RecMuonRoI::m_thresholdValue { 0 }
private

The value of the threshold in GeV.

Extracted from supplied vector of TrigConf::TriggerThresholds

Definition at line 176 of file RecMuonRoI.h.


The documentation for this class was generated from the following files:
LVL1::RecMuonRoI::getBitMaskValue
unsigned int getBitMaskValue(const unsigned int *uintValue, const unsigned int mask)
a helper function to extract the value corresponding to a bit mask from a 32 bit unsigned int
Definition: RecMuonRoI.cxx:337
TrigConf::TriggerThresholdValue
Definition: TriggerThresholdValue.h:22
LVL1::TrigT1MuonRecRoiData
Definition: TrigT1MuonRecRoiData.h:10
plotBeamSpotCompare.x1
x1
Definition: plotBeamSpotCompare.py:216
LVL1::SectOflMask
@ SectOflMask
Definition: RecMuonRoI.h:52
LVL1::RecMuonRoI::subsysID
unsigned int subsysID() const
returns sub-system ID ROI (0=-z,1=+z)
Definition: RecMuonRoI.h:108
get_generator_info.result
result
Definition: get_generator_info.py:21
LVL1::RecMuonRoI::m_overlap
unsigned int m_overlap
the overlap information for this RoI extracted from m_roiWord in the constructor
Definition: RecMuonRoI.h:184
LVL1::RecMuonRoI::UNDEFINED
@ UNDEFINED
Candidate coming from the RPC.
Definition: RecMuonRoI.h:67
LVL1::CandidateVetoMask
@ CandidateVetoMask
Definition: RecMuonRoI.h:54
LVL1::TGCCandidateSignMask
@ TGCCandidateSignMask
Definition: RecMuonRoI.h:53
LVL1::RecMuonRoI::padOverflow
bool padOverflow() const
returns true if there were > 1 candidates in this pad
Definition: RecMuonRoI.h:138
LVL1::RecMuonRoI::m_sysID
unsigned int m_sysID
the system ID for this RoI (Barrel=0, Endcap=1, Forward=2) extracted from m_roiWord in the constructo...
Definition: RecMuonRoI.h:188
plotBeamSpotCompare.x2
x2
Definition: plotBeamSpotCompare.py:218
LVL1::RecMuonRoI::construct
void construct(unsigned int roIWord, const RecMuonRoiSvc *theRecRPCRoiSvc, const RecMuonRoiSvc *theRecTGCRoiSvc, const std::vector< TrigConf::TriggerThreshold * > *theMuonConfig)
Definition: RecMuonRoI.cxx:55
skel.it
it
Definition: skel.GENtoEVGEN.py:423
TrigConf::TriggerThresholdValue::ptcut
float ptcut() const
Definition: TriggerThresholdValue.h:45
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
LVL1::RecMuonRoI::m_roiNumber
unsigned int m_roiNumber
the RoI number of this RoI - extracted from m_roiWord in the constructor
Definition: RecMuonRoI.h:180
LVL1::TrigT1MuonRecRoiData::eta
double eta(void) const
Definition: TrigT1MuonRecRoiData.h:22
LVL1::RecMuonRoI::m_phi
double m_phi
phi value
Definition: RecMuonRoI.h:202
LVL1::RecMuonRoI::m_eta
double m_eta
eta value
Definition: RecMuonRoI.h:199
LVL1::SubSysIDMask
@ SubSysIDMask
Definition: RecMuonRoI.h:40
LVL1::RecMuonRoI::firstCandidate
bool firstCandidate() const
returns true if this was the highest pt candidate in this sector
Definition: RecMuonRoI.h:132
LVL1::RecMuonRoI::m_padOflFlag
bool m_padOflFlag
flag indicating if there was more than 1 candidate in this pad - extracted from m_roiWord in the cons...
Definition: RecMuonRoI.h:168
LVL1::RecMuonRoI::m_thresholdNumber
unsigned int m_thresholdNumber
the pt threshold number associated with this RoI - extracted from m_roiWord in the constructor
Definition: RecMuonRoI.h:172
LVL1::RecMuonRoI::m_subSysID
unsigned int m_subSysID
the subSystem ID for this RoI (0=-z,1=+z) extracted from m_roiWord in the constructor
Definition: RecMuonRoI.h:192
LVL1::RecMuonRoI::POSITIVE
@ POSITIVE
Positive (mu plus) candidate in the TGC.
Definition: RecMuonRoI.h:66
LVL1::RecMuonRoI::getThresholdNumber
unsigned int getThresholdNumber() const
returns the Threshold Number (1 to 6) associated with this RecRoI
Definition: RecMuonRoI.h:120
python.utils.AtlRunQueryLookup.mask
string mask
Definition: AtlRunQueryLookup.py:460
LVL1::BarrelRoIMask
@ BarrelRoIMask
Definition: RecMuonRoI.h:46
LVL1::FirsCandMask
@ FirsCandMask
Definition: RecMuonRoI.h:37
LVL1::SectNumEndcapMask
@ SectNumEndcapMask
Definition: RecMuonRoI.h:42
LVL1::RoIOvlMask
@ RoIOvlMask
Definition: RecMuonRoI.h:45
LVL1::EndcapRoIMask
@ EndcapRoIMask
Definition: RecMuonRoI.h:48
LVL1::RecMuonRoI::m_firstCandidateFlag
bool m_firstCandidateFlag
flag indicating if this was the highest pt candidate in this sector - extracted from m_roiWord in the...
Definition: RecMuonRoI.h:160
LVL1::RecMuonRoI::sectorID
unsigned int sectorID() const
returns sector ID ROI
Definition: RecMuonRoI.h:111
LVL1::ThresNumMask
@ ThresNumMask
Definition: RecMuonRoI.h:44
LVL1::RecMuonRoI::m_sectorID
unsigned int m_sectorID
the sector number for this RoI extracted from m_roiWord in the constructor
Definition: RecMuonRoI.h:196
LVL1::TrigT1MuonRecRoiData::phi
double phi(void) const
Definition: TrigT1MuonRecRoiData.h:23
LVL1::RecMuonRoI::m_thresholdValue
unsigned int m_thresholdValue
The value of the threshold in GeV.
Definition: RecMuonRoI.h:176
LVL1::PadOflMask
@ PadOflMask
Definition: RecMuonRoI.h:51
LVL1::ForwardRoIMask
@ ForwardRoIMask
Definition: RecMuonRoI.h:50
LVL1::RecMuonRoI::sysID
unsigned int sysID() const
returns system ID ROI (Barrel=0, Endcap=1, Forward=2)
Definition: RecMuonRoI.h:105
LVL1::SectorAddressMask
@ SectorAddressMask
Definition: RecMuonRoI.h:38
LVL1::RecMuonRoI::m_sectorOflFlag
bool m_sectorOflFlag
flag indicating if there were more than 2 candidates in this sector - extracted from m_roiWord in the...
Definition: RecMuonRoI.h:164
LVL1::EndcapOvlMask
@ EndcapOvlMask
Definition: RecMuonRoI.h:49
LVL1::SectNumForwardMask
@ SectNumForwardMask
Definition: RecMuonRoI.h:43
LVL1::BarrelOvlMask
@ BarrelOvlMask
Definition: RecMuonRoI.h:47
python.XMLReader.l1menu
l1menu
Definition: XMLReader.py:73
LVL1::RecMuonRoI::getRoINumber
unsigned int getRoINumber() const
return RoI number in hardware numbering scheme
Definition: RecMuonRoI.h:126
LVL1::RecMuonRoI::sectorOverflow
bool sectorOverflow() const
returns true if there were > 2 candidates in this sector
Definition: RecMuonRoI.h:135
TrigConf::TriggerThreshold
Definition: TriggerThreshold.h:20
LVL1::RecMuonRoI::getOverlap
unsigned int getOverlap() const
return Overlap in hardware numbering scheme
Definition: RecMuonRoI.h:129
LVL1::RecMuonRoI::NEGATIVE
@ NEGATIVE
Negative (mu minus) candidate in the TGC.
Definition: RecMuonRoI.h:65
LVL1::RecMuonRoI::m_roiWord
unsigned int m_roiWord
this is the actual format of the data sent from the LVL1 hardware.
Definition: RecMuonRoI.h:156
LVL1::SectNumBarrelMask
@ SectNumBarrelMask
Definition: RecMuonRoI.h:41
LVL1::SysIDMask
@ SysIDMask
Definition: RecMuonRoI.h:39