32 LogTrace(
"TkLayerMap") <<
" TkLayerMap::constructor for layer " << layer;
33 uint32_t nStringExt, nRod;
34 std::vector<uint32_t> SingleExtString;
38 SingleExtString.insert(SingleExtString.begin(), 8, 0);
39 SingleExtString.insert(SingleExtString.begin() + 8, 7, 1);
40 SingleExtString.insert(SingleExtString.begin() + 15, 8, 2);
41 SingleExtString.insert(SingleExtString.begin() + 23, 7, 3);
47 -1. * (nStringExt + 1.),
59 SingleExtString.insert(SingleExtString.begin(), 10, 0);
60 SingleExtString.insert(SingleExtString.begin() + 10, 9, 1);
61 SingleExtString.insert(SingleExtString.begin() + 19, 10, 2);
62 SingleExtString.insert(SingleExtString.begin() + 29, 9, 3);
68 -1. * (nStringExt + 1.),
80 SingleExtString.insert(SingleExtString.begin(), 23, 0);
81 SingleExtString.insert(SingleExtString.begin() + 23, 23, 1);
83 layer, 12, -6., 6., nStringExt, 0, nStringExt, tTopo, tkDetIdList, SingleExtString, {}, {}, {}, nStringExt);
87 SingleExtString.insert(SingleExtString.begin(), 14, 0);
88 SingleExtString.insert(SingleExtString.begin() + 14, 14, 1);
89 SingleExtString.insert(SingleExtString.begin() + 28, 14, 2);
90 SingleExtString.insert(SingleExtString.begin() + 42, 14, 3);
92 layer, 12, -6., 6., nStringExt, 0, nStringExt, tTopo, tkDetIdList, SingleExtString, {}, {}, {}, nStringExt);
97 return TkLayerMap(layer, 7, -7., 0., 40, 0., 40., tTopo, tkDetIdList, {});
102 return TkLayerMap(layer, 7, 0., 7., 40, 0., 40., tTopo, tkDetIdList, {});
142 return TkLayerMap(layer, 12, -6., 6., nRod, 0., 1. * nRod, tTopo, tkDetIdList, {}, {}, {}, {}, 0, nRod);
146 return TkLayerMap(layer, 12, -6., 6., nRod, 0., 1. * nRod, tTopo, tkDetIdList, {}, {}, {}, {}, 0, nRod);
150 return TkLayerMap(layer, 12, -6., 6., nRod, 0., 1. * nRod, tTopo, tkDetIdList, {}, {}, {}, {}, 0, nRod);
154 return TkLayerMap(layer, 12, -6., 6., nRod, 0., 1. * nRod, tTopo, tkDetIdList, {}, {}, {}, {}, 0, nRod);
157 std::vector<uint32_t> modulesInRingFront = {0, 2, 2, 3, 4, 2, 4, 5};
158 std::vector<uint32_t> modulesInRingBack = {0, 1, 1, 2, 3, 3, 3, 5};
175 {0, 1, 4, 7, 9, 11, 14, 16});
192 {0, 0, 1, 4, 6, 8, 11, 13});
208 {0, 0, 0, 1, 3, 5, 8, 10});
223 {0, 0, 0, 0, 1, 3, 6, 8});
240 {0, 1, 4, 7, 9, 11, 14, 16});
257 {0, 0, 1, 4, 6, 8, 11, 13});
273 {0, 0, 0, 1, 3, 5, 8, 10});
288 {0, 0, 0, 0, 1, 3, 6, 8});
300 auto tkDetMap = std::make_unique<TkDetMap>(&tTopo);
302 LogTrace(
"TkDetMap") <<
"TkDetMap::constructor ";
305 tkDetMap->setLayerMap(layer, makeTkLayerMap(layer, &tTopo, TkDetIdList));
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
TkDetMapESProducer(const edm::ParameterSet &)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
const DepRecordT getRecord() const
std::vector< uint32_t > getSiStripDetIds(const GeometricDet &geomDet)
edm::ESGetToken< GeometricDet, IdealGeometryRecord > geomDetToken_
std::unique_ptr< TkDetMap > produce(const TrackerTopologyRcd &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
~TkDetMapESProducer() override