CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1RPCConeBuilder.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: RPCObjects
4 // Class : L1RPCConeBuilder
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author: Tomasz Frueboes
10 // Created: Fri Feb 22 12:26:49 CET 2008
11 // $Id: L1RPCConeBuilder.cc,v 1.4 2008/12/12 13:57:14 fruboes Exp $
12 //
13 
15 
16 //
17 L1RPCConeBuilder::L1RPCConeBuilder() : m_firstTower(0), m_lastTower(-1) {}
18 
19 // L1RPCConeBuilder::L1RPCConeBuilder(const L1RPCConeBuilder& rhs)
20 // {
21 // // do actual copying here;
22 // }
23 
25 
26 std::pair<L1RPCConeBuilder::TStripConVec::const_iterator, L1RPCConeBuilder::TStripConVec::const_iterator>
27 L1RPCConeBuilder::getConVec(uint32_t det, unsigned char strip) const {
29  L1RPCConeBuilder::TStripConVec::const_iterator itBeg = tmp.end();
30  L1RPCConeBuilder::TStripConVec::const_iterator itEnd = itBeg;
31 
32  TConMap::const_iterator it1 = m_coneConnectionMap->find(det);
33  if (it1 != m_coneConnectionMap->end()) {
34  TStrip2ConVec::const_iterator it2 = it1->second.find(strip);
35  if (it2 != it1->second.end()) {
36  itBeg = it2->second.begin();
37  itEnd = it2->second.end();
38  }
39  }
40 
41  return std::make_pair(itBeg, itEnd);
42 }
43 
44 std::pair<L1RPCConeBuilder::TCompressedConVec::const_iterator, L1RPCConeBuilder::TCompressedConVec::const_iterator>
45 L1RPCConeBuilder::getCompConVec(uint32_t det) const {
47  L1RPCConeBuilder::TCompressedConVec::const_iterator itBeg = tmp.end();
48  L1RPCConeBuilder::TCompressedConVec::const_iterator itEnd = itBeg;
49 
51  itBeg = m_compressedConeConnectionMap->find(det)->second.begin();
52  itEnd = m_compressedConeConnectionMap->find(det)->second.end();
53  }
54 
55  return std::make_pair(itBeg, itEnd);
56 }
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
std::vector< TCompressedCon > TCompressedConVec
std::shared_ptr< TCompressedConMap > m_compressedConeConnectionMap
virtual ~L1RPCConeBuilder()
std::shared_ptr< TConMap > m_coneConnectionMap
tmp
align.sh
Definition: createJobs.py:716
std::vector< TStripCon > TStripConVec