33 LogTrace(
"TkLayerMap") <<
" TkLayerMap::constructor for layer " <<
layer;
34 uint32_t nStringExt, nRod;
35 std::vector<uint32_t> SingleExtString;
39 SingleExtString.insert(SingleExtString.begin(), 8, 0);
40 SingleExtString.insert(SingleExtString.begin() + 8, 7, 1);
41 SingleExtString.insert(SingleExtString.begin() + 15, 8, 2);
42 SingleExtString.insert(SingleExtString.begin() + 23, 7, 3);
48 -1. * (nStringExt + 1.),
60 SingleExtString.insert(SingleExtString.begin(), 10, 0);
61 SingleExtString.insert(SingleExtString.begin() + 10, 9, 1);
62 SingleExtString.insert(SingleExtString.begin() + 19, 10, 2);
63 SingleExtString.insert(SingleExtString.begin() + 29, 9, 3);
69 -1. * (nStringExt + 1.),
81 SingleExtString.insert(SingleExtString.begin(), 23, 0);
82 SingleExtString.insert(SingleExtString.begin() + 23, 23, 1);
84 layer, 12, -6., 6., nStringExt, 0, nStringExt, tTopo, tkDetIdList, SingleExtString, {}, {}, {}, nStringExt);
88 SingleExtString.insert(SingleExtString.begin(), 14, 0);
89 SingleExtString.insert(SingleExtString.begin() + 14, 14, 1);
90 SingleExtString.insert(SingleExtString.begin() + 28, 14, 2);
91 SingleExtString.insert(SingleExtString.begin() + 42, 14, 3);
93 layer, 12, -6., 6., nStringExt, 0, nStringExt, tTopo, tkDetIdList, SingleExtString, {}, {}, {}, nStringExt);
98 return TkLayerMap(layer, 7, -7., 0., 40, 0., 40., tTopo, tkDetIdList, {});
103 return TkLayerMap(layer, 7, 0., 7., 40, 0., 40., tTopo, tkDetIdList, {});
143 return TkLayerMap(layer, 12, -6., 6., nRod, 0., 1. * nRod, tTopo, tkDetIdList, {}, {}, {}, {}, 0, nRod);
147 return TkLayerMap(layer, 12, -6., 6., nRod, 0., 1. * nRod, tTopo, tkDetIdList, {}, {}, {}, {}, 0, nRod);
151 return TkLayerMap(layer, 12, -6., 6., nRod, 0., 1. * nRod, tTopo, tkDetIdList, {}, {}, {}, {}, 0, nRod);
155 return TkLayerMap(layer, 12, -6., 6., nRod, 0., 1. * nRod, tTopo, tkDetIdList, {}, {}, {}, {}, 0, nRod);
158 std::vector<uint32_t> modulesInRingFront = {0, 2, 2, 3, 4, 2, 4, 5};
159 std::vector<uint32_t> modulesInRingBack = {0, 1, 1, 2, 3, 3, 3, 5};
176 {0, 1, 4, 7, 9, 11, 14, 16});
193 {0, 0, 1, 4, 6, 8, 11, 13});
209 {0, 0, 0, 1, 3, 5, 8, 10});
224 {0, 0, 0, 0, 1, 3, 6, 8});
241 {0, 1, 4, 7, 9, 11, 14, 16});
258 {0, 0, 1, 4, 6, 8, 11, 13});
274 {0, 0, 0, 1, 3, 5, 8, 10});
289 {0, 0, 0, 0, 1, 3, 6, 8});
301 auto tkDetMap = std::make_unique<TkDetMap>(&tTopo);
303 LogTrace(
"TkDetMap") <<
"TkDetMap::constructor ";
306 tkDetMap->setLayerMap(layer, makeTkLayerMap(layer, &tTopo, TkDetIdList));
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
TkDetMapESProducer(const edm::ParameterSet &)
constexpr std::array< uint8_t, layerIndexSize > layer
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