CMS 3D CMS Logo

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 }
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
L1RPCConeBuilder::TCompressedConVec
std::vector< TCompressedCon > TCompressedConVec
Definition: L1RPCConeBuilder.h:106
createJobs.tmp
tmp
align.sh
Definition: createJobs.py:716
L1RPCConeBuilder::getConVec
std::pair< TStripConVec::const_iterator, TStripConVec::const_iterator > getConVec(uint32_t det, unsigned char strip) const
Definition: L1RPCConeBuilder.cc:27
L1RPCConeBuilder::~L1RPCConeBuilder
virtual ~L1RPCConeBuilder()
Definition: L1RPCConeBuilder.cc:24
L1RPCConeBuilder::m_compressedConeConnectionMap
std::shared_ptr< TCompressedConMap > m_compressedConeConnectionMap
Definition: L1RPCConeBuilder.h:131
L1RPCConeBuilder::m_coneConnectionMap
std::shared_ptr< TConMap > m_coneConnectionMap
Definition: L1RPCConeBuilder.h:130
L1RPCConeBuilder::TStripConVec
std::vector< TStripCon > TStripConVec
Definition: L1RPCConeBuilder.h:43
L1RPCConeBuilder::L1RPCConeBuilder
L1RPCConeBuilder()
Definition: L1RPCConeBuilder.cc:17
L1RPCConeBuilder.h
L1RPCConeBuilder::getCompConVec
std::pair< TCompressedConVec::const_iterator, TCompressedConVec::const_iterator > getCompConVec(uint32_t det) const
Definition: L1RPCConeBuilder.cc:45