Skip to content

Commit b3f6a1a

Browse files
committed
Make sure to start in the second element
1 parent 8a95ff0 commit b3f6a1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

DDRec/src/Surface.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,9 @@ namespace dd4hep {
740740

741741
//---- if the volSurface is not in the DetElement's volume, we need to mutliply the path to the volume to the
742742
// DetElements world transform
743-
for( const auto pvol : pVList ){
743+
for( auto it = std::next(pVList.begin()) ; it != pVList.end() ; ++it ) {
744744

745+
PlacedVolume pvol = *it ;
745746
TGeoMatrix* m = pvol->GetMatrix();
746747
// std::cout << " +++ matrix for placed volume : " << std::endl ;
747748
// m->Print() ;

0 commit comments

Comments
 (0)