Skip to content

Commit

Permalink
Correct a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SwathiSasikumar committed Nov 6, 2023
1 parent 097743c commit 7889194
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ namespace det
dd4hep::rec::LayeredCalorimeterData::Layer caloLayer;
double nRadiationLengths = 0.;
double nInteractionLengths = 0.;
double thickness_sum = 0.;
double thickness_sen = 0.;
double absorberThickness = 0.;

double rad_first = Rmin;
Expand All @@ -624,8 +624,8 @@ namespace det
std::cout << "Scaling factor " << scale_fact << std::endl;
for (auto il = 0; il < layerHeight.size(); il++)
{
double thickness_sen = 0.;
double absorberThickness = 0.;
thickness_sen = 0.;
absorberThickness = 0.;

rad_last = rad_first + (layerHeight[il] * scale_fact);
dd4hep::rec::Vector3D ivr1 = dd4hep::rec::Vector3D(0., rad_first, 0); // defining starting vector points of the given layer
Expand Down Expand Up @@ -668,7 +668,6 @@ namespace det
caloLayer.outer_nRadiationLengths = value_of_x0 / 2.0;
caloLayer.outer_nInteractionLengths = value_of_lambda / 2.0;
caloLayer.outer_thickness = difference_bet_r1r2 / 2;
;
caloLayer.absorberThickness = absorberThickness;
caloLayer.cellSize0 = 2;
caloLayer.cellSize1 = 2;
Expand Down

0 comments on commit 7889194

Please sign in to comment.