CMS 3D CMS Logo

RPCConst::l1RpcConeCrdnts Struct Reference

The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment. More...

#include <L1Trigger/RPCTrigger/interface/RPCConst.h>

List of all members.

Public Member Functions

int getSegmentNum ()
 l1RpcConeCrdnts (int m_tower, int logSector, int logSegment)
 l1RpcConeCrdnts ()
bool operator< (const l1RpcConeCrdnts &cone) const
bool operator== (const l1RpcConeCrdnts &cone) const

Public Attributes

int m_LogSector
int m_LogSegment
int m_Tower


Detailed Description

The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.

Definition at line 119 of file RPCConst.h.


Constructor & Destructor Documentation

RPCConst::l1RpcConeCrdnts::l1RpcConeCrdnts (  )  [inline]

Definition at line 124 of file RPCConst.h.

References m_LogSector, m_LogSegment, and m_Tower.

00124                         {
00125         m_Tower = 0;
00126         m_LogSector = 0;
00127         m_LogSegment = 0;
00128       }

RPCConst::l1RpcConeCrdnts::l1RpcConeCrdnts ( int  m_tower,
int  logSector,
int  logSegment 
) [inline]

Definition at line 130 of file RPCConst.h.

References m_LogSector, m_LogSegment, and m_Tower.

00130                                                                    {
00131         m_Tower = m_tower;
00132         m_LogSector = logSector ;
00133         m_LogSegment = logSegment;
00134       }


Member Function Documentation

int RPCConst::l1RpcConeCrdnts::getSegmentNum (  )  [inline]

Definition at line 136 of file RPCConst.h.

References m_LogSector, and m_LogSegment.

00136                           {
00137         return m_LogSector * 12 + m_LogSegment;
00138       }

bool RPCConst::l1RpcConeCrdnts::operator< ( const l1RpcConeCrdnts cone  )  const

Definition at line 266 of file RPCConst.cc.

References m_LogSector, m_LogSegment, and m_Tower.

00266                                                                           {
00267   if(m_Tower != cone.m_Tower)
00268     return (m_Tower < cone.m_Tower);
00269   if(m_LogSector != cone.m_LogSector)
00270     return (m_LogSector < cone.m_LogSector);
00271   if(m_LogSegment != cone.m_LogSegment)
00272     return (m_LogSegment < cone.m_LogSegment);
00273 
00274   return false;
00275 }

bool RPCConst::l1RpcConeCrdnts::operator== ( const l1RpcConeCrdnts cone  )  const

Definition at line 277 of file RPCConst.cc.

References m_LogSector, m_LogSegment, and m_Tower.

00277                                                                            {
00278   if(m_Tower != cone.m_Tower)
00279     return false;
00280   if(m_LogSector != cone.m_LogSector)
00281     return false;
00282   if(m_LogSegment != cone.m_LogSegment)
00283     return false;
00284 
00285   return true;
00286 }


Member Data Documentation

int RPCConst::l1RpcConeCrdnts::m_LogSector

Definition at line 121 of file RPCConst.h.

Referenced by RPCLogCone::addLogHit(), RPCLogCone::getLogSector(), RPCMuon::getLogSector(), RPCLogHit::getLogSector(), RPCPacManager< RPCPacData >::getPac(), RPCBasicTrigConfig::getPac(), RPCPatternsParser::getPatternsVec(), getSegmentNum(), RPCBasicTrigConfig::getTCNum(), l1RpcConeCrdnts(), operator<(), operator==(), RPCLogHit::RPCLogHit(), RPCPacBase::RPCPacBase(), RPCPacData::RPCPacData(), RPCTriggerBoard::RPCTriggerBoard(), RPCPacBase::setCurrentPosition(), RPCPatternsParser::startElement(), and RPCLogCone::toString().

int RPCConst::l1RpcConeCrdnts::m_LogSegment

Definition at line 122 of file RPCConst.h.

Referenced by RPCLogCone::addLogHit(), RPCMuon::getLogSegment(), RPCLogHit::getLogSegment(), RPCLogCone::getLogSegment(), RPCPacManager< RPCPacData >::getPac(), RPCBasicTrigConfig::getPac(), RPCPatternsParser::getPatternsVec(), getSegmentNum(), l1RpcConeCrdnts(), operator<(), operator==(), RPCLogHit::RPCLogHit(), RPCPacBase::RPCPacBase(), RPCPacData::RPCPacData(), RPCTriggerBoard::RPCTriggerBoard(), RPCPacBase::setCurrentPosition(), RPCPatternsParser::startElement(), and RPCLogCone::toString().

int RPCConst::l1RpcConeCrdnts::m_Tower

Definition at line 120 of file RPCConst.h.

Referenced by RPCLogCone::addLogHit(), RPCLogCone::getFiredPlanesCnt(), RPCPacManager< RPCPacData >::getPac(), RPCBasicTrigConfig::getPac(), RPCPatternsParser::getPatternsVec(), RPCBasicTrigConfig::getTBNum(), RPCMuon::getTower(), RPCLogCone::getTower(), RPCLogHit::getTower(), RPCBasicTrigConfig::getTowerNumOnTb(), l1RpcConeCrdnts(), operator<(), operator==(), RPCLogCone::possibleTrigger(), RPCLogHit::RPCLogHit(), RPCPacBase::RPCPacBase(), RPCPacData::RPCPacData(), RPCTriggerBoard::RPCTriggerBoard(), RPCPac::runEnergeticPatternsGroups(), RPCPac::runTrackPatternsGroup(), RPCPacBase::setCurrentPosition(), RPCLogCone::shift(), RPCPatternsParser::startElement(), and RPCLogCone::toString().


The documentation for this struct was generated from the following files:
Generated on Tue Jun 9 18:30:54 2009 for CMSSW by  doxygen 1.5.4