31 LogTrace(
"TkLayerMap") <<
" TkLayerMap::constructor for layer " << layer;
32 uint32_t nStringExt, nRod;
33 std::vector<uint32_t> SingleExtString;
37 SingleExtString.insert(SingleExtString.begin(),8,0);
38 SingleExtString.insert(SingleExtString.begin()+8,7,1);
39 SingleExtString.insert(SingleExtString.begin()+15,8,2);
40 SingleExtString.insert(SingleExtString.begin()+23,7,3);
41 return TkLayerMap(layer, 12, -6., 6., 2*(nStringExt+1), -1.*(nStringExt+1.), (nStringExt+1), tTopo, tkDetIdList,
42 SingleExtString, {}, {}, {}, nStringExt);
46 SingleExtString.insert(SingleExtString.begin(),10,0);
47 SingleExtString.insert(SingleExtString.begin()+10,9,1);
48 SingleExtString.insert(SingleExtString.begin()+19,10,2);
49 SingleExtString.insert(SingleExtString.begin()+29,9,3);
50 return TkLayerMap(layer, 12, -6., 6., 2*(nStringExt+1), -1.*(nStringExt+1.), (nStringExt+1), tTopo, tkDetIdList,
51 SingleExtString, {}, {}, {}, nStringExt);
55 SingleExtString.insert(SingleExtString.begin(),23,0);
56 SingleExtString.insert(SingleExtString.begin()+23,23,1);
57 return TkLayerMap(layer, 12, -6., 6., nStringExt, 0, nStringExt, tTopo, tkDetIdList,
58 SingleExtString, {}, {}, {}, nStringExt);
62 SingleExtString.insert(SingleExtString.begin(),14,0);
63 SingleExtString.insert(SingleExtString.begin()+14,14,1);
64 SingleExtString.insert(SingleExtString.begin()+28,14,2);
65 SingleExtString.insert(SingleExtString.begin()+42,14,3);
66 return TkLayerMap(layer, 12, -6., 6., nStringExt, 0, nStringExt, tTopo, tkDetIdList,
67 SingleExtString, {}, {}, {}, nStringExt);
72 return TkLayerMap(layer, 7, -7., 0., 40, 0., 40., tTopo, tkDetIdList, {});
77 return TkLayerMap(layer, 7, 0., 7., 40, 0., 40., tTopo, tkDetIdList, {});
81 return TkLayerMap(layer, 12, -6., 6., 2*(nRod+1), -1.*(nRod+1.), (nRod+1.), tTopo, tkDetIdList,
82 {}, {}, {}, {}, 0, nRod);
86 return TkLayerMap(layer, 12, -6., 6., 2*(nRod+1), -1.*(nRod+1.), (nRod+1.), tTopo, tkDetIdList,
87 {}, {}, {}, {}, 0, nRod);
91 return TkLayerMap(layer, 12, -6., 6., nRod, 0., 1.*nRod, tTopo, tkDetIdList,
92 {}, {}, {}, {}, 0, nRod);
96 return TkLayerMap(layer, 12, -6., 6., nRod, 0., 1.*nRod, tTopo, tkDetIdList,
97 {}, {}, {}, {}, 0, nRod);
101 return TkLayerMap(layer, 12, -6., 6., nRod, 0., 1.*nRod, tTopo, tkDetIdList,
102 {}, {}, {}, {}, 0, nRod);
106 return TkLayerMap(layer, 12, -6., 6., nRod, 0., 1.*nRod, tTopo, tkDetIdList,
107 {}, {}, {}, {}, 0, nRod);
110 std::vector<uint32_t> modulesInRingFront = { 0, 2, 2, 3, 4, 2, 4, 5 };
111 std::vector<uint32_t> modulesInRingBack = { 0, 1, 1, 2, 3, 3, 3, 5 };
116 return TkLayerMap(layer, 16, -16., 0., 80, 0., 80., tTopo, tkDetIdList,
117 {}, modulesInRingFront, modulesInRingBack, { 0, 1, 4, 7, 9, 11, 14, 16 });
122 return TkLayerMap(layer, 13, -16., -3., 80, 0., 80., tTopo, tkDetIdList,
123 {}, modulesInRingFront, modulesInRingBack, { 0, 0, 1, 4, 6, 8, 11, 13 });
127 return TkLayerMap(layer, 10, -16., -6., 80, 0., 80., tTopo, tkDetIdList,
128 {}, modulesInRingFront, modulesInRingBack, { 0, 0, 0, 1, 3, 5, 8, 10 });
131 return TkLayerMap(layer, 8, -16., -8., 80, 0., 80., tTopo, tkDetIdList,
132 {}, modulesInRingFront, modulesInRingBack, { 0, 0, 0, 0, 1, 3, 6, 8 });
137 return TkLayerMap(layer, 16, 0., 16., 80, 0., 80., tTopo, tkDetIdList,
138 {}, modulesInRingFront, modulesInRingBack, { 0, 1, 4, 7, 9, 11, 14, 16 });
143 return TkLayerMap(layer, 13, 3., 16., 80, 0., 80., tTopo, tkDetIdList,
144 {}, modulesInRingFront, modulesInRingBack, { 0, 0, 1, 4, 6, 8, 11, 13 });
148 return TkLayerMap(layer, 10, 6., 16., 80, 0., 80., tTopo, tkDetIdList,
149 {}, modulesInRingFront, modulesInRingBack, { 0, 0, 0, 1, 3, 5, 8, 10 });
152 return TkLayerMap(layer, 8, 8., 16., 80, 0., 80., tTopo, tkDetIdList,
153 {}, modulesInRingFront, modulesInRingBack, { 0, 0, 0, 0, 1, 3, 6, 8 });
164 "\n------------------------------------------" 165 "\nUnAvailable Service SiStripDetInfoFileReader: please insert in the configuration file an instance like" 166 "\n\tprocess.SiStripDetInfoFileReader = cms.Service(\"SiStripDetInfoFileReader\")" 167 "\n------------------------------------------";
170 const std::vector<uint32_t>& TkDetIdList = fr->
getAllDetIds();
173 tTopoRcd.
get(tTopoHandle);
176 auto tkDetMap = std::make_unique<TkDetMap>(tTopo);
178 LogTrace(
"TkDetMap") <<
"TkDetMap::constructor ";
181 tkDetMap->setLayerMap(layer, makeTkLayerMap(layer, tTopo, TkDetIdList));
TkDetMapESProducer(const edm::ParameterSet &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
const std::vector< uint32_t > & getAllDetIds() const
void get(HolderT &iHolder) const
std::unique_ptr< TkDetMap > produce(const TrackerTopologyRcd &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
T const * product() const
~TkDetMapESProducer() override