CMS 3D CMS Logo

L1RPCConeBuilder Class Reference

Description: <one line="" class="" summary>="">. More...

#include <CondFormats/RPCObjects/interface/L1RPCConeBuilder.h>

List of all members.

Public Types

typedef std::map< uint32_t,
TStrip2ConVec
TConMap
typedef std::vector< TTowerListTHWplaneToLP
typedef std::vector< TTowerListTHWplaneToTower
typedef std::vector< intTLogPlaneSize
typedef std::vector< intTLPList
typedef std::vector
< TLogPlaneSize
TLPSizesInTowers
typedef std::vector
< THWplaneToTower
TRingsToLP
typedef std::vector
< THWplaneToTower
TRingsToTowers
typedef std::map< unsigned
char, TStripConVec
TStrip2ConVec
typedef std::vector< TStripConTStripConVec
typedef std::vector< intTTowerList

Public Member Functions

std::pair
< TStripConVec::const_iterator,
TStripConVec::const_iterator > 
getConVec (uint32_t det, unsigned char strip) const
const TLPSizesInTowersgetLPSizes () const
 L1RPCConeBuilder ()
void setConeConnectionMap (const TConMap &connMap)
void setFirstTower (int tow)
void setLastTower (int tow)
void setLPSizeForTowers (const TLPSizesInTowers &lpSizes)
void setRingsToLP (const TRingsToLP &RingsToLP)
void setRingsToTowers (const TRingsToTowers &RingsToTowers)
virtual ~L1RPCConeBuilder ()

Private Attributes

TConMap m_coneConnectionMap
int m_firstTower
int m_lastTower
TLPSizesInTowers m_LPSizesInTowers
TRingsToLP m_RingsToLP
TRingsToTowers m_RingsToTowers

Classes

struct  TStripCon


Detailed Description

Description: <one line="" class="" summary>="">.

Usage: <usage>

Definition at line 29 of file L1RPCConeBuilder.h.


Member Typedef Documentation

typedef std::map<uint32_t, TStrip2ConVec> L1RPCConeBuilder::TConMap

Definition at line 58 of file L1RPCConeBuilder.h.

typedef std::vector<TTowerList > L1RPCConeBuilder::THWplaneToLP

Definition at line 45 of file L1RPCConeBuilder.h.

typedef std::vector<TTowerList > L1RPCConeBuilder::THWplaneToTower

Definition at line 39 of file L1RPCConeBuilder.h.

typedef std::vector<int> L1RPCConeBuilder::TLogPlaneSize

Definition at line 34 of file L1RPCConeBuilder.h.

typedef std::vector<int> L1RPCConeBuilder::TLPList

Definition at line 44 of file L1RPCConeBuilder.h.

typedef std::vector<TLogPlaneSize > L1RPCConeBuilder::TLPSizesInTowers

Definition at line 35 of file L1RPCConeBuilder.h.

typedef std::vector<THWplaneToTower > L1RPCConeBuilder::TRingsToLP

Definition at line 46 of file L1RPCConeBuilder.h.

typedef std::vector<THWplaneToTower > L1RPCConeBuilder::TRingsToTowers

Definition at line 40 of file L1RPCConeBuilder.h.

typedef std::map<unsigned char, TStripConVec> L1RPCConeBuilder::TStrip2ConVec

Definition at line 57 of file L1RPCConeBuilder.h.

typedef std::vector<TStripCon> L1RPCConeBuilder::TStripConVec

Definition at line 56 of file L1RPCConeBuilder.h.

typedef std::vector<int> L1RPCConeBuilder::TTowerList

Definition at line 38 of file L1RPCConeBuilder.h.


Constructor & Destructor Documentation

L1RPCConeBuilder::L1RPCConeBuilder (  ) 

Definition at line 19 of file L1RPCConeBuilder.cc.

00019                                    :
00020       m_firstTower(0), 
00021       m_lastTower(-1)
00022 {
00023 
00024 }

L1RPCConeBuilder::~L1RPCConeBuilder (  )  [virtual]

Definition at line 31 of file L1RPCConeBuilder.cc.

00032 {
00033 }


Member Function Documentation

std::pair< L1RPCConeBuilder::TStripConVec::const_iterator, L1RPCConeBuilder::TStripConVec::const_iterator > L1RPCConeBuilder::getConVec ( uint32_t  det,
unsigned char  strip 
) const

Definition at line 36 of file L1RPCConeBuilder.cc.

References it1, and m_coneConnectionMap.

00037 {
00038 
00039   L1RPCConeBuilder::TStripConVec::const_iterator itBeg = L1RPCConeBuilder::TStripConVec().end();
00040   L1RPCConeBuilder::TStripConVec::const_iterator itEnd = itBeg;
00041   
00042   TConMap::const_iterator it1 = m_coneConnectionMap.find(det);
00043   if (it1 != m_coneConnectionMap.end()){
00044     TStrip2ConVec::const_iterator it2 = it1->second.find(strip);
00045     if (it2 != it1->second.end()){
00046       itBeg = it2->second.begin();
00047       itEnd = it2->second.end();
00048     }
00049   } 
00050   
00051   return std::make_pair(itBeg,itEnd);
00052 }

const TLPSizesInTowers& L1RPCConeBuilder::getLPSizes (  )  const [inline]

Definition at line 85 of file L1RPCConeBuilder.h.

00085 { return m_LPSizesInTowers;};

void L1RPCConeBuilder::setConeConnectionMap ( const TConMap connMap  )  [inline]

Definition at line 67 of file L1RPCConeBuilder.h.

References m_coneConnectionMap.

00067 { m_coneConnectionMap = connMap;};

void L1RPCConeBuilder::setFirstTower ( int  tow  )  [inline]

Definition at line 82 of file L1RPCConeBuilder.h.

References m_firstTower.

00082 {m_firstTower = tow;};

void L1RPCConeBuilder::setLastTower ( int  tow  )  [inline]

Definition at line 83 of file L1RPCConeBuilder.h.

References m_lastTower.

00083 {m_lastTower = tow;};

void L1RPCConeBuilder::setLPSizeForTowers ( const TLPSizesInTowers lpSizes  )  [inline]

Definition at line 63 of file L1RPCConeBuilder.h.

References m_LPSizesInTowers.

00063 { m_LPSizesInTowers = lpSizes;};

void L1RPCConeBuilder::setRingsToLP ( const TRingsToLP RingsToLP  )  [inline]

Definition at line 65 of file L1RPCConeBuilder.h.

References m_RingsToLP.

00065 {m_RingsToLP = RingsToLP;};

void L1RPCConeBuilder::setRingsToTowers ( const TRingsToTowers RingsToTowers  )  [inline]

Definition at line 64 of file L1RPCConeBuilder.h.

References m_RingsToTowers.

00064 { m_RingsToTowers = RingsToTowers;};


Member Data Documentation

TConMap L1RPCConeBuilder::m_coneConnectionMap [private]

Definition at line 103 of file L1RPCConeBuilder.h.

Referenced by getConVec(), and setConeConnectionMap().

int L1RPCConeBuilder::m_firstTower [private]

Definition at line 85 of file L1RPCConeBuilder.h.

Referenced by setFirstTower().

int L1RPCConeBuilder::m_lastTower [private]

Definition at line 98 of file L1RPCConeBuilder.h.

Referenced by setLastTower().

TLPSizesInTowers L1RPCConeBuilder::m_LPSizesInTowers [private]

Definition at line 99 of file L1RPCConeBuilder.h.

Referenced by setLPSizeForTowers().

TRingsToLP L1RPCConeBuilder::m_RingsToLP [private]

Definition at line 101 of file L1RPCConeBuilder.h.

Referenced by setRingsToLP().

TRingsToTowers L1RPCConeBuilder::m_RingsToTowers [private]

Definition at line 100 of file L1RPCConeBuilder.h.

Referenced by setRingsToTowers().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:26:58 2009 for CMSSW by  doxygen 1.5.4