diff --git a/Geometry/TrackerNumberingBuilder/plugins/CmsTrackerPhase1DiskBuilder.cc b/Geometry/TrackerNumberingBuilder/plugins/CmsTrackerPhase1DiskBuilder.cc index 5f31415b14711..99e6663a3c557 100644 --- a/Geometry/TrackerNumberingBuilder/plugins/CmsTrackerPhase1DiskBuilder.cc +++ b/Geometry/TrackerNumberingBuilder/plugins/CmsTrackerPhase1DiskBuilder.cc @@ -26,8 +26,6 @@ CmsTrackerPhase1DiskBuilder::PhiPosNegSplit_innerOuter( std::vector< GeometricDe // now put positive phi (in order) ahead of negative phi as in std geometry std::vector theCompsPosNeg; - theCompsPosNeg.empty(); - theCompsPosNeg.clear(); // also find the average radius (used to split inner and outer disk panels) double theRmin = (**begin).rho(); double theRmax = theRmin; @@ -47,8 +45,6 @@ CmsTrackerPhase1DiskBuilder::PhiPosNegSplit_innerOuter( std::vector< GeometricDe // force the split radius to be 100 mm to be able to deal with disks with only outer ring double radius_split = 100.; std::vector theCompsInnerOuter; - theCompsInnerOuter.empty(); - theCompsInnerOuter.clear(); unsigned int num_inner = 0; for(vector::const_iterator it=theCompsPosNeg.begin(); it!=theCompsPosNeg.end();it++){ diff --git a/Geometry/TrackerNumberingBuilder/plugins/CmsTrackerPhase2TPDiskBuilder.cc b/Geometry/TrackerNumberingBuilder/plugins/CmsTrackerPhase2TPDiskBuilder.cc index 89635baa65bda..9d5fedda2db4f 100644 --- a/Geometry/TrackerNumberingBuilder/plugins/CmsTrackerPhase2TPDiskBuilder.cc +++ b/Geometry/TrackerNumberingBuilder/plugins/CmsTrackerPhase2TPDiskBuilder.cc @@ -26,8 +26,6 @@ CmsTrackerPhase2TPDiskBuilder::PhiPosNegSplit_innerOuter( std::vector< Geometric // now put positive phi (in order) ahead of negative phi as in std geometry std::vector theCompsPosNeg; - theCompsPosNeg.empty(); - theCompsPosNeg.clear(); // also find the average radius (used to split inner and outer disk panels) double theRmin = (**begin).rho(); double theRmax = theRmin; @@ -47,8 +45,6 @@ CmsTrackerPhase2TPDiskBuilder::PhiPosNegSplit_innerOuter( std::vector< Geometric // force the split radius to be 100 mm to be able to deal with disks with only outer ring double radius_split = 100.; std::vector theCompsInnerOuter; - theCompsInnerOuter.empty(); - theCompsInnerOuter.clear(); unsigned int num_inner = 0; for(vector::const_iterator it=theCompsPosNeg.begin(); it!=theCompsPosNeg.end();it++){