CMS 3D CMS Logo

L1RPCConeBuilder.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:     RPCObjects
00004 // Class  :     L1RPCConeBuilder
00005 // 
00006 // Implementation:
00007 //     <Notes on implementation>
00008 //
00009 // Original Author:  Tomasz Frueboes
00010 //         Created:  Fri Feb 22 12:26:49 CET 2008
00011 // $Id: L1RPCConeBuilder.cc,v 1.3 2008/06/05 14:45:48 mmaggi Exp $
00012 //
00013 
00014 #include "CondFormats/RPCObjects/interface/L1RPCConeBuilder.h"
00015 
00016 
00017 
00018 //
00019 L1RPCConeBuilder::L1RPCConeBuilder() :
00020       m_firstTower(0), 
00021       m_lastTower(-1)
00022 {
00023 
00024 }
00025 
00026 // L1RPCConeBuilder::L1RPCConeBuilder(const L1RPCConeBuilder& rhs)
00027 // {
00028 //    // do actual copying here;
00029 // }
00030 
00031 L1RPCConeBuilder::~L1RPCConeBuilder()
00032 {
00033 }
00034 
00035 std::pair<L1RPCConeBuilder::TStripConVec::const_iterator, L1RPCConeBuilder::TStripConVec::const_iterator> 
00036     L1RPCConeBuilder::getConVec(uint32_t det, unsigned char strip) const
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 }
00053 
00054 /*std::pair<TStripConVec::const_iterator, TStripConVec::const_iterator> 
00055     L1RPCConeBuilder::getConVec(uint32_t det, unsigned char strip) const {
00056   return std::make_pair(m_coneConnectionMap[det][strip].begin(),m_coneConnectionMap[det][strip].end());    
00057     
00058 }*/
00059 

Generated on Tue Jun 9 17:26:45 2009 for CMSSW by  doxygen 1.5.4