Skip to content

Commit c8e9072

Browse files
committed
correct clang errors
1 parent 6940507 commit c8e9072

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

Geometry/EcalCommonData/plugins/dd4hep/DDEcalPreshowerAlgo.cc

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -368,10 +368,6 @@ static long algorithm(dd4hep::Detector& /* description */, cms::DDParsingContext
368368
int scopy(0);
369369
double boxax(0.), boxay(0.), boxaz(0.);
370370
int ladd_not_plain(0), ladd_subtr_no(0), ladd_upper(0), ladd_side(0);
371-
// const string& nam,
372-
// double z, double theta, double phi,
373-
// double h1, double bl1, double tl1, double alpha1,
374-
// double h2, double bl2, double tl2, double alpha2)
375371
Solid solid_lfront = Trap("esalgo:LDRFRNT",
376372
es.ldrFrnt_Length / 2., // pDz
377373
-es.wedge_angle, // pTheta
@@ -461,8 +457,6 @@ static long algorithm(dd4hep::Detector& /* description */, cms::DDParsingContext
461457
const string& dd_tmp_name_5a("esalgo:" + es.ladPfx[2]);
462458
const string& dd_tmp_name_5b("esalgo:" + es.ladPfx[3] + to_string(enb));
463459
const string& dd_tmp_name_5c("esalgo:" + es.ladPfx[4] + to_string(enb));
464-
const string& dd_tmp_name_5d("esalgo:" + es.ladPfx[5] + to_string(enb));
465-
const string& dd_tmp_name_5e("esalgo:" + es.ladPfx[6]);
466460

467461
boxay = ladder_length - es.ldrFrnt_Length - es.ldrBck_Length;
468462
boxax = es.ladder_width;
@@ -562,9 +556,6 @@ static long algorithm(dd4hep::Detector& /* description */, cms::DDParsingContext
562556

563557
const string& dd_tmp_name_a("esalgo:" + es.ladPfx[7]);
564558
const string& dd_tmp_name_b("esalgo:" + es.ladPfx[8] + to_string(enb));
565-
const string& dd_tmp_name_c("esalgo:" + es.ladPfx[9] + to_string(enb));
566-
const string& dd_tmp_name_d("esalgo:" + es.ladPfx[10] + to_string(enb));
567-
const string& dd_tmp_name_e("esalgo:" + es.ladPfx[11]);
568559

569560
boxay = ladder_length - es.ldrFrnt_Length - es.ldrBck_Length;
570561
boxax = es.ladder_width;
@@ -602,9 +593,6 @@ static long algorithm(dd4hep::Detector& /* description */, cms::DDParsingContext
602593

603594
const string& dd_tmp_name_a("esalgo:" + es.ladPfx[7]);
604595
const string& dd_tmp_name_b("esalgo:" + es.ladPfx[8] + to_string(enb));
605-
const string& dd_tmp_name_c("esalgo:" + es.ladPfx[9] + to_string(enb));
606-
const string& dd_tmp_name_d("esalgo:" + es.ladPfx[10] + to_string(enb));
607-
const string& dd_tmp_name_e("esalgo:" + es.ladPfx[11]);
608596

609597
boxay = ladder_length - es.ldrFrnt_Length - es.ldrBck_Length;
610598
boxax = es.ladder_width;
@@ -641,8 +629,6 @@ static long algorithm(dd4hep::Detector& /* description */, cms::DDParsingContext
641629
const string& dd_tmp_name_a("esalgo:" + es.ladPfx[7]);
642630
const string& dd_tmp_name_b("esalgo:" + es.ladPfx[8] + to_string(enb));
643631
const string& dd_tmp_name_c("esalgo:" + es.ladPfx[9] + to_string(enb));
644-
const string& dd_tmp_name_d("esalgo:" + es.ladPfx[10] + to_string(enb));
645-
const string& dd_tmp_name_e("esalgo:" + es.ladPfx[11]);
646632

647633
boxay = ladder_length - es.ldrFrnt_Length - es.ldrBck_Length;
648634
boxax = es.ladder_width;

0 commit comments

Comments
 (0)