Skip to content

Commit 77eeb67

Browse files
committed
Fix xml for ETL v9/v10 to get the correct topology, add further MTDDetSector LogTrace statements
1 parent b0a2283 commit 77eeb67

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

Geometry/MTDCommonData/data/etl/v10/etl.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@
131131

132132
<!-- Vector section -->
133133

134-
<Vector name="StartCopyNo_Front_Disc_1" type="numeric" nEntries="27">
134+
<Vector name="StartCopyNo_Front_Disc_1" type="numeric" nEntries="27">
135135
1, 7, 21, 47, 79, 115, 153, 195, 237, 275, 309, 343, 377, 409, 439,
136-
471, 505, 541, 289, 578, 617, 701, 739, 773, 803, 827, 841
136+
471, 505, 541, 577, 617, 661, 701, 739, 773, 803, 827, 841
137137
</Vector>
138138

139139
<Vector name="StartCopyNo_Back_Disc_1" type="numeric" nEntries="27">

Geometry/MTDCommonData/data/etl/v9/etl.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@
131131

132132
<!-- Vector section -->
133133

134-
<Vector name="StartCopyNo_Front_Disc_1" type="numeric" nEntries="27">
134+
<Vector name="StartCopyNo_Front_Disc_1" type="numeric" nEntries="27">
135135
1, 7, 21, 47, 79, 115, 153, 195, 237, 275, 309, 343, 377, 409, 439,
136-
471, 505, 541, 289, 578, 617, 701, 739, 773, 803, 827, 841
136+
471, 505, 541, 577, 617, 661, 701, 739, 773, 803, 827, 841
137137
</Vector>
138138

139139
<Vector name="StartCopyNo_Back_Disc_1" type="numeric" nEntries="27">

RecoMTD/DetLayers/src/MTDDetSector.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,12 @@ vector<GeometricSearchDet::DetWithState> MTDDetSector::compatibleDets(const Traj
119119
bool isCompatible(true);
120120
size_t idetNew(idetMin);
121121
size_t closest = theDets.size();
122+
LogTrace("MTDDetLayers") << "MTDDetSector::compatibleDets, maximum size available " << closest;
122123

123124
while (isCompatible) {
124125
idetNew = vshift(theDets[idetNew]->geographicalId().rawId(), iside, closest);
126+
LogTrace("MTDDetLayers") << "MTDDetSector::compatibleDets, vshift iside " << iside << " idetNew " << idetNew
127+
<< " closest " << closest;
125128
if (idetNew >= theDets.size()) {
126129
if (closest < theDets.size()) {
127130
idetNew = closest;
@@ -134,6 +137,7 @@ vector<GeometricSearchDet::DetWithState> MTDDetSector::compatibleDets(const Traj
134137
compatibleDetsLine(idetNew, result, tsos, prop, est);
135138
}
136139
}
140+
LogTrace("MTDDetLayers") << "MTDDetSector::compatibleDets, exiting loop on vshift iside " << iside;
137141
}
138142
}
139143

0 commit comments

Comments
 (0)