Skip to content
Snippets Groups Projects
Commit be7bff74 authored by Petr Jacka's avatar Petr Jacka
Browse files

Changing inheratence: TFCSHistoLateralShapeParametrizationFCal inherits from...

Changing inheratence: TFCSHistoLateralShapeParametrizationFCal inherits from TFCSHistoLateralShapeParametrization


Former-commit-id: 67242fa524892a9fcff5c02d772a98bec388a6c3
parent a94e8b7f
No related branches found
No related tags found
No related merge requests found
......@@ -36,10 +36,7 @@ FCSReturnCode TFCSHistoLateralShapeParametrizationFCal::simulate_hit(Hit &hit, T
const int cs=calosample();
const double center_phi=0.5*( extrapol->phi(cs, CaloSubPos::SUBPOS_ENT) + extrapol->phi(cs, CaloSubPos::SUBPOS_EXT) );
const double center_r=0.5*( extrapol->r(cs, CaloSubPos::SUBPOS_ENT) + extrapol->r(cs, Ca
loSubPos::SUBPOS_EXT) );
const double center_r=0.5*( extrapol->r(cs, CaloSubPos::SUBPOS_ENT) + extrapol->r(cs, CaloSubPos::SUBPOS_EXT) );
const double center_z=0.5*( extrapol->z(cs, CaloSubPos::SUBPOS_ENT) + extrapol->z(cs, CaloSubPos::SUBPOS_EXT) );
const double center_x=center_r*cos(center_phi);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment