#include <CondFormats/RPCObjects/interface/L1RPCConeBuilder.h>
Classes | |
struct | TCompressedCon |
struct | TStripCon |
Public Types | |
typedef std::map< uint32_t, TCompressedConVec > | TCompressedConMap |
typedef std::vector < TCompressedCon > | TCompressedConVec |
typedef std::map< uint32_t, TStrip2ConVec > | TConMap |
typedef std::map< unsigned char, TStripConVec > | TStrip2ConVec |
typedef std::vector< TStripCon > | TStripConVec |
Public Member Functions | |
std::pair < TCompressedConVec::const_iterator, TCompressedConVec::const_iterator > | getCompConVec (uint32_t det) const |
std::pair < TStripConVec::const_iterator, TStripConVec::const_iterator > | getConVec (uint32_t det, unsigned char strip) const |
L1RPCConeBuilder () | |
void | setCompressedConeConnectionMap (const boost::shared_ptr< TCompressedConMap > cmpConnMap) |
void | setConeConnectionMap (const boost::shared_ptr< TConMap > connMap) |
void | setFirstTower (int tow) |
void | setLastTower (int tow) |
virtual | ~L1RPCConeBuilder () |
Private Attributes | |
boost::shared_ptr < TCompressedConMap > | m_compressedConeConnectionMap |
boost::shared_ptr< TConMap > | m_coneConnectionMap |
int | m_firstTower |
int | m_lastTower |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 30 of file L1RPCConeBuilder.h.
typedef std::map<uint32_t, TCompressedConVec> L1RPCConeBuilder::TCompressedConMap |
Definition at line 106 of file L1RPCConeBuilder.h.
typedef std::vector<TCompressedCon> L1RPCConeBuilder::TCompressedConVec |
Definition at line 105 of file L1RPCConeBuilder.h.
typedef std::map<uint32_t, TStrip2ConVec> L1RPCConeBuilder::TConMap |
Definition at line 45 of file L1RPCConeBuilder.h.
typedef std::map<unsigned char, TStripConVec> L1RPCConeBuilder::TStrip2ConVec |
Definition at line 44 of file L1RPCConeBuilder.h.
typedef std::vector<TStripCon> L1RPCConeBuilder::TStripConVec |
Definition at line 43 of file L1RPCConeBuilder.h.
L1RPCConeBuilder::L1RPCConeBuilder | ( | ) |
Definition at line 19 of file L1RPCConeBuilder.cc.
: m_firstTower(0), m_lastTower(-1) { }
L1RPCConeBuilder::~L1RPCConeBuilder | ( | ) | [virtual] |
Definition at line 31 of file L1RPCConeBuilder.cc.
{ }
std::pair< L1RPCConeBuilder::TCompressedConVec::const_iterator, L1RPCConeBuilder::TCompressedConVec::const_iterator > L1RPCConeBuilder::getCompConVec | ( | uint32_t | det | ) | const |
Definition at line 55 of file L1RPCConeBuilder.cc.
References m_compressedConeConnectionMap.
{ L1RPCConeBuilder::TCompressedConVec::const_iterator itBeg = L1RPCConeBuilder::TCompressedConVec().end(); L1RPCConeBuilder::TCompressedConVec::const_iterator itEnd = itBeg; if(m_compressedConeConnectionMap->find(det)!=m_compressedConeConnectionMap->end()){ itBeg = m_compressedConeConnectionMap->find(det)->second.begin(); itEnd = m_compressedConeConnectionMap->find(det)->second.end(); } return std::make_pair(itBeg,itEnd); }
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 m_coneConnectionMap.
{ L1RPCConeBuilder::TStripConVec::const_iterator itBeg = L1RPCConeBuilder::TStripConVec().end(); L1RPCConeBuilder::TStripConVec::const_iterator itEnd = itBeg; TConMap::const_iterator it1 = m_coneConnectionMap->find(det); if (it1 != m_coneConnectionMap->end()){ TStrip2ConVec::const_iterator it2 = it1->second.find(strip); if (it2 != it1->second.end()){ itBeg = it2->second.begin(); itEnd = it2->second.end(); } } return std::make_pair(itBeg,itEnd); }
void L1RPCConeBuilder::setCompressedConeConnectionMap | ( | const boost::shared_ptr< TCompressedConMap > | cmpConnMap | ) | [inline] |
Definition at line 117 of file L1RPCConeBuilder.h.
References m_compressedConeConnectionMap.
{ m_compressedConeConnectionMap = cmpConnMap; };
void L1RPCConeBuilder::setConeConnectionMap | ( | const boost::shared_ptr< TConMap > | connMap | ) | [inline] |
Definition at line 114 of file L1RPCConeBuilder.h.
References m_coneConnectionMap.
{ m_coneConnectionMap = connMap;};
void L1RPCConeBuilder::setFirstTower | ( | int | tow | ) | [inline] |
void L1RPCConeBuilder::setLastTower | ( | int | tow | ) | [inline] |
boost::shared_ptr< TCompressedConMap > L1RPCConeBuilder::m_compressedConeConnectionMap [private] |
Definition at line 140 of file L1RPCConeBuilder.h.
Referenced by getCompConVec(), and setCompressedConeConnectionMap().
boost::shared_ptr< TConMap > L1RPCConeBuilder::m_coneConnectionMap [private] |
Definition at line 139 of file L1RPCConeBuilder.h.
Referenced by getConVec(), and setConeConnectionMap().
int L1RPCConeBuilder::m_firstTower [private] |
Definition at line 130 of file L1RPCConeBuilder.h.
Referenced by setFirstTower().
int L1RPCConeBuilder::m_lastTower [private] |
Definition at line 137 of file L1RPCConeBuilder.h.
Referenced by setLastTower().